Skip to main content

AccordionControl.FilterControl Property

Gets or sets an object that provides the filter functionality.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public IFilterContent FilterControl { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Navigation.IFilterContent null

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.

AccordionControl_FilterControl

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