Leadtools.Windows.Controls Namespace > ImageListItem Class : SelectedForeground Property |
[DescriptionAttribute("The color used to display the text of selected items.")] [CategoryAttribute("Appearance")] public Brush SelectedForeground {get; set;}
'Declaration <DescriptionAttribute("The color used to display the text of selected items.")> <CategoryAttribute("Appearance")> Public Property SelectedForeground As Brush
'Usage Dim instance As ImageListItem Dim value As Brush instance.SelectedForeground = value value = instance.SelectedForeground
[DescriptionAttribute("The color used to display the text of selected items.")] [CategoryAttribute("Appearance")] public: property Brush^ SelectedForeground { Brush^ get(); void set ( Brush^ value); }
Use the Foreground property to define the brush used to draw the item text set in the Text property.
Use the ImageListItem.SelectedForeground dependency property to set the brush used to draw the text of the selected item.