New to Telerik UI for WinFormsStart a free 30-day trial

Used to manage editors in SchedulerVisualElement.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerEditManager : IEditorManager, IDisposable

Inheritance: objectSchedulerEditManager

Implements: IDisposableIEditorManager

Constructors

Initializes a new instance of the SchedulerEditManager class.

C#
public SchedulerEditManager(RadSchedulerElement schedulerElement)
Parameters:schedulerElementRadSchedulerElement

The RadSchedulerElement, RadSchedulerElement associated with this class.

Properties

Gets the active editor

C#
public ISchedulerEditor ActiveEditor { get; }

Gets or sets a value indicating whether the active editor should be closed when validation process fails.

C#
public bool CloseEditorWhenValidationFails { get; set; }
C#
public virtual SchedulerEditorViewMode EditorViewMode { get; set; }

Gets a value indicating whether the cell is in edit mode.

C#
public bool IsInEditMode { get; }

The instance of RadGridViewElement associated with this class.

C#
public RadSchedulerElement SchedulerElement { get; }

Methods

Puts the current cell in edit mode.

C#
public virtual bool BeginEdit()
Returns:

bool

Returns true if the process is successful.

Invokes default inline editor.

C#
public virtual bool BeginInlineEdit()
Returns:

bool

Returns true if the process is successful.

Close the currently active editor and discard changes.

C#
public virtual bool CancelEdit()
Returns:

bool

true on successful cancellation.

Ends the edit operation without committing the changes

C#
public bool CloseEditor()
Returns:

bool

true on success.

Disposes all resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Commits any changes and ends the edit operation on the current cell.

C#
public virtual bool EndEdit()
Returns:

bool

true on success.

Finishes the editing process.

C#
protected virtual bool EndEditCore(bool cancel)
Parameters:cancelbool

A value that indicates whether the operation should be canceled.

Returns:

bool

returns true if successful and the editor is closed.

Gets the default editor for the specified provider.

C#
public virtual IInputEditor GetDefaultEditor(IEditorProvider provider)
Parameters:providerIEditorProvider

The IEditorProvider to get editor for.

Returns:

IInputEditor

An instance of IInputEditor if successful.

Implements: IEditorManager.GetDefaultEditor(IEditorProvider)

Checks whether there is a permanent editor associated with the specified type.

C#
public virtual bool IsPermanentEditor(Type editorType)
Parameters:editorTypeType

The type to check.

Returns:

bool

true if it exists permanent editor for the given type.

Implements: IEditorManager.IsPermanentEditor(Type)

Register a permanent editor for specific type.

C#
public virtual void RegisterPermanentEditorType(Type editor)
Parameters:editorType

The type to register.

Implements: IEditorManager.RegisterPermanentEditorType(Type)

Remove the active editor

C#
protected virtual void RemoveEditor()