Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
ItemSelectedBackColor Property
See Also 
Leadtools.WinForms Namespace > RasterImageList Class : ItemSelectedBackColor Property




Gets or sets the item background color of the selected items in this RasterImageList.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("The color used to fill the background of selected items.")>
<CategoryAttribute("Appearance")>
Public Property ItemSelectedBackColor As Color
Visual Basic (Usage)Copy Code
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;}
Managed Extensions for C++ 
[DescriptionAttribute("The color used to fill the background of selected items.")]
[CategoryAttribute("Appearance")]
public: __property Color get_ItemSelectedBackColor();
public: __property void set_ItemSelectedBackColor( 
   Color value
);
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);
}

Return Value

The item background color of the selected items in this RasterImageList

Example

For an example, refer to ItemBorderStyle

Remarks

How the ItemSelectedBackColor value is used to draw the items depends on the current ViewStyle. The following table lists all the cases:
ViewStyleDescription
RasterImageListViewStyle.NormalFills the background of selected items.
RasterImageListViewStyle.ExplorerWhen 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.ButtonNot used.

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

Requirements

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

See Also