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

Defines the dialog contract for inserting a live date field or static date/time text.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IInsertDateTimeDialog

Methods

Shows the dialog and uses the supplied callbacks to insert the selected date/time.

C#
void ShowDialog(Func<Field, FieldDisplayMode, bool> insertFieldCallback, Action<Inline> insertInlineCallback, RadRichTextBox owner)
Parameters:insertFieldCallbackFunc<Field, FieldDisplayMode, bool>

Inserts a live date field in result display mode when automatic updates are selected; the built-in dialog ignores its Boolean return value.

insertInlineCallbackAction<Inline>

Inserts static formatted text when automatic updates are not selected.

ownerRadRichTextBox

The rich text box that owns the dialog.