Class BaseVirtualGridEditor
Represents a basic class for an editor in RadVirtualGrid.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public abstract class BaseVirtualGridEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
BaseVirtualGridEditor()
Declaration
protected BaseVirtualGridEditor()
Properties
ClearCellText
Gets a value indicating whether the cell should clear its text when adding an editor.
Declaration
public virtual bool ClearCellText { get; }
Property Value
System.Boolean
|
DataType
Gets the type of the editor value
Declaration
public override Type DataType { get; }
Property Value
System.Type
|
Overrides
EndEditOnLostFocus
Gets a value indicating that the editor should close when grid loses focus.
Declaration
public virtual bool EndEditOnLostFocus { get; }
Property Value
System.Boolean
|
Methods
Initialize(Object, Object)
Initializes the editor. Used internally in RadVirtualGrid.
Declaration
public override void Initialize(object owner, object value)
Parameters
System.Object
owner
The VirtualGridCellElement that will host this editor. |
System.Object
value
The initial value of the editor. |
Overrides
OnKeyDown(KeyEventArgs)
Translates system key down events to the owner element.
Declaration
public virtual void OnKeyDown(KeyEventArgs keyEventArgs)
Parameters
System.Windows.Forms.KeyEventArgs
keyEventArgs
A System.Windows.Forms.KeyEventArgs that contains the event data. |
OnMouseWheel(MouseEventArgs)
Translates mouse wheel events to the owner element.
Declaration
public virtual void OnMouseWheel(MouseEventArgs mouseEventArgs)
Parameters
System.Windows.Forms.MouseEventArgs
mouseEventArgs
A System.Windows.Forms.MouseEventArgs that contains the event data. |
OnValueChanged()
OnValueChanging(ValueChangingEventArgs)
Fires the ValueChanging event.
Declaration
public override void OnValueChanging(ValueChangingEventArgs e)
Parameters
ValueChangingEventArgs
e
A ValueChangingEventArgs that contains the event data. |
Overrides
Validate()
Validates the value currently entered in the editor.
Declaration
public override bool Validate()
Returns
System.Boolean
|