Class
InsertCaptionDialogContext

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

RadDocument

shouldClearSelectionOnClose

bool

Properties

Document

Represents the context for the Insert Caption dialog in the Telerik RadRichTextBox.

Declaration

cs-api-definition
public RadDocument Document { get; set; }

Property Value

RadDocument

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

CaptionDefinition

The definition of the caption to be inserted.

captionText

string

The text of the caption.

includeLabel

bool

Determines whether the label included.

insertBelow

bool

Determines whether the caption text should be bold.