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 control/data source to which the FilterControl provides filter criteria.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public object SourceControl { get; set; }

#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 (for example, AppointmentStorage).
  • Any object that implements the System.ComponentModel.IBindingListView interface.
See Also