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