ClassVirtualGridFilterCellElement
Represents the filter cell in RadVirtualGrid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualGridFilterCellElement : VirtualGridCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<int>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementVirtualGridCellElementVirtualGridFilterCellElement
Implements:
Inherited Members
Constructors
VirtualGridFilterCellElement()
Initializes a new instance of the VirtualGridFilterCellElement class.
Declaration
public VirtualGridFilterCellElement()
Fields
ElementSpacingProperty
Declaration
public static RadProperty ElementSpacingProperty
Field Value
IsFilterAppliedProperty
Declaration
public static RadProperty IsFilterAppliedProperty
Field Value
Properties
CanEdit
Gets the can edit.
Declaration
public override bool CanEdit { get; }
Property Value
The can edit.
Overrides
Descriptor
Gets the filter descriptor associated with this cell
Declaration
protected FilterDescriptor Descriptor { get; }
Property Value
The filter descriptor.
ElementSpacing
Gets or sets the spacing between elements in filter cell
FilterButton
Gets the filter button for the cell.
Declaration
public RadButtonElement FilterButton { get; }
Property Value
FilterOperatorText
Gets the filter operator for the cell.
Declaration
public TextPrimitive FilterOperatorText { get; }
Property Value
IsFilterApplied
Gets whether a filter is applied.
Declaration
public bool IsFilterApplied { get; }
Property Value
The is filter applied.
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public override void AddEditor(IInputEditor editor)
Parameters
editor
The editor.
Overrides
ArrangeEditorElement(RadElement, RectangleF, RectangleF)
Arranges the editor element.
Declaration
protected virtual void ArrangeEditorElement(RadElement element, RectangleF editorRect, RectangleF clientRect)
Parameters
element
The element.
editorRect
The editor rect.
clientRect
The client rect.
ArrangeOverride(SizeF)
Arranges the elements in the final size.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateFilterMenu()
Creates the filter menu.
Declaration
protected virtual RadDropDownMenu CreateFilterMenu()
Returns
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
InitializeMenuItemsText()
Initializes the menu items text.
Declaration
public void InitializeMenuItemsText()
IsCompatible(int, object)
Determines whether cell element is compatible with the specified data.
IsInResizeLocation(Point)
Determines whether the point is in resize location.
MeasureOverride(SizeF)
Measures the elements according to the available size.
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public override void RemoveEditor(IInputEditor editor)
Parameters
editor
The editor.
Overrides
RemoveFilterDescriptor()
Removes the filter descriptor.
Declaration
protected virtual bool RemoveFilterDescriptor()
Returns
[TRUE] if succeed, otherwise [FALSE]
SetFilterDescriptor(FilterDescriptor)
Sets the filter descriptor.
Declaration
protected virtual bool SetFilterDescriptor(FilterDescriptor descriptor)
Parameters
descriptor
The descriptor.
Returns
SetFilterOperator(FilterOperator)
Sets the filter operator.
Declaration
protected virtual bool SetFilterOperator(FilterOperator filterOperator)
Parameters
filterOperator
The filter operator.
Returns
SetSelectedFilterOperatorText()
Sets the selected filter operator text.
Declaration
protected virtual void SetSelectedFilterOperatorText()
UpdateInfo(VirtualGridCellValueNeededEventArgs)
Updates the info.
Declaration
protected override void UpdateInfo(VirtualGridCellValueNeededEventArgs args)
Parameters
args
VirtualGridCellValueNeededEventArgs
The VirtualGridCellValueNeededEventArgs instance containing the event data.
Overrides