This member is available in the WPF Express Edition. See the LEADTOOLS products page for full details on more WPF features available with LEADTOOLS toolkits.
Gets or sets the foreground color of the selected items in this ImageList. This is a dependency property.Visual Basic (Declaration) | |
---|---|
Public Property ItemSelectedForeground As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Brush ItemSelectedForeground {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property Brush get_ItemSelectedForeground(); public: __property void set_ItemSelectedForeground( Brush value ); |
XAML | |
---|---|
For XAML information, see the Brush type. |
Dependency Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | None |
Return Value
The foreground color of the selected items in this ImageListFor C#/VB examples, refer to ItemBorderBrush.
How the ItemSelectedForeground value is used to draw the items depends on the current ViewStyle. The following table lists all the cases:
ViewStyle | Description |
---|---|
ImageListViewStyle.Normal | Fills the background of the selected items. |
ImageListViewStyle.Explorer | Draws the text of selected items as well as a rectangle around the image of selected items. |
ImageListViewStyle.Button | Not used. |
For more information about item appearance, refer to ImageList Appearance.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family