←Select platform

ItemForeground Property

Summary

Gets or sets brush used to draw the foreground (text) of the items in this control.

Syntax

C#
VB
C++
public Brush ItemForeground { get; set; } 
Public Property ItemForeground As Brush 
public: 
property Brush^ ItemForeground { 
   Brush^ get(); 
   void set (    Brush^ ); 
} 

Property Value

A System.Windows.Media.Brush object that is used to draw the foreground (text) of the items in this control. Default value is a System.Windows.Media.SolidColorBrush of System.Windows.SystemColors.ControlTextColor.

Remarks

Use the ItemForeground property to define the brush used to draw the text of each item.

Changing this property will make this control loop through all the items and setting IImageListItem.Foreground accordingly.

Example

For XAML example, refer to ItemBorderBrush.

For C#/VB examples, refer to ItemBorderBrush.

Requirements

Target Platforms

See Also

Reference

ImageList Class

ImageList Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly