Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Private Sub Button32_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button32.Click
' Cell padding indicates the amount of space in pixels between the border of the
' cell and it's content.
' Set the CellPadding on the layout's Override to 2. All cells in the UltraGrid will
' have cell padding of 2 pixels.
Me.UltraGrid1.DisplayLayout.Override.CellPadding = 4
' 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.CellPadding = 2
End Sub