←Select platform

ItemSelectedForeground Property

Summary

Gets or sets the brush used to draw the selected items foreground (text).

Syntax

C#
VB
C++
[DescriptionAttribute("The color used to display the text of selected items.")] 
[CategoryAttribute("Appearance")] 
public Brush ItemSelectedForeground {get; set;} 
<DescriptionAttribute("The color used to display the text of selected items.")> 
<CategoryAttribute("Appearance")> 
Public Property ItemSelectedForeground As Brush 
[DescriptionAttribute("The color used to display the text of selected items.")] 
[CategoryAttribute("Appearance")] 
public: 
property Brush^ ItemSelectedForeground { 
   Brush^ get(); 
   void set (    Brush^ ); 
} 

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

See Also

Reference

ImageList Class

ImageList Members

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Controls Assembly
Click or drag to resize