GridViewEditManager
Used to manage editors in GridVisualElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewEditManager : IEditorManager, IDisposable, IGridViewEventListener
Inheritance: objectGridViewEditManager
Implements:
Constructors
Initializes a new instance of the GridViewEditManager class.
public GridViewEditManager(RadGridViewElement gridViewElement)
The RadGridView, RadGridViewElement associated with this class.
Properties
Gets the active editor
public IInputEditor ActiveEditor { get; protected set; }
Gets or sets a value indicating whether the active editor should be closed when validation process fails.
public bool CloseEditorWhenValidationFails { get; set; }
The instance of RadGridViewElement associated with this class.
public RadGridViewElement GridViewElement { get; }
Gets a value indicating whether the cell is in edit mode.
public bool IsInEditMode { get; }
Methods
Puts the current cell in edit mode.
Close the currently active editor and discard changes.
Ends the edit operation without committing the changes
Disposes all resources.
public void Dispose()
Implements:
Commits any changes and ends the edit operation on the current cell.
Gets the default editor for the specified provider.
public virtual IInputEditor GetDefaultEditor(IEditorProvider provider)
The IEditorProvider to get editor for.
Returns:An instance of IInputEditor if successful.
Implements:
Initializes the editor.
protected virtual void InitializeEditor(IInputEditor activeEditor)
An instance of IInputEditor
Raises the event.
protected virtual void OnPositionChanged(PositionChangedEventArgs args)
The PositionChangedEventArgs instance containing the event data.
Raises the event.
protected virtual void OnPositionChanging(PositionChangingEventArgs args)
The PositionChangingEventArgs instance containing the event data.
Register a permanent editor for specific type.
public void RegisterPermanentEditorType(Type editor)
The type to register.
Implements: