Back to Devexpress

Gallery.FilterCaption Property

wpf-devexpress-dot-xpf-dot-bars-dot-gallery-5ec52624.md

latest2.6 KB
Original Source

Gallery.FilterCaption Property

Gets or sets the caption displayed within the Filter Panel, used to filter groups within the current gallery. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public object FilterCaption { get; set; }
vb
Public Property FilterCaption As Object

Property Value

TypeDescription
Object

An object representing the caption of the Filter Panel.

|

Remarks

The Filter Panel is visible when the group filtering feature is enabled via the Gallery.AllowFilter property. The FilterCaption property specifies the caption displayed within the Filter Panel. See Gallery.AllowFilter to learn more.

To specify a template that presents the FilterCaption in a custom manner, use Gallery.FilterCaptionTemplate.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FilterCaption 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.

create-wpf-gallery-control/CS/GalleryControl_Ex/MainWindow.xaml#L22

xml
ItemClick="Gallery_ItemClick"
FilterCaption="(click to filter groups)"
ItemDescriptionTemplate="{StaticResource ResourceKey=myItemDescriptionTemplate}"

See Also

AllowFilter

FilterCaptionTemplate

Gallery Class

Gallery Members

DevExpress.Xpf.Bars Namespace