FilterControl.SourceControl Property
Gets or sets the control/data source to which the FilterControl provides filter criteria.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v21.2.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Object | null | An object that represents the source control for the Filter Control. |
Remarks
To specify the object to which the Filter Control will supply filter criteria, use the SourceControl property. The SourceControl property accepts the following objects:
- GridControl
- TreeList
- BindingSource
- DataTable
- Any control that implements the DevExpress.XtraEditors.Filtering.IFilteredComponent interface.
- Any object that implements the System.ComponentModel.IBindingListView interface.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SourceControl property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.