Xceed Grid for WinForms v4.3 Documentation
MaxHeight Property (Row)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > Row Class : MaxHeight Property
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

Reference

Row Class
Row Members
ResetMaxHeight Method
DefaultMaxHeight Property