Imports Infragistics.Win
Imports Infragistics.Win.SupportDialogs.FilterUIProvider
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
' Disable OS themes so that we have more control over the appearance of the buttons
Me.ultraGridFilterUIProvider1.UseOsThemes = DefaultableBoolean.False
' Set the OK button to green and the Cancel button to red
Dim buttonSettings As FilterUIProviderButtonSettings = Me.ultraGridFilterUIProvider1.ButtonSettings
buttonSettings.OkAppearance.BackColor = Color.Green
buttonSettings.CancelAppearance.BackColor = Color.Red
End Sub