Version

Height Property (ColumnHeader)

Returns the height of the column header.
Syntax
'Declaration
 
Public Overrides NotOverridable ReadOnly Property Height As Integer
public override int Height {get;}
Remarks

The Height property is used to determine the vertical dimension of an object. It is generally expressed in the scale mode of the object's container, but can also be specified in pixels.

For a Header object, this property is read-only. In a particular band, each column header has the same height. This height is determined by taking the largest height that results from the resolution of each column's header's Appearance attributes and the band's ColHeaderLines property.

If you are using the Row-Layout functionality then then height of the header can be controlled using the RowLayoutColumnInfo.PreferredLabelSize property.

If you want to auto-wrap the header caption if the width is not sufficient to fully display the caption then set the UltraGridOverride.WrapHeaderText property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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