Xceed Grid for WinForms v4.3 Documentation
AmbientBackColor Property (VisualGridElement)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > VisualGridElement Class : AmbientBackColor Property
Gets the ambient value of the visual grid element's BackColor property.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property AmbientBackColor As Color
'Usage
 
Dim instance As VisualGridElement
Dim value As Color
 
value = instance.AmbientBackColor
protected override Color AmbientBackColor {get;}

Property Value

A System.Drawing.Color structure representing the ambient background color of the grid element.
Remarks

The ambient background color is the background color inherited from the grid element's parent in the case where its own BackColor property is not explicitly set.

If the value of the IsBackColorAmbient property is true then both the AmbientBackColor and BackColor properties will return the same value.

If the grid element does not have an ambient parent, then the value of the DefaultBackColor property will be returned.

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

VisualGridElement Class
VisualGridElement Members
Base Implementation in AmbientBackColor