Back to Devexpress

FilterControl.SourceControl Property

windowsforms-devexpress-dot-xtraeditors-dot-filtercontrol-3d25266c.md

latest1.8 KB
Original Source

FilterControl.SourceControl Property

Gets or sets the control/data source to which the FilterControl provides filter criteria.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Behavior")]
public object SourceControl { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(Nothing)>
Public Property SourceControl As Object

Property Value

TypeDefaultDescription
Objectnull

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

FilterControl Class

FilterControl Members

DevExpress.XtraEditors Namespace