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


In This Topic
    Height Property (Row)
    In This Topic
    Gets or sets the height of the row in pixels.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The height of the row in pixels.")>
    <CategoryAttribute("Appearance")>
    <AmbientValueAttribute(-2147483648)>
    <LocalizableAttribute(True)>
    <ApplyToDesignerAttribute(True)>
    Public Property Height As Integer
    'Usage
     
    Dim instance As Row
    Dim value As Integer
     
    instance.Height = value
     
    value = instance.Height
    [Description("The height of the row in pixels.")]
    [Category("Appearance")]
    [AmbientValue(-2147483648)]
    [Localizable(true)]
    [ApplyToDesigner(true)]
    public int Height {get; set;}

    Property Value

    A value representing the height of the row in pixels. Must be greater than zero.
    Remarks

    In order for a row to have a fixed height, the MinHeight and MaxHeight properties must be set to the same value.

    To prevent the row from being resized at run-time, the RowSelectorPane.AllowRowResize property must be set to false.

    To reset the value of the Height property to its default value, DefaultHeight, the ResetHeight method must be called.

    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