Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Private Sub Button33_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button33.Click
' Set the CellMultiLine on the layout's Override to True. All cells in the UltraGrid
' will be multiline.
Me.UltraGrid1.DisplayLayout.Override.CellMultiLine = DefaultableBoolean.True
' You can override that grid-wide setting for a particular band by setting it on the
' override of that band.
Me.UltraGrid1.DisplayLayout.Bands(0).Override.CellMultiLine = DefaultableBoolean.False
' You can also set CellMultiLine for a particular column so only cells in this
' column will be multiline.
Me.UltraGrid1.DisplayLayout.Bands(0).Columns(0).CellMultiLine = DefaultableBoolean.True
End Sub