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

Opens the associated editor's date/time insertion dialog.

Definition

Constructors

Initializes the command for the specified rich text box.

C#
public ShowInsertDateTimeDialogCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose date/time insertion dialog is shown when the command executes.

Properties

Gets a value indicating whether availability checks should require the current selection to be deletable.

C#
protected override bool IsDeletingCommand { get; }

Overrides: RichTextBoxCommandBase.IsDeletingCommand

Gets a value indicating whether command execution should return keyboard focus to the editor. The dialog is shown without explicitly refocusing the editor.

C#
protected override bool ShouldFocusCaretAfterExecute { get; }

Overrides: RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

Opens the date/time insertion dialog configured on the associated rich text box.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

Not used by this command.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)