Visual Basic (Declaration) | |
---|---|
<CategoryAttribute("Appearance")> <DescriptionAttribute("Border type to draw around each image in the item.")> Public Property ItemImageBorderStyle As BorderStyle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[CategoryAttribute("Appearance")] [DescriptionAttribute("Border type to draw around each image in the item.")] public BorderStyle ItemImageBorderStyle {get; set;} |
Managed Extensions for C++ | |
---|---|
[CategoryAttribute("Appearance")] [DescriptionAttribute("Border type to draw around each image in the item.")] public: __property BorderStyle get_ItemImageBorderStyle(); public: __property void set_ItemImageBorderStyle( BorderStyle value ); |
C++/CLI | |
---|---|
[CategoryAttribute("Appearance")] [DescriptionAttribute("Border type to draw around each image in the item.")] public: property BorderStyle ItemImageBorderStyle { BorderStyle get(); void set (BorderStyle value); } |
Return Value
A BorderStyle enumeration that specifies the border to draw around the image of an RasterImageListItem in the control.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family