IInsertDateTimeDialog
Interface
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)
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.
ownerRadRichTextBoxThe rich text box that owns the dialog.