Class SchedulerEditManager
Used to manage editors in SchedulerVisualElement.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class SchedulerEditManager : IEditorManager, IDisposable
Constructors
SchedulerEditManager(RadSchedulerElement)
Initializes a new instance of the SchedulerEditManager class.
Declaration
public SchedulerEditManager(RadSchedulerElement schedulerElement)
Parameters
|
RadSchedulerElement
schedulerElement
The RadSchedulerElement, RadSchedulerElement associated with this class. |
Properties
ActiveEditor
Gets the active editor
Declaration
public ISchedulerEditor ActiveEditor { get; }
Property Value
|
ISchedulerEditor
|
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
|
System.Boolean
|
EditorViewMode
Declaration
public virtual SchedulerEditorViewMode EditorViewMode { get; set; }
Property Value
|
SchedulerEditorViewMode
|
IsInEditMode
Gets a value indicating whether the cell is in edit mode.
Declaration
public bool IsInEditMode { get; }
Property Value
|
System.Boolean
|
SchedulerElement
The instance of RadGridViewElement associated with this class.
Declaration
public RadSchedulerElement SchedulerElement { get; }
Property Value
|
RadSchedulerElement
|
Methods
BeginEdit()
Puts the current cell in edit mode.
Declaration
public virtual bool BeginEdit()
Returns
|
System.Boolean
Returns true if the process is successful. |
BeginInlineEdit()
Invokes default inline editor.
Declaration
public virtual bool BeginInlineEdit()
Returns
|
System.Boolean
Returns true if the process is successful. |
CancelEdit()
Close the currently active editor and discard changes.
Declaration
public virtual bool CancelEdit()
Returns
|
System.Boolean
true on successful cancellation. |
CloseEditor()
Ends the edit operation without committing the changes
Declaration
public bool CloseEditor()
Returns
|
System.Boolean
true on success. |
Dispose()
Disposes all resources.
Declaration
public void Dispose()
Implements
EndEdit()
Commits any changes and ends the edit operation on the current cell.
Declaration
public virtual bool EndEdit()
Returns
|
System.Boolean
true on success. |
EndEditCore(Boolean)
Finishes the editing process.
Declaration
protected virtual bool EndEditCore(bool cancel)
Parameters
|
System.Boolean
cancel
A value that indicates whether the operation should be canceled. |
Returns
|
System.Boolean
returns true if successful and the editor is closed. |
GetDefaultEditor(IEditorProvider)
Gets the default editor for the specified provider.
Declaration
public virtual IInputEditor GetDefaultEditor(IEditorProvider provider)
Parameters
|
IEditorProvider
provider
The IEditorProvider to get editor for. |
Returns
|
IInputEditor
An instance of IInputEditor if successful. |
Implements
IsPermanentEditor(Type)
Checks whether there is a permanent editor associated with the specified type.
Declaration
public virtual bool IsPermanentEditor(Type editorType)
Parameters
|
System.Type
editorType
The type to check. |
Returns
|
System.Boolean
true if it exists permanent editor for the given type. |
Implements
RegisterPermanentEditorType(Type)
Register a permanent editor for specific type.
Declaration
public virtual void RegisterPermanentEditorType(Type editor)
Parameters
|
System.Type
editor
The type to register. |
Implements
RemoveEditor()
Remove the active editor
Declaration
protected virtual void RemoveEditor()