LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

ItemSelectedForeground Property






Gets or sets the brush used to draw the selected items foreground (text). .NET support Silverlight support
Syntax
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to display the text of selected items.")]
public Brush ItemSelectedForeground {get; set;}
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The color used to display the text of selected items.")>
Public Property ItemSelectedForeground As Brush
'Usage
 
Dim instance As ImageList
Dim value As Brush
 
instance.ItemSelectedForeground = value
 
value = instance.ItemSelectedForeground
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to display the text of selected items.")]
public Brush ItemSelectedForeground {get; set;}
CategoryAttribute("Appearance")
DescriptionAttribute("The color used to display the text of selected items.")
 get_ItemSelectedForeground();
set_ItemSelectedForeground(value);
[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.
Remarks

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

Example

For XAML example, refer to ItemBorderThickness.

For C#/VB examples, refer to ItemBorderThickness.

Requirements

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

See Also

Reference

ImageList Class
ImageList Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.