Displays a form used to crate custom filters.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class CompositeDataFilterForm : BaseCompositeFilterDialog, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormBaseCompositeFilterDialogCompositeDataFilterForm...
Implements:
Inherited Members
Constructors
Initializes a new instance of the CompositeFilterForm class.
public CompositeDataFilterForm()
Initializes a new instance of the CompositeDataFilterForm class.
public CompositeDataFilterForm(GridViewDataColumn dataColumn, FilterDescriptor filterDescriptor, bool useTypedEditors, string themeName)
The data column.
filterDescriptorFilterDescriptorThe filter descriptor.
useTypedEditorsboolThe use typed editors.
themeNamestringName of the theme.
Initializes a new instance of the CompositeDataFilterForm class.
public CompositeDataFilterForm(GridViewDataColumn dataColumn, FilterDescriptor filterDescriptor, bool useTypedEditors)
The data column.
filterDescriptorFilterDescriptorThe filter descriptor.
useTypedEditorsboolThe use typed editors.
Initializes a new instance of the CompositeFilterForm class.
public CompositeDataFilterForm(GridViewDataColumn dataColumn, FilterDescriptor filterDescriptor)
The GridViewDataColumn, owner of this form.
filterDescriptorFilterDescriptorInitializes a new instance of the CompositeDataFilterForm class.
public CompositeDataFilterForm(GridViewDataColumn dataColumn)
The data column.
Properties
Gets the RadDataFilter instance, used to build the filter expression.
public RadDataFilter DataFilter { get; }
The data filter.
Gets the column's data type
public Type DataType { get; set; }
The type of the column's data type.
Gets or sets the filter descriptor.
public override FilterDescriptor FilterDescriptor { get; }
The filter descriptor.
Overrides:
Methods
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Initializes the editors in the dialog with the filter descriptor that is correctly applied to the RadGridView data.
public override void Initialize(GridViewDataColumn dataColumn, FilterDescriptor filterDescriptor, bool useTypedEditors)
The column which represents the property by which data will be filtered
filterDescriptorFilterDescriptorThe filter descriptor that is currently applied to the grid for this column.
useTypedEditorsboolDetermines whether type specific editors should be used e.g. RadSpinEditor for numeric properties.
Overrides:
Determines whether the specified filter operator is editable.
protected bool IsEditableFilterOperator(FilterOperator filterOperator)
The filter operator.
Returns:Raises the Closing event.
protected override void OnClosing(CancelEventArgs e)
A CancelEventArgs that contains the event data.
Overrides:
Updates the editor value.
protected virtual void UpdateEditorValue(FilterDescriptor descriptor)
The descriptor.