Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / ForeColor Property


In This Topic
    ForeColor Property (SmartItem)
    In This Topic
    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.25208.5768, 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.25208.5768, 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