Leadtools.Windows.Controls Namespace > ImageList Class : ItemForeground Property |
[CategoryAttribute("Appearance")] [DescriptionAttribute("The color used to display the text of selected items.")] public Brush ItemForeground {get; set;}
'Declaration <CategoryAttribute("Appearance")> <DescriptionAttribute("The color used to display the text of selected items.")> Public Property ItemForeground As Brush
'Usage Dim instance As ImageList Dim value As Brush instance.ItemForeground = value value = instance.ItemForeground
[CategoryAttribute("Appearance")] [DescriptionAttribute("The color used to display the text of selected items.")] public Brush ItemForeground {get; set;}
CategoryAttribute("Appearance") DescriptionAttribute("The color used to display the text of selected items.") get_ItemForeground();
set_ItemForeground(value);
[CategoryAttribute("Appearance")] [DescriptionAttribute("The color used to display the text of selected items.")] public: property Brush^ ItemForeground { Brush^ get(); void set ( Brush^ value); }
Use the ItemForeground property to define the brush used to draw the text of each item.
Changing this property will make this control loop through all the items and setting IImageListItem.Foreground accordingly.
For XAML example, refer to ItemBorderBrush.
For C#/VB examples, refer to ItemBorderBrush.
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