Leadtools.WinForms Namespace > RasterImageList Class : ItemImageBorderStyle Property |
[DescriptionAttribute("Border type to draw around each image in the item.")] [CategoryAttribute("Appearance")] public BorderStyle ItemImageBorderStyle {get; set;}
'Declaration <DescriptionAttribute("Border type to draw around each image in the item.")> <CategoryAttribute("Appearance")> Public Property ItemImageBorderStyle As BorderStyle
'Usage Dim instance As RasterImageList Dim value As BorderStyle instance.ItemImageBorderStyle = value value = instance.ItemImageBorderStyle
[DescriptionAttribute("Border type to draw around each image in the item.")] [CategoryAttribute("Appearance")] public: property BorderStyle ItemImageBorderStyle { BorderStyle get(); void set ( BorderStyle value); }
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.