Xceed SmartUI for WinForms v3.6 Documentation
ForeColor Property (SmartItem)


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItem Class : ForeColor Property
Gets or sets the foreground color of the SmartItem.
Syntax
'Declaration
 
<DescriptionAttribute("The foreground color of the SmartItem.")>
<CategoryAttribute("Appearance")>
<BrowsableAttribute(True)>
<MergablePropertyAttribute(True)>
<LocalizableAttribute(False)>
<TypeConverterAttribute("Xceed.SmartUI.Design.ForeColorConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.17407.00005, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")>
Public Property ForeColor As Color
'Usage
 
Dim instance As SmartItem
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
[Description("The foreground color of the SmartItem.")]
[Category("Appearance")]
[Browsable(true)]
[MergableProperty(true)]
[Localizable(false)]
[TypeConverter("Xceed.SmartUI.Design.ForeColorConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.17407.00005, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")]
public Color ForeColor {get; set;}

Property Value

A System.Drawing.Color structure representing the foreground color of the SmartItem.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SmartItem Class
SmartItem Members