LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ItemImageBorderStyle Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : ItemImageBorderStyle Property



Gets or sets the border style to draw around the image of an RasterImageListItem in the control.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Border type to draw around each image in the item.")>
<CategoryAttribute("Appearance")>
Public Property ItemImageBorderStyle As BorderStyle
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As BorderStyle
 
instance.ItemImageBorderStyle = value
 
value = instance.ItemImageBorderStyle
C# 
[DescriptionAttribute("Border type to draw around each image in the item.")]
[CategoryAttribute("Appearance")]
public BorderStyle ItemImageBorderStyle {get; set;}
C++/CLI 
[DescriptionAttribute("Border type to draw around each image in the item.")]
[CategoryAttribute("Appearance")]
public:
property BorderStyle ItemImageBorderStyle {
   BorderStyle get();
   void set (    BorderStyle value);
}

Property Value

A BorderStyle enumeration that specifies the border to draw around the image of an RasterImageListItem in the control.

Example

For an example, refer to ItemBorderStyle

Remarks

The ItemImageBorderStyle 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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also