Visual Basic (Declaration) | |
---|---|
<DescriptionAttribute("The color used to fill the background of selected items.")> <CategoryAttribute("Appearance")> Public Property ItemSelectedBackColor As Color |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterImageList Dim value As Color instance.ItemSelectedBackColor = value value = instance.ItemSelectedBackColor |
C# | |
---|---|
[DescriptionAttribute("The color used to fill the background of selected items.")] [CategoryAttribute("Appearance")] public Color ItemSelectedBackColor {get; set;} |
C++/CLI | |
---|---|
[DescriptionAttribute("The color used to fill the background of selected items.")] [CategoryAttribute("Appearance")] public: property Color ItemSelectedBackColor { Color get(); void set ( Color value); } |
Property Value
The item background color of the selected items in this RasterImageListFor an example, refer to ItemBorderStyle
How the ItemSelectedBackColor value is used to draw the items depends on the current ViewStyle. The following table lists all the cases:
ViewStyle | Description |
---|---|
RasterImageListViewStyle.Normal | Fills the background of selected items. |
RasterImageListViewStyle.Explorer | When an item is selected, this color is used to fill the background behind the text of the item and to draw a rectangle around the image. |
RasterImageListViewStyle.Button | Not used. |
For more information about item appearance, refer to RasterImageList Appearance.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7