Gallery.AllowFilter Property
Gets or sets whether the group filtering feature is enabled. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true if the group filtering feature is enabled; otherwise, false. |
#Remarks
If the AllowFilter property is set to true, the gallery group filtering feature is enabled. In this mode, when a dropdown gallery contains two or more groups, the Group Filter panel is displayed at the top of the dropdown gallery. When this panel is clicked, a Group Filter menu is opened, which by default, contains check boxes that correspond to the existing gallery groups and that control the visibility of the groups. Unchecking a check box hides a corresponding group; checking the check box makes the group visible.
The caption of the Group Filter panel is specified by the Gallery.FilterCaption property.