Private Sub SetupGrid()
' Set the HeaderStyle to 'WindowsXPCommand' so that the column headers and row selectors will
' have a 3D look with an orange hottracking border on all sides.
'
Me.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand
' Make sure that the row selectors are displayed.
'
Me.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True
' You can override the style set on the HeaderStyle property by explicitly setting the
' RowSelectorStyle property. In this case, the row selectors will display the 'XPThemed'
' style while the column headers use the 'WindowsXPCommand' style.
'
Me.ultraGrid1.DisplayLayout.Override.RowSelectorStyle = Infragistics.Win.HeaderStyle.XPThemed
End Sub