Back to Devexpress

AccordionControl.FilterControl Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-bf6c741b.md

latest2.5 KB
Original Source

AccordionControl.FilterControl Property

Gets or sets an object that provides the filter functionality.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public IFilterContent FilterControl { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Property FilterControl As IFilterContent

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Navigation.IFilterContentnull

A DevExpress.XtraBars.Navigation.IFilterContent object that provides the filter functionality.

|

Remarks

Users can filter items in the accordion control (see AccordionControl.ShowFilterControl). The accordion control uses the built-in filter control by default. You can also provide a custom control using the FilterControl property. For example, you can use a lookup control as shown on the figure below.

View Example

DevExpress WinForms installations of v20.2+ support the FilterText property that specifies the active Filter Control string. This property is in effect if your custom control implements the DevExpress.XtraBars.Navigation.IFilterContentEx interface, and not the DevExpress.XtraBars.Navigation.IFilterContent.

See Also

ShowFilterControl

FilterContent

SearchControl

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace