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



Gets or sets the brush used to draw the text of this item Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Property Foreground As Brush
Visual Basic (Usage)Copy Code
Dim instance As IImageListItem
Dim value As Brush
 
instance.Foreground = value
 
value = instance.Foreground
C# 
Brush Foreground {get; set;}
C++/CLI 
property Brush^ Foreground {
   Brush^ get();
   void set (    Brush^ value);
}

Property Value

A System.Windows.Media.Brush object that is used to draw the text of this item.

Example

For C#/VB examples, refer to IImageListItem.

Remarks

Use the Foreground property to define the brush used to draw the item text set in the Text property.

Requirements

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

See Also