Imports Infragistics.Win.UltraWinToolbars
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button9.Click
' Get the gallery from the toolbars manager which will be customized
Dim gallery As PopupGalleryTool = Me.UltraToolbarsManager1.Tools("PopupGalleryTool1")
' Prevent the user from resizing the gallery drop down by hiding the grab handle
gallery.AllowResizeDropDown = False
' Hide the filter bar in the gallery drop down. If this is set to false, the selected filter
' can only be programmatically changed by setting SelectedGroupFilter or SelectedGroupFilterKey.
gallery.ShowFilterBar = False
' Prevent the gallery preview from showing in the ribbon
gallery.ShowPreviewInRibbon = False
' Use images from the UltraToolbarsManager.ImageListSmall in the gallery item
gallery.UseLargeImagesInItems = False
End Sub