←Select platform

ItemBackColor Property (RasterImageList)

Summary

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

Syntax

C#
VB
C++
[DescriptionAttribute("The color used to fill the background of un-selected items.")] 
[CategoryAttribute("Appearance")] 
public Color ItemBackColor {get; set;} 
<DescriptionAttribute("The color used to fill the background of un-selected items.")> 
<CategoryAttribute("Appearance")> 
Public Property ItemBackColor As Color 
[DescriptionAttribute("The color used to fill the background of un-selected items.")] 
[CategoryAttribute("Appearance")] 
public: 
property Color ItemBackColor { 
   Color get(); 
   void set (    Color ); 
} 

Property Value

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

Remarks

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

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

Example

For an example, refer to ItemBorderStyle

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize