Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.Controls.v3.6 Assembly / Xceed.SmartUI.Controls.StatusBar Namespace / Panel Class / BackColor Property


In This Topic
    BackColor Property (Panel)
    In This Topic
    Gets or sets the background color of the SmartItem.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The background color of the SmartItem.")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(System.Drawing.Color, "Transparent")>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(True)>
    <LocalizableAttribute(False)>
    Public Property BackColor As Color
    'Usage
     
    Dim instance As Panel
    Dim value As Color
     
    instance.BackColor = value
     
    value = instance.BackColor
    [Description("The background color of the SmartItem.")]
    [Category("Appearance")]
    [DefaultValue(System.Drawing.Color, "Transparent")]
    [Browsable(true)]
    [MergableProperty(true)]
    [Localizable(false)]
    public Color BackColor {get; set;}

    Property Value

    A System.Drawing.Color structure representing the background 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