SdtBuilder<T>
Represents a base SdtBuilder class that contains common logic between controls.
Definition
Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Type Parameters:
T
Syntax:
public abstract class SdtBuilder<T> : ISdtBuilder where T : SdtProperties
Inheritance: objectSdtBuilder<T>
Derived Classes:
Implements:
Constructors
Properties
Gets the assoiated SdtStart (start of Content Control range)
protected virtual SdtRangeStart SdtStart { get; }
Methods
Represents the case of inserting an inline content control that follows another content control hosting the end of a table or a table row.
public virtual void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Implements:
Represents the case of inserting a content control after another content control hosting multiple paragraphs or tables.
public virtual void InsertAfterMultiBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Implements:
Represents the case of inserting an inline content control that follows another content control hosting a paragraph or a cell.
public virtual void InsertAfterSoftBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Implements:
Represents the case of inserting a content control around a single selected image.
public virtual void InsertAroundSelectedImage(RadDocumentEditor editor)
Implements:
Represents the case of inserting an inline content control around a free selection.
public virtual void InsertAroundSelectedInlineRange(RadDocumentEditor editor)
Implements:
Represents the case of inserting a content control around multiple selected paragraphs or tables.
public virtual void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)
Implements:
Represents the case of inserting a content control around multiple selected rows.
public virtual void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)
Implements:
Represents the case of inserting a content control around a single selected paragraph.
public virtual void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)
Implements:
Represents the case of inserting a content control around a single selected row.
public virtual void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)
Implements:
Represents the case of inserting a content control around a single selected table.
public virtual void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)
Implements:
Represents the case of inserting a content control around a table cell.
public virtual void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)
Implements:
Represents the case of inserting an inline content control that is placed just before another content control hosting a table or a table row.
public virtual void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Implements:
Represents the case of inserting a content control before another content control hosting multiple paragraphs or tables.
public virtual void InsertBeforeMultiBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Implements:
Represents the case of inserting an inline content control that is placed just before another content control hosting a paragraph or a cell.
public virtual void InsertBeforeSoftBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Implements:
Inserts content into the specified RadDocumentEditor using the SdtBuilder.
public virtual void InsertCore(RadDocumentEditor editor)
The RadDocumentEditor instance where the content will be inserted.
Implements:
Represents the case of inserting in the beginning of an empty paragraph.
public virtual void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)
Implements:
Represents the case of inserting in the beginning of an empty table cell.
public virtual void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)
Implements:
Represents the case of inserting a content control in a multiple selection scenario.
public virtual void InsertInMultiSelection(RadDocumentEditor editor)
Implements:
Represents the case of inserting an inline content control around a partially selected paragraph.
public virtual void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)
Implements:
Updates the content according to the state of the properties.
public virtual void UpdateContent()
Implements:
Updates the content according to the state of the properties.
Updates the associated style according to the state of the properties.
public virtual void UpdateStyle()
Implements: