←Select platform

ItemSelectedBackColor Property

Summary

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

Syntax

C#
VB
C++
public Color ItemSelectedBackColor { get; set; } 
Public Property ItemSelectedBackColor As Color 
public: 
property Color ItemSelectedBackColor { 
   Color get(); 
   void set (    Color ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly