LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ItemSelectedForeground Property
See Also 
Leadtools.Windows.Controls Namespace > ImageList Class : ItemSelectedForeground Property



Gets or sets the brush used to draw the selected items foreground (text). Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The color used to display the text of selected items.")>
Public Property ItemSelectedForeground As Brush
Visual Basic (Usage)Copy Code
Dim instance As ImageList
Dim value As Brush
 
instance.ItemSelectedForeground = value
 
value = instance.ItemSelectedForeground
C# 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to display the text of selected items.")]
public Brush ItemSelectedForeground {get; set;}
C++/CLI 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to display the text of selected items.")]
public:
property Brush^ ItemSelectedForeground {
   Brush^ get();
   void set (    Brush^ value);
}

Property Value

A System.Windows.Media.Brush that used to draw the selected items foreground (text). Default value is a System.Windows.Media.SolidColorBrush of System.Windows.SystemColors.HighlightTextColor.

Example

For XAML example, refer to ItemBorderThickness.

For C#/VB examples, refer to ItemBorderThickness.

Remarks

Changing this property will make this control loop through all the items and setting the ImageListItem.SelectedForeground accordingly.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also