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