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

ItemForeColor Property (RasterThumbnailBrowser)






Gets or sets the foreground color of the un-selected items in this RasterImageList
Syntax
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to display the text of un-selected item.")]
public Color ItemForeColor {get; set;}
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The color used to display the text of un-selected item.")>
Public Property ItemForeColor As Color
'Usage
 
Dim instance As RasterThumbnailBrowser
Dim value As Color
 
instance.ItemForeColor = value
 
value = instance.ItemForeColor
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to display the text of un-selected item.")]
public Color ItemForeColor {get; set;}
CategoryAttribute("Appearance")
DescriptionAttribute("The color used to display the text of un-selected item.")
 get_ItemForeColor();
set_ItemForeColor(value);
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to display the text of un-selected item.")]
public:
property Color ItemForeColor {
   Color get();
   void set (    Color value);
}

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: 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

RasterThumbnailBrowser Class
RasterThumbnailBrowser Members

 

 


Products | Support | Contact Us | Copyright Notices

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