Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / Row Class / DefaultHeight Property


In This Topic
    DefaultHeight Property
    In This Topic
    Gets the default value of the Height property.
    Syntax
    'Declaration
     
    Protected Overridable ReadOnly Property DefaultHeight As Integer
    'Usage
     
    Dim instance As Row
    Dim value As Integer
     
    value = instance.DefaultHeight
    protected virtual int DefaultHeight {get;}

    Property Value

    A value representing the default value of the Height property. The default height of a row is directly related to the AutoHeightMode property. Unless overridden, if the AutoHeight property is set to AutoHeightMode.None the height if the row is set to 17 (pixels); otherwise, GetFittedHeight( mode ) is returned.
    Remarks

    When overriding DefaultHeight in a derived class, 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