←Select platform

ItemForeColor Property

Summary

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

Syntax

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

Property Value

The foreground color of the un-selected items in this RasterImageList

Remarks

How the ItemForeColor value is used to draw the items depends on the current ViewStyle. The following table lists all the cases:

ViewStyle Description
RasterImageListViewStyle.Normal Draw the text of un-selected items.
RasterImageListViewStyle.Explorer Draw the text of un-selected items.
RasterImageListViewStyle.Button Draw the text of all items.

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.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly