Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Private Sub Button58_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button58.Click
' Properties set on the layout's override effect the whole grid. They are grid-wide
' settings.
Me.UltraGrid1.DisplayLayout.Override.BorderStyleRow = UIElementBorderStyle.Raised
Me.UltraGrid1.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.Inset
Me.UltraGrid1.DisplayLayout.Override.BorderStyleHeader = UIElementBorderStyle.Raised
' You can override those grid-wide settings for a particular band by setting those
' properties on the band's override.
Me.ultraGrid1.DisplayLayout.Bands(1).Override.BorderStyleRow = UIElementBorderStyle.Solid
Me.ultraGrid1.DisplayLayout.Bands(1).Override.BorderStyleCell = UIElementBorderStyle.Solid
Me.ultraGrid1.DisplayLayout.Bands(1).Override.BorderStyleHeader = UIElementBorderStyle.Solid
End Sub