Class BaseGridEditor
Abstract class that represents basic logic for grid editor
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public abstract class BaseGridEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
BaseGridEditor()
Declaration
protected BaseGridEditor()
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 or sets a value indicating that the editor should close when grid loses focus.
Declaration
public virtual bool EndEditOnLostFocus { get; set; }
Property Value
System.Boolean
|
Methods
Initialize(Object, Object)
Initializes the editor. Used internally in RadGridView.
Declaration
public override void Initialize(object owner, object value)
Parameters
System.Object
owner
The owner of this editor. |
System.Object
value
The 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
|