←Select platform

Foreground Property

Summary

Gets or sets the brush used to draw the text of this item

Syntax

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

Property Value

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

Remarks

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

Example

For C#/VB examples, refer to IImageListItem.

Requirements

Target Platforms

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