Back to Devexpress

DataControlBase.FilteredComponent Property

wpf-devexpress-dot-xpf-dot-grid-dot-datacontrolbase-fd4cc52c.md

latest1.7 KB
Original Source

DataControlBase.FilteredComponent Property

Gets an object that should be bound to a standalone FilterControl.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Browsable(false)]
public DataControlFilteredComponent FilteredComponent { get; }
vb
<Browsable(False)>
Public ReadOnly Property FilteredComponent As DataControlFilteredComponent

Property Value

Type
DevExpress.Xpf.Grid.DataControlFilteredComponent

Remarks

The Filter Control is mainly designed to operate with the GridControl. To bind the Filter Control to a grid control, do the following:

csharp
filterControl.SourceControl = Grid.FilteredComponent;

However, a DataTable object and any control which implements the DevExpress.Xpf.Editors.Filtering.IFilteredComponent interface can also be assigned to the Filter Control. Use the FilteredComponent property to specify the source control for the Filter Control.

See Also

DataControlBase Class

DataControlBase Members

DevExpress.Xpf.Grid Namespace