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 Virtual
Declaration
public VirtualGridFilterCellElement()
Fields
ElementSpacingProperty
IsFilterAppliedProperty
Properties
CanEdit
Gets the can edit.
Declaration
public override bool CanEdit { get; }
Property Value
System. The can edit. |
Overrides
Descriptor
Gets the filter descriptor associated with this cell
Declaration
protected FilterDescriptor Descriptor { get; }
Property Value
Filter The filter descriptor. |
ElementSpacing
Gets or sets the spacing between elements in filter cell
Declaration
public int ElementSpacing { get; set; }
Property Value
System.
|
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
System. The is filter applied. |
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public override void AddEditor(IInputEditor editor)
Parameters
IInput The editor. |
Overrides
ArrangeEditorElement(RadElement, RectangleF, RectangleF)
Arranges the editor element.
Declaration
protected virtual void ArrangeEditorElement(RadElement element, RectangleF editorRect, RectangleF clientRect)
Parameters
Rad The element. |
System. The editor rect. |
System. The client rect. |
ArrangeOverride(SizeF)
Arranges the elements in the final size.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System. The final size. |
Returns
System.
|
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
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. The data. |
System. The context. |
Returns
System.
|
Overrides
IsInResizeLocation(Point)
Determines whether the point is in resize location.
Declaration
public override bool IsInResizeLocation(Point point)
Parameters
System. The point. |
Returns
System.
|
Overrides
MeasureOverride(SizeF)
Measures the elements according to the available size.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System. Size of the available. |
Returns
System.
|
Overrides
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public override void RemoveEditor(IInputEditor editor)
Parameters
IInput The editor. |
Overrides
RemoveFilterDescriptor()
Removes the filter descriptor.
Declaration
protected virtual bool RemoveFilterDescriptor()
Returns
System. [TRUE] if succeed, otherwise [FALSE] |
SetFilterDescriptor(FilterDescriptor)
Sets the filter descriptor.
Declaration
protected virtual bool SetFilterDescriptor(FilterDescriptor descriptor)
Parameters
Filter The descriptor. |
Returns
System.
|
SetFilterOperator(FilterOperator)
Sets the filter operator.
Declaration
protected virtual bool SetFilterOperator(FilterOperator filterOperator)
Parameters
Filter The filter operator. |
Returns
System.
|
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
Virtual The Virtual |