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


In This Topic
    OverForeColor Property
    In This Topic
    Gets or sets the foreground color of the SmartItem when the mouse passes over it.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The foreground color of the SmartItem when the mouse passes over it.")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(System.Drawing.Color, "")>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(True)>
    <LocalizableAttribute(False)>
    <TypeConverterAttribute("Xceed.SmartUI.Design.OtherColorConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.25208.5768, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")>
    Public Property OverForeColor As Color
    'Usage
     
    Dim instance As SmartItem
    Dim value As Color
     
    instance.OverForeColor = value
     
    value = instance.OverForeColor
    [Description("The foreground color of the SmartItem when the mouse passes over it.")]
    [Category("Appearance")]
    [DefaultValue(System.Drawing.Color, "")]
    [Browsable(true)]
    [MergableProperty(true)]
    [Localizable(false)]
    [TypeConverter("Xceed.SmartUI.Design.OtherColorConverter, Xceed.SmartUI.v3.6.Design, Version=3.6.25208.5768, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")]
    public Color OverForeColor {get; set;}

    Property Value

    A System.Drawing.Color structure representing the foreground color of the SmartItem when the mouse passes over it.
    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