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


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

    Property Value

    A value representing the maximum height of the row in pixels. If -1, then there is no maximum height.
    Remarks

    To reset the value of the MaxHeight property to its default value, DefaultMaxHeight, the ResetMaxHeight method must be called.

    If the value of the MaxHeight property becomes smaller than the value of the MinHeight property, then MinHeight will become equal to MaxHeight. If the value of the Height property becomes larger than MaxHeight, then Height will become equal to MaxHeight.
    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