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


In This Topic
    DefaultFont Property (GridElementStyle)
    In This Topic
    Gets the default value of the Font property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property DefaultFont As Font
    'Usage
     
    Dim instance As GridElementStyle
    Dim value As Font
     
    value = instance.DefaultFont
    protected virtual Font DefaultFont {get;}

    Property Value

    A boolean value representing the default value of the Font property. Unless overridden, a null reference (Nothing in Visual Basic).
    Remarks

    When overriding DefaultFont in a derived class, a static Font object should be used and the value returned by your implementation should not be dynamic.

    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