BaseInputEditor
Abstract class that represents basic logic for editor
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class BaseInputEditor : IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditor
Derived Classes:
Implements:
Constructors
protected BaseInputEditor()
Fields
protected bool isInitializing
protected object originalValue
Properties
Gets the RadElement associated with this editor.
public virtual RadElement EditorElement { get; }
public IEditorManager EditorManager { get; set; }
Implements:
Gets a value indicating whether this is the active editor in grid.
public bool IsActive { get; }
Gets a value indicating whether the editor is in BeginMode mode.
public bool IsInBeginEditMode { get; }
Gets a value indicating whether the editor is initializing.
public bool IsInitalizing { get; }
Gets a value indicating whether the editor value is modified.
public virtual bool IsModified { get; }
Implements:
Gets the element that owns this editor.
public RadElement OwnerElement { get; protected set; }
Gets a value indicating whether the editor is in RightToLeft mode.
public bool RightToLeft { get; }
Methods
Starts the editing process. Used internally in RadGridView.
public virtual void BeginEdit()
Implements:
Begins the editor initialization process.
public void BeginInit()
Implements:
Creates a new editor element.
Finishes the editing process. Used internally in RadGridView.
Finishes the editor initialization process.
public void EndInit()
Implements:
Fires the Validated event.
public virtual void OnValidated()
Fires the Validating event.
public virtual void OnValidating(CancelEventArgs e)
A CancelEventArgs that contains the event data.
Fires the ValidationError event.
public virtual void OnValidationError(ValidationErrorEventArgs args)
Fires the ValueChanged event.
public virtual void OnValueChanged()
Fires the ValueChanging event.
public virtual void OnValueChanging(ValueChangingEventArgs e)
A ValueChangingEventArgs that contains the event data.
Validates the value currently entered in the editor.
Events
Fires when the editor has finished validating.
public event EventHandler Validated
Implements:
Fires when the editor is validating.
public event CancelEventHandler Validating
Implements:
Fires when a validation error is occurred.
public event ValidationErrorEventHandler ValidationError
Implements:
Fires when the editor value has been changed.
public event EventHandler ValueChanged
Implements:
Fires when changing the value of the editor.
public event ValueChangingEventHandler ValueChanging
Implements: