Skip to main content
A newer version of this page is available. .

FilterControl.SourceControl Property

Gets or sets the source control. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Filtering

Assembly: DevExpress.Xpf.Core.v19.1.dll

Declaration

public object SourceControl { get; set; }

Property Value

Type Description
Object

An object that represents the source control for the Filter Control.

Remarks

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

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 SourceControl property to specify the source control for the Filter Control.

See Also