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




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

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The color used to fill the background of un-selected items.")>
Public Property ItemBackColor As Color
Visual Basic (Usage)Copy Code
Dim instance As RasterImageList
Dim value As Color
 
instance.ItemBackColor = value
 
value = instance.ItemBackColor
C# 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of un-selected items.")]
public Color ItemBackColor {get; set;}
Managed Extensions for C++ 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of un-selected items.")]
public: __property Color get_ItemBackColor();
public: __property void set_ItemBackColor( 
   Color value
);
C++/CLI 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of un-selected items.")]
public:
property Color ItemBackColor {
   Color get();
   void set (Color value);
}

Return Value

The item background color of the un-selected items in this RasterImageList

Example

For an example, refer to ItemBorderStyle

Remarks

How the ItemBackColor 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 un-selected items.
RasterImageListViewStyle.ExplorerNot used.
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