Represents the context for the Insert Caption dialog in the Telerik UI framework.
Definition
Namespace:Telerik.Windows.Documents.UI.Extensibility
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
C#
public class InsertCaptionDialogContext
Inheritance: objectInsertCaptionDialogContext
Constructors
C#
public InsertCaptionDialogContext(RadDocument document, bool shouldClearSelectionOnClose)
Properties
Represents the context for the Insert Caption dialog in the Telerik RadRichTextBox.
C#
public RadDocument Document { get; set; }
Methods
Cancels the current operation of the Insert Caption dialog.
C#
public void CancelCallback()
Inserts a caption with the specified definition, text, and options.
C#
public void InsertCaption(CaptionDefinition newCaptionDefinition, string captionText, bool includeLabel, bool insertBelow)
The definition of the caption to be inserted.
captionTextstringThe text of the caption.
includeLabelboolDetermines whether the label included.
insertBelowboolDetermines whether the caption text should be bold.