Xceed Grid for WinForms v4.3 Documentation
BackColor Property (GridElement)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridElement Class : BackColor Property
Gets or sets the background color of the grid element.
Syntax
'Declaration
 
<DescriptionAttribute("The background color of the grid element.")>
<CategoryAttribute("Appearance")>
<ApplyToDesignerAttribute(True)>
Public Property BackColor As Color
'Usage
 
Dim instance As GridElement
Dim value As Color
 
instance.BackColor = value
 
value = instance.BackColor
[Description("The background color of the grid element.")]
[Category("Appearance")]
[ApplyToDesigner(true)]
public Color BackColor {get; set;}

Property Value

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

If the IsBackColorAmbient property returns true, then the value of the BackColor property is inherited from its parent.

To reset the value of the BackColor property to its default value, DefaultBackColor, the ResetBackColor method must be called or System.Drawing.Color.Empty assigned to the BackColor property.

In the case where the WindowsXP theme is applied to the grid, the values of certain properties, such as BackColor, will not be applied to themed elements such as the ColumnManagerRow and RowSelectorPane.

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

GridElement Class
GridElement Members