ClassSchedulerEditManager
Used to manage editors in SchedulerVisualElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerEditManager : IEditorManager, IDisposable
Inheritance: objectSchedulerEditManager
Implements:
Constructors
SchedulerEditManager(RadSchedulerElement)
Initializes a new instance of the SchedulerEditManager class.
Declaration
public SchedulerEditManager(RadSchedulerElement schedulerElement)
Parameters
schedulerElement
The RadSchedulerElement, RadSchedulerElement associated with this class.
Properties
ActiveEditor
Gets the active editor
Declaration
public ISchedulerEditor ActiveEditor { get; }
Property Value
CloseEditorWhenValidationFails
Gets or sets a value indicating whether the active editor should be closed when validation process fails.
Declaration
public bool CloseEditorWhenValidationFails { get; set; }
Property Value
EditorViewMode
Declaration
public virtual SchedulerEditorViewMode EditorViewMode { get; set; }
Property Value
IsInEditMode
Gets a value indicating whether the cell is in edit mode.
SchedulerElement
The instance of RadGridViewElement associated with this class.
Declaration
public RadSchedulerElement SchedulerElement { get; }
Property Value
Methods
BeginEdit()
Puts the current cell in edit mode.
Declaration
public virtual bool BeginEdit()
Returns
Returns true if the process is successful.
BeginInlineEdit()
Invokes default inline editor.
Declaration
public virtual bool BeginInlineEdit()
Returns
Returns true if the process is successful.
CancelEdit()
Close the currently active editor and discard changes.
Declaration
public virtual bool CancelEdit()
Returns
true on successful cancellation.
CloseEditor()
Ends the edit operation without committing the changes
EndEdit()
Commits any changes and ends the edit operation on the current cell.
EndEditCore(bool)
Finishes the editing process.
GetDefaultEditor(IEditorProvider)
Gets the default editor for the specified provider.
Declaration
public virtual IInputEditor GetDefaultEditor(IEditorProvider provider)
Parameters
provider
The IEditorProvider to get editor for.
Returns
An instance of IInputEditor if successful.
Implements
IsPermanentEditor(Type)
Checks whether there is a permanent editor associated with the specified type.
RegisterPermanentEditorType(Type)
Register a permanent editor for specific type.
Declaration
public virtual void RegisterPermanentEditorType(Type editor)
Parameters
editor
The type to register.
Implements
RemoveEditor()
Remove the active editor
Declaration
protected virtual void RemoveEditor()