Version

WrapHeaderText Property

Gets/sets a value which indicates whether headers in the grid will automatically wrap their text and adjust their height, if necessary. Note, this property is not honored if Row Layout mode is being used.
Syntax
'Declaration
 
Public Property WrapHeaderText As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean WrapHeaderText {get; set;}
Example
This snippet demonstrates how the captions in column headers can automatically be wrapped onto multiple lines if their width exceeds the width of their respective column header.

Private Sub SetupGrid()
   Me.ultraGrid1.DisplayLayout.Override.WrapHeaderText = Infragistics.Win.DefaultableBoolean.True
End Sub
private void SetupGrid()
{
	this.ultraGrid1.DisplayLayout.Override.WrapHeaderText = Infragistics.Win.DefaultableBoolean.True;
}
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