FlexGrid for WinForms
Height Property



Gets or sets the height of this row, in pixels (the value -1 represents the default row height).
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property Height As Integer
'Usage
 
Dim instance As Row
Dim value As Integer
 
instance.Height = value
 
value = instance.Height
[DefaultValue()]
public int Height {get; set;}
[DefaultValue()]
public:
property int Height {
   int get();
   void set (    int value);
}
Remarks

Setting this property to -1 causes the grid to use the default row height for this row (see the RowColCollection.DefaultSize property).

Height returns the height assigned to the row even if the row is invisible, and returns -1 if the row has the default height. To obtain the actual display height of a row, use the HeightDisplay property.

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

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback