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.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
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 which 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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowFilter property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.