New to Telerik UI for WinFormsStart a free 30-day trial

Abstract class that represents basic logic for grid editor

Definition

Constructors

C#
protected BaseGridEditor()

Properties

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

C#
public virtual bool ClearCellText { get; }

Gets the type of the editor value

C#
public override Type DataType { get; }

Overrides: BaseInputEditor.DataType

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

C#
public virtual bool EndEditOnLostFocus { get; set; }

Methods

Initializes the editor. Used internally in RadGridView.

C#
public override void Initialize(object owner, object value)
Parameters:ownerobject

The owner of this editor.

valueobject

The value of the editor.

Overrides: BaseInputEditor.Initialize(object, object)

Translates system key down events to the owner element.

C#
public virtual void OnKeyDown(KeyEventArgs keyEventArgs)
Parameters:keyEventArgsKeyEventArgs

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

Translates mouse wheel events to the owner element.

C#
public virtual void OnMouseWheel(MouseEventArgs mouseEventArgs)
Parameters:mouseEventArgsMouseEventArgs

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

Fires the ValueChanged event.

C#
public override void OnValueChanged()

Overrides: BaseInputEditor.OnValueChanged()

Fires the ValueChanging event.

C#
public override void OnValueChanging(ValueChangingEventArgs e)
Parameters:eValueChangingEventArgs

A ValueChangingEventArgs that contains the event data.

Overrides: BaseInputEditor.OnValueChanging(ValueChangingEventArgs)

Validates the value currently entered in the editor.

C#
public override bool Validate()
Returns:

bool

Overrides: BaseInputEditor.Validate()