'Declaration Protected Overridable ReadOnly Property AmbientForeColor As Color
'Usage Dim instance As GridElement Dim value As Color value = instance.AmbientForeColor
protected virtual Color AmbientForeColor {get;}
'Declaration Protected Overridable ReadOnly Property AmbientForeColor As Color
'Usage Dim instance As GridElement Dim value As Color value = instance.AmbientForeColor
protected virtual Color AmbientForeColor {get;}
The ambient foreground color is the forecolor inherited from the grid element's parent in the case where its own ForeColor property is not explicitly set.
If the value of the IsForeColorAmbient property is true then both the AmbientForeColor and ForeColor properties will return the same value.
If the grid element does not have an ambient parent, then the value of the DefaultForeColor property will be returned.
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