New to Telerik UI for WPF? Download free 30-day trial

Insert Date and Time Dialog

This dialog allows you to insert a date-time value in the document.

An image showing the insert date and time Dialog dialog of RadRichTextBox for WPF

The dialog can be opened from the Date & Time button in the Insert tab of the RadRichTextBoxRibbonUI.

An image showing the button that opens the insert date and time Dialog dialog of RadRichTextBox for WPF

Showing the Dialog Manually

The dialog can be shown by executing the ShowInsertDateTimeDialogCommand. See how to bind the command to an external button in the Commands article.

Executing the show dialog command

this.richTextBox.Commands.ShowInsertDateTimeDialogCommand.Execute(null); 
Alternatively, call the ShowInsertDateTimeDialog method of RadRichTextBox.

Using the show dialog method

this.richTextBox.ShowInsertDateTimeDialog(); 
In this article