LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

ItemSelectedBackColor Property (RasterImageList)






Gets or sets the item background color of the selected items in this RasterImageList.
Syntax
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of selected items.")]
public Color ItemSelectedBackColor {get; set;}
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The color used to fill the background of selected items.")>
Public Property ItemSelectedBackColor As Color
'Usage
 
Dim instance As RasterImageList
Dim value As Color
 
instance.ItemSelectedBackColor = value
 
value = instance.ItemSelectedBackColor
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of selected items.")]
public Color ItemSelectedBackColor {get; set;}
CategoryAttribute("Appearance")
DescriptionAttribute("The color used to fill the background of selected items.")
 get_ItemSelectedBackColor();
set_ItemSelectedBackColor(value);
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to fill the background of selected items.")]
public:
property Color ItemSelectedBackColor {
   Color get();
   void set (    Color value);
}

Property Value

The item background color of the selected items in this RasterImageList
Remarks

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.

Example
For an example, refer to ItemBorderStyle
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImageList Class
RasterImageList Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.