Class
BaseGridEditor

Abstract class that represents basic logic for grid editor

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public abstract class BaseGridEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize

Inheritance: objectBaseInputEditorBaseGridEditor

Derived Classes: GridSpinEditorGridTimePickerEditorGridTimeSpanPickerEditorRadCalculatorEditorRadCheckBoxEditorRadDateTimeEditorRadDropDownListEditorRadMaskedEditBoxEditorRadTextBoxControlEditorRadTextBoxEditor

Implements: IInputEditorISupportInitializeIValueEditor

Inherited Members BaseInputEditor.isInitializingBaseInputEditor.originalValueBaseInputEditor.BeginEdit()BaseInputEditor.EndEdit()BaseInputEditor.BeginInit()BaseInputEditor.EndInit()BaseInputEditor.OnValidating(CancelEventArgs)BaseInputEditor.OnValidated()BaseInputEditor.OnValidationError(ValidationErrorEventArgs)BaseInputEditor.CreateEditorElement()BaseInputEditor.IsActiveBaseInputEditor.IsInitalizingBaseInputEditor.IsInBeginEditModeBaseInputEditor.OwnerElementBaseInputEditor.RightToLeftBaseInputEditor.EditorManagerBaseInputEditor.ValueBaseInputEditor.IsModifiedBaseInputEditor.EditorElementBaseInputEditor.ValueChangingBaseInputEditor.ValueChangedBaseInputEditor.ValidatingBaseInputEditor.ValidatedBaseInputEditor.ValidationError

Constructors

BaseGridEditor()

Declaration

cs-api-definition
protected BaseGridEditor()

Properties

ClearCellText

Gets a value indicating whether the cell should clear its text when adding an editor.

Declaration

cs-api-definition
public virtual bool ClearCellText { get; }

Property Value

bool

DataType

Gets the type of the editor value

Declaration

cs-api-definition
public override Type DataType { get; }

Property Value

Type

Overrides BaseInputEditor.DataType

EndEditOnLostFocus

Gets or sets a value indicating that the editor should close when grid loses focus.

Declaration

cs-api-definition
public virtual bool EndEditOnLostFocus { get; set; }

Property Value

bool

Methods

Initialize(object, object)

Initializes the editor. Used internally in RadGridView.

Declaration

cs-api-definition
public override void Initialize(object owner, object value)

Parameters

owner

object

The owner of this editor.

value

object

The value of the editor.

Overrides BaseInputEditor.Initialize(object, object)

OnKeyDown(KeyEventArgs)

Translates system key down events to the owner element.

Declaration

cs-api-definition
public virtual void OnKeyDown(KeyEventArgs keyEventArgs)

Parameters

keyEventArgs

KeyEventArgs

A System.Windows.Forms.KeyEventArgs that contains the event data.

OnMouseWheel(MouseEventArgs)

Translates mouse wheel events to the owner element.

Declaration

cs-api-definition
public virtual void OnMouseWheel(MouseEventArgs mouseEventArgs)

Parameters

mouseEventArgs

MouseEventArgs

A System.Windows.Forms.MouseEventArgs that contains the event data.

OnValueChanged()

Fires the ValueChanged event.

Declaration

cs-api-definition
public override void OnValueChanged()

Overrides BaseInputEditor.OnValueChanged()

OnValueChanging(ValueChangingEventArgs)

Fires the ValueChanging event.

Declaration

cs-api-definition
public override void OnValueChanging(ValueChangingEventArgs e)

Parameters

e

ValueChangingEventArgs

A ValueChangingEventArgs that contains the event data.

Overrides BaseInputEditor.OnValueChanging(ValueChangingEventArgs)

Validate()

Validates the value currently entered in the editor.

Declaration

cs-api-definition
public override bool Validate()

Returns

bool

Overrides BaseInputEditor.Validate()