ClassInsertCaptionDialogContext
Class
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:
cs-api-definition
public class InsertCaptionDialogContext
Inheritance: objectInsertCaptionDialogContext
Constructors
InsertCaptionDialogContext(RadDocument, bool)
Declaration
cs-api-definition
public InsertCaptionDialogContext(RadDocument document, bool shouldClearSelectionOnClose)
Parameters
document
shouldClearSelectionOnClose
Properties
Document
Represents the context for the Insert Caption dialog in the Telerik RadRichTextBox.
Methods
CancelCallback()
Cancels the current operation of the Insert Caption dialog.
Declaration
cs-api-definition
public void CancelCallback()
InsertCaption(CaptionDefinition, string, bool, bool)
Inserts a caption with the specified definition, text, and options.
Declaration
cs-api-definition
public void InsertCaption(CaptionDefinition newCaptionDefinition, string captionText, bool includeLabel, bool insertBelow)
Parameters
newCaptionDefinition
The definition of the caption to be inserted.
captionText
The text of the caption.
includeLabel
Determines whether the label included.
insertBelow
Determines whether the caption text should be bold.