Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDataSource
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' Setting ReadOnly to true on the UltraDataSource will prevent adding/deleting
' of rows as well as cell content modifications across all bands and columns.
Me.ultraDataSource1.ReadOnly = True
' You can override that setting on an indivudal band.
Me.ultraDataSource1.Band.ReadOnly = DefaultableBoolean.False
' You can also override that setting on an individual column.
Me.ultraDataSource1.Band.Columns(0).ReadOnly = DefaultableBoolean.True
End Sub