EditorBaseElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[RadToolboxItem(false)]
public abstract class EditorBaseElement : RadEditorElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadEditorElementEditorBaseElement...
Derived Classes:
Implements:
Inherited Members
Constructors
protected EditorBaseElement()
Fields
protected IEditorHandler EditorHandler
protected object originalValue
Properties
public object DefaultValue { get; set; }
public virtual RadItem EditorElement { get; set; }
public IEditorManager EditorManager { get; set; }
Implements:
public virtual string EditorType { get; }
public virtual bool IsModified { get; }
Implements:
public bool IsMouseCaptured { get; }
Gets whether the editor is instantiated on demand or is always availabele. Example: GridBooleanCellElement and GridViewBooleanColumn.
public virtual bool IsNestedEditor { get; }
public virtual EditorSupportedType SupportedType { get; }
public virtual EditorVisualMode VisualMode { get; }
Methods
public virtual void BeginEdit()
Implements:
public virtual void BeginInit()
Implements:
public virtual void EndInit()
Implements:
Gets the VisualElement that must receive the focus, when the editor is invoked.
Initializes the provider.
public virtual void Initialize()
Initializes the provider.
public virtual void Initialize(object value)
value to be pre-loaded inside the initialized editor.
Initializes the fields of this instance with their default values.
protected override void InitializeFields()
Overrides:
Raises the KeyDown event.
protected override void OnKeyDown(KeyEventArgs e)
The key event arguments.
Overrides:
Raises the KeyUp event.
protected override void OnKeyUp(KeyEventArgs e)
The key event arguments.
Overrides:
Raises the TextChanged event.
Raises the TextChanging event.
protected override void OnTextChanging(TextChangingEventArgs e)
A TextChangingEventArgs that contains the event data.
Overrides:
protected virtual void OnValidationError(ValidationErrorEventArgs args)
protected virtual void OnValueChanging(ValueChangingEventArgs args)
public void ReleaseMouseCapture()
protected virtual void ValidateCore()
Events
public event ConvertEventHandler Format
public event ConvertEventHandler Parse
public event CancelEventHandler QueryValue
Occurs when the editor is finished validating the value.
public event EventHandler Validated
Implements:
Occurs when the editor is validating the value.
public event CancelEventHandler Validating
Implements:
Occurs when internally the editor detects an error or when the Validating event fails.
public event ValidationErrorEventHandler ValidationError
Implements:
Occurs when the value of the editor changes.
[Browsable(true)]
public event EventHandler ValueChanged
Implements:
Occurs when the editor value is being changed. Cancelable event.
public event ValueChangingEventHandler ValueChanging
Implements: