Class BaseInputEditor
Abstract class that represents basic logic for editor
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class BaseInputEditor : IInputEditor, IValueEditor, ISupportInitialize
Constructors
BaseInputEditor()
Declaration
protected BaseInputEditor()
Fields
isInitializing
Declaration
protected bool isInitializing
Field Value
System.Boolean
|
originalValue
Declaration
protected object originalValue
Field Value
System.Object
|
Properties
DataType
Gets the type of the editor value
Declaration
public abstract Type DataType { get; }
Property Value
System.Type
|
EditorElement
Gets the RadElement associated with this editor.
Declaration
public virtual RadElement EditorElement { get; }
Property Value
RadElement
|
EditorManager
Declaration
public IEditorManager EditorManager { get; set; }
Property Value
IEditorManager
|
Implements
IsActive
Gets a value indicating whether this is the active editor in grid.
Declaration
public bool IsActive { get; }
Property Value
System.Boolean
|
IsInBeginEditMode
Gets a value indicating whether the editor is in BeginMode mode.
Declaration
public bool IsInBeginEditMode { get; }
Property Value
System.Boolean
|
IsInitalizing
Gets a value indicating whether the editor is initializing.
Declaration
public bool IsInitalizing { get; }
Property Value
System.Boolean
|
IsModified
Gets a value indicating whether the editor value is modified.
Declaration
public virtual bool IsModified { get; }
Property Value
System.Boolean
|
Implements
OwnerElement
Gets the element that owns this editor.
Declaration
public RadElement OwnerElement { get; protected set; }
Property Value
RadElement
|
RightToLeft
Gets a value indicating whether the editor is in RightToLeft mode.
Declaration
public bool RightToLeft { get; }
Property Value
System.Boolean
|
Value
Gets or sets the editor value.
Declaration
public virtual object Value { get; set; }
Property Value
System.Object
|
Implements
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()
CreateEditorElement()
Creates a new editor element.
Declaration
protected abstract RadElement CreateEditorElement()
Returns
RadElement
a RadElement if successful |
EndEdit()
Finishes the editing process. Used internally in RadGridView.
Declaration
public virtual bool EndEdit()
Returns
System.Boolean
|
Implements
EndInit()
Finishes the editor initialization process.
Declaration
public void EndInit()
Initialize(Object, Object)
Initializes the editor. Used internally in RadGridView.
Declaration
public virtual void Initialize(object owner, object value)
Parameters
System.Object
owner
The owner of this editor. |
System.Object
value
The value of the editor. |
Implements
OnValidated()
OnValidating(CancelEventArgs)
Fires the Validating event.
Declaration
public virtual void OnValidating(CancelEventArgs e)
Parameters
System.ComponentModel.CancelEventArgs
e
A System.ComponentModel.CancelEventArgs that contains the event data. |
OnValidationError(ValidationErrorEventArgs)
Fires the ValidationError event.
Declaration
public virtual void OnValidationError(ValidationErrorEventArgs args)
Parameters
ValidationErrorEventArgs
args
|
OnValueChanged()
OnValueChanging(ValueChangingEventArgs)
Fires the ValueChanging event.
Declaration
public virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
ValueChangingEventArgs
e
A ValueChangingEventArgs that contains the event data. |
SetIsInBeginEditMode(Boolean)
Sets the IsInBeginEditMode property. This method is used internally.
Declaration
public void SetIsInBeginEditMode(bool value)
Parameters
System.Boolean
value
The new value of the IsInBeginEditMode property |
Validate()
Validates the value currently entered in the editor.
Declaration
public virtual bool Validate()
Returns
System.Boolean
|
Implements
Events
Validated
Fires when the editor has finished validating.
Declaration
public event EventHandler Validated
Event Type
System.EventHandler
|
Implements
Validating
Fires when the editor is validating.
Declaration
public event CancelEventHandler Validating
Event Type
System.ComponentModel.CancelEventHandler
|
Implements
ValidationError
Fires when a validation error is occurred.
Declaration
public event ValidationErrorEventHandler ValidationError
Event Type
ValidationErrorEventHandler
|
Implements
ValueChanged
Fires when the editor value has been changed.
Declaration
public event EventHandler ValueChanged
Event Type
System.EventHandler
|
Implements
ValueChanging
Fires when changing the value of the editor.
Declaration
public event ValueChangingEventHandler ValueChanging
Event Type
ValueChangingEventHandler
|