Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Private Sub UltraGrid1_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles UltraGrid1.InitializeLayout
' CellDisplayStyle can be set on the layout's Override in which case it
' will effect the whole grid.
e.Layout.Override.CellDisplayStyle = CellDisplayStyle.PlainText
' It can be set on the override of a band in which case it will effect
' only that band.
e.Layout.Bands(0).Override.CellDisplayStyle = CellDisplayStyle.PlainText
' It can also be set on a column in which case it will effect only that
' column.
e.Layout.Bands(0).Columns(0).CellDisplayStyle = CellDisplayStyle.FullEditorDisplay
' It can be also set on an individual cell.
Dim cell As UltraGridCell = e.Layout.Grid.Rows(0).Cells(0)
cell.CellDisplayStyle = CellDisplayStyle.FullEditorDisplay
End Sub