Class VirtualGridFilterCellElement
Represents the filter cell in RadVirtualGrid.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualGridFilterCellElement : VirtualGridCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<int>
Constructors
VirtualGridFilterCellElement()
Initializes a new instance of the VirtualGridFilterCellElement class.
Declaration
public VirtualGridFilterCellElement()
Fields
ElementSpacingProperty
IsFilterAppliedProperty
Properties
CanEdit
Gets the can edit.
Declaration
public override bool CanEdit { get; }
Property Value
System.Boolean
The can edit. |
Overrides
Descriptor
Gets the filter descriptor associated with this cell
Declaration
protected FilterDescriptor Descriptor { get; }
Property Value
FilterDescriptor
The filter descriptor. |
ElementSpacing
Gets or sets the spacing between elements in filter cell
Declaration
public int ElementSpacing { get; set; }
Property Value
System.Int32
|
FilterButton
Gets the filter button for the cell.
Declaration
public RadButtonElement FilterButton { get; }
Property Value
RadButtonElement
|
FilterOperatorText
Gets the filter operator for the cell.
Declaration
public TextPrimitive FilterOperatorText { get; }
Property Value
TextPrimitive
|
IsFilterApplied
Gets whether a filter is applied.
Declaration
public bool IsFilterApplied { get; }
Property Value
System.Boolean
The is filter applied. |
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public override void AddEditor(IInputEditor editor)
Parameters
IInputEditor
editor
The editor. |
Overrides
ArrangeEditorElement(RadElement, RectangleF, RectangleF)
Arranges the editor element.
Declaration
protected virtual void ArrangeEditorElement(RadElement element, RectangleF editorRect, RectangleF clientRect)
Parameters
RadElement
element
The element. |
System.Drawing.RectangleF
editorRect
The editor rect. |
System.Drawing.RectangleF
clientRect
The client rect. |
ArrangeOverride(SizeF)
Arranges the elements in the final size.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
The final size. |
Returns
System.Drawing.SizeF
|
Overrides
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
RadDropDownMenu
|
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
InitializeMenuItemsText()
Initializes the menu items text.
Declaration
public void InitializeMenuItemsText()
IsCompatible(Int32, Object)
Determines whether cell element is compatible with the specified data.
Declaration
public override bool IsCompatible(int data, object context)
Parameters
System.Int32
data
The data. |
System.Object
context
The context. |
Returns
System.Boolean
|
Overrides
IsInResizeLocation(Point)
Determines whether the point is in resize location.
Declaration
public override bool IsInResizeLocation(Point point)
Parameters
System.Drawing.Point
point
The point. |
Returns
System.Boolean
|
Overrides
MeasureOverride(SizeF)
Measures the elements according to the available size.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Drawing.SizeF
|
Overrides
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public override void RemoveEditor(IInputEditor editor)
Parameters
IInputEditor
editor
The editor. |
Overrides
RemoveFilterDescriptor()
Removes the filter descriptor.
Declaration
protected virtual bool RemoveFilterDescriptor()
Returns
System.Boolean
[TRUE] if succeed, otherwise [FALSE] |
SetFilterDescriptor(FilterDescriptor)
Sets the filter descriptor.
Declaration
protected virtual bool SetFilterDescriptor(FilterDescriptor descriptor)
Parameters
FilterDescriptor
descriptor
The descriptor. |
Returns
System.Boolean
|
SetFilterOperator(FilterOperator)
Sets the filter operator.
Declaration
protected virtual bool SetFilterOperator(FilterOperator filterOperator)
Parameters
FilterOperator
filterOperator
The filter operator. |
Returns
System.Boolean
|
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
VirtualGridCellValueNeededEventArgs
args
The VirtualGridCellValueNeededEventArgs instance containing the event data. |