Class DataFilterDefaultSourceControlProvider
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class DataFilterDefaultSourceControlProvider : IDataFilterProvider
Constructors
DataFilterDefaultSourceControlProvider(Object)
Declaration
public DataFilterDefaultSourceControlProvider(object sourceControl)
Parameters
System.Object
sourceControl
|
Properties
PropertyDescriptors
Gets or sets the property descriptors.
Declaration
public PropertyDescriptorCollection PropertyDescriptors { get; set; }
Property Value
System.ComponentModel.PropertyDescriptorCollection
The property descriptors. |
Implements
SourceControl
Gets or sets the source control.
Declaration
public object SourceControl { get; set; }
Property Value
System.Object
The source control. |
Implements
Methods
ApplyFilter(String)
Applies the filter to the SourceControl.
Declaration
public void ApplyFilter(string expression)
Parameters
System.String
expression
The expression. |
Implements
Exceptions
System.NullReferenceException
Thrown if the SourceControl is not initialized. |
System.NotSupportedException
Thrown if the SourceControl is not implementer of System.ComponentModel.IBindingListView, System.Data.DataTable or System.Data.DataView |
GetFieldNames()
Gets the field names.
Declaration
public IEnumerable<string> GetFieldNames()
Returns
System.Collections.Generic.IEnumerable<System.String>
|
GetFieldType(String)
Gets the type of the field.
Declaration
public Type GetFieldType(string fieldName)
Parameters
System.String
fieldName
Name of the field. |
Returns
System.Type
|
GetPropertyDescriptor(String)
Gets the property descriptor.
Declaration
public PropertyDescriptor GetPropertyDescriptor(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
System.ComponentModel.PropertyDescriptor
|
UpdateBoundProperties()
Updates the properties from current SourceControl.
Declaration
public void UpdateBoundProperties()