ClassBaseInputEditor
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
BaseInputEditor()
Declaration
protected BaseInputEditor()
Fields
Properties
DataType
Gets the type of the editor value
EditorElement
Gets the RadElement associated with this editor.
Declaration
public virtual RadElement EditorElement { get; }
Property Value
EditorManager
Declaration
public IEditorManager EditorManager { get; set; }
Property Value
Implements
IsActive
Gets a value indicating whether this is the active editor in grid.
IsInBeginEditMode
Gets a value indicating whether the editor is in BeginMode mode.
IsInitalizing
Gets a value indicating whether the editor is initializing.
IsModified
Gets a value indicating whether the editor value is modified.
Declaration
public virtual bool IsModified { get; }
Property Value
Implements
OwnerElement
Gets the element that owns this editor.
Declaration
public RadElement OwnerElement { get; protected set; }
Property Value
RightToLeft
Gets a value indicating whether the editor is in RightToLeft mode.
Methods
BeginEdit()
Starts the editing process. Used internally in RadGridView.
Declaration
public virtual void BeginEdit()
Implements
BeginInit()
Begins the editor initialization process.
Declaration
public void BeginInit()
Implements
CreateEditorElement()
Creates a new editor element.
Declaration
protected abstract RadElement CreateEditorElement()
Returns
a RadElement if successful
EndEdit()
Finishes the editing process. Used internally in RadGridView.
EndInit()
Finishes the editor initialization process.
Declaration
public void EndInit()
Implements
Initialize(object, object)
Initializes the editor. Used internally in RadGridView.
OnValidated()
Fires the Validated event.
Declaration
public virtual void OnValidated()
OnValidating(CancelEventArgs)
Fires the Validating event.
Declaration
public virtual void OnValidating(CancelEventArgs e)
Parameters
e
A CancelEventArgs that contains the event data.
OnValidationError(ValidationErrorEventArgs)
Fires the ValidationError event.
Declaration
public virtual void OnValidationError(ValidationErrorEventArgs args)
Parameters
args
OnValueChanged()
Fires the ValueChanged event.
Declaration
public virtual void OnValueChanged()
OnValueChanging(ValueChangingEventArgs)
Fires the ValueChanging event.
Declaration
public virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
e
A ValueChangingEventArgs that contains the event data.
Validate()
Validates the value currently entered in the editor.
Events
Validated
Fires when the editor has finished validating.
Declaration
public event EventHandler Validated
Event Value
Implements
Validating
Fires when the editor is validating.
Declaration
public event CancelEventHandler Validating
Event Value
Implements
ValidationError
Fires when a validation error is occurred.
Declaration
public event ValidationErrorEventHandler ValidationError
Event Value
Implements
ValueChanged
Fires when the editor value has been changed.
Declaration
public event EventHandler ValueChanged
Event Value
Implements
ValueChanging
Fires when changing the value of the editor.
Declaration
public event ValueChangingEventHandler ValueChanging
Event Value
Implements