Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FilterControl.SourceControl Property

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

Namespace: DevExpress.Xpf.Editors.Filtering

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

NuGet Package: DevExpress.Wpf.Core

#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