New to Telerik UI for WinForms? Start a free 30-day trial

Provides the text editor used for inline appointment summary editing in RadScheduler.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class RadSchedulerTextBoxEditor : ISchedulerEditor

Inheritance: objectRadSchedulerTextBoxEditor

Implements: ISchedulerEditor

Constructors

Initializes a new instance of the RadSchedulerTextBoxEditor class.

C#
public RadSchedulerTextBoxEditor()

Fields

The appointment currently displayed by the editor.

C#
protected IEvent appointment

The manager controlling the current appointment edit session.

C#
protected IEditorManager editorManager

Properties

Gets or sets whether the editor accepts the enter key in multiline mode

C#
public bool AcceptsReturn { get; set; }

Gets or sets whether the editor accepts the tab key in multiline mode

C#
public bool AcceptsTab { get; set; }

Indicates if all characters should be left alone or converted to upper or lower case

C#
public CharacterCasing CharacterCasing { get; set; }

Gets the RadElement associated with this editor.

C#
public virtual RadElement EditorElement { get; }

Implements: ISchedulerEditor.EditorElement

Specifies the maximum length of characters which could be entered

C#
public int MaxLength { get; set; }

The text could span more than a line when the value is true

C#
public bool Multiline { get; set; }

Gets or sets the text displayed in the editor; assigning null clears it.

C#
public object Value { get; set; }

Methods

Initializes the editor with the appointment and displays its summary.

C#
public virtual void BeginEditorEdit(IEditorManager editorManager, IEvent appointment)
Parameters:editorManagerIEditorManager

The manager controlling the edit session.

appointmentIEvent

The appointment whose summary will be edited.

Implements: ISchedulerEditor.BeginEditorEdit(IEditorManager, IEvent)

Ends the edit session, detaches input handlers, and clears the text editor.

C#
public virtual bool EndEditorEdit()
Returns:

bool

Implements: ISchedulerEditor.EndEditorEdit()

Handles the key press events in the editor.

C#
protected virtual void OnKeyPress(KeyPressEventArgs e)
Parameters:eKeyPressEventArgs

A System.Windows.Forms.KeyPressEventArgs that contains the event data.

Handles the key up events in the editor.

C#
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters:eKeyEventArgs

A System.Windows.Forms.KeyEventArgs that contains the event data.

Applies the current text to the appointment's summary. If the appointment is a recurrence occurrence, records it as an exception.

C#
public virtual void Save()

Implements: ISchedulerEditor.Save()