Xceed Grid for WinForms v4.3 Documentation
AmbientFont Property (Cell)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > Cell Class : AmbientFont Property
Gets the ambient value of the cell's Font property.
Syntax
'Declaration
 
Protected Overrides ReadOnly Property AmbientFont As Font
'Usage
 
Dim instance As Cell
Dim value As Font
 
value = instance.AmbientFont
protected override Font AmbientFont {get;}

Property Value

A reference to a System.Drawing.Font object representing the ambient font of the Cell.
Remarks

The ambient font is the font inherited from the Cell's parent in the case where its own Font property is not explicitly set.

If the value of the GridElement.IsFontAmbient property is true then both the AmbientFont and Font properties will return the same value.

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

Cell Class
Cell Members
Base Implementation in AmbientFont