Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridElementStyle Class / BackColor Property


In This Topic
    BackColor Property (GridElementStyle)
    In This Topic
    Gets or sets the background color of the grid element.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The background color of the grid element.")>
    <CategoryAttribute("Appearance")>
    <XmlIgnoreAttribute()>
    <ApplyToDesignerAttribute(True)>
    Public Property BackColor As Color
    'Usage
     
    Dim instance As GridElementStyle
    Dim value As Color
     
    instance.BackColor = value
     
    value = instance.BackColor
    [Description("The background color of the grid element.")]
    [Category("Appearance")]
    [XmlIgnore()]
    [ApplyToDesigner(true)]
    public Color BackColor {get; set;}

    Property Value

    A System.Drawing.Color structure representing the background color to use.
    Remarks

    If set to System.Drawing.Color.Empty, the parent's color is used.

    To reset the value of the BackColor property to its default value, DefaultBackColor, the ResetBackColor method must be called.

    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