Leadtools.Windows.Controls Namespace > ImageList Class : ItemForeground Property |
[DescriptionAttribute("The color used to display the text of selected items.")] [CategoryAttribute("Appearance")] public Brush ItemForeground {get; set;}
'Declaration <DescriptionAttribute("The color used to display the text of selected items.")> <CategoryAttribute("Appearance")> Public Property ItemForeground As Brush
'Usage Dim instance As ImageList Dim value As Brush instance.ItemForeground = value value = instance.ItemForeground
[DescriptionAttribute("The color used to display the text of selected items.")] [CategoryAttribute("Appearance")] 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.