バージョン

ShowFilterBar プロパティ

GroupFilters コレクションがフィルターを持つ時にフィルター バーを表示するかどうかを決定する値を取得または設定します。
シンタックス
'宣言
 
Public Property ShowFilterBar As Boolean
public bool ShowFilterBar {get; set;}
解説
True に設定されているが、GroupFilters コレクションにフィルターがない場合、フィルター バーは表示されません。
使用例
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
using System.Windows.Forms;
using Infragistics.Win.UltraWinToolbars;

private void button1_Click( object sender, EventArgs e )
{
	// Get the gallery from the toolbars manager which will be customized
	PopupGalleryTool gallery = (PopupGalleryTool)this.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;
}
参照