LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

ItemBorderStyle Property (RasterThumbnailBrowser)






Gets or sets the border style to draw around the RasterImageListItem in the control.
Syntax
[DescriptionAttribute("Border type to draw around each item.")]
[CategoryAttribute("Appearance")]
public BorderStyle ItemBorderStyle {get; set;}
'Declaration
 
<DescriptionAttribute("Border type to draw around each item.")>
<CategoryAttribute("Appearance")>
Public Property ItemBorderStyle As BorderStyle
'Usage
 
Dim instance As RasterThumbnailBrowser
Dim value As BorderStyle
 
instance.ItemBorderStyle = value
 
value = instance.ItemBorderStyle
[DescriptionAttribute("Border type to draw around each item.")]
[CategoryAttribute("Appearance")]
public BorderStyle ItemBorderStyle {get; set;}
DescriptionAttribute("Border type to draw around each item.")
CategoryAttribute("Appearance")
 get_ItemBorderStyle();
set_ItemBorderStyle(value);
[DescriptionAttribute("Border type to draw around each item.")]
[CategoryAttribute("Appearance")]
public:
property BorderStyle ItemBorderStyle {
   BorderStyle get();
   void set (    BorderStyle value);
}

Property Value

A BorderStyle enumeration that specifies the border to draw around the RasterImageListItem in the control.
Remarks

The ItemBorderStyle property is only supported when the value of the ViewStyle is set to RasterImageListViewStyle.Normal

When changing any of the item sizes or styles, you should pay special attention to the values you specify, in general, you should setup ItemSize to be large enough to accommodate ItemImageSize plus room for ItemBorderStyle and ItemImageBorderStyle. If you set the ShowItemText property to true, then you should also accommodate room for the item text in your calculations.

For more information about item appearance, refer to RasterImageList Appearance.

Example
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterThumbnailBrowser Class
RasterThumbnailBrowser Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.