New to Telerik UI for WPF? Start a free 30-day trial

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:

C#
public abstract class SdtBuilder<T> : ISdtBuilder where T : SdtProperties

Inheritance: objectSdtBuilder<T>

Derived Classes: SdtCheckBoxBuilderSdtComboBoxBuilderSdtDateBuilderSdtDropDownListBuilderSdtPictureBuilderSdtRepeatingSectionBuilderSdtRepeatingSectionItemBuilderSdtRichTextBuilderSdtTextBuilder...

Implements: ISdtBuilder

Constructors

C#
public SdtBuilder(SdtRangeStart sdtStart)
Parameters:sdtStartSdtRangeStart

Properties

Gets the assoiated SdtStart (start of Content Control range)

C#
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.

C#
public virtual void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters:editorRadDocumentEditorpreviousSdtEndSdtRangeEnd

Implements: ISdtBuilder.InsertAfterHardBlockSdt(RadDocumentEditor, SdtRangeEnd)

Represents the case of inserting a content control after another content control hosting multiple paragraphs or tables.

C#
public virtual void InsertAfterMultiBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters:editorRadDocumentEditorpreviousSdtEndSdtRangeEnd

Implements: ISdtBuilder.InsertAfterMultiBlockSdt(RadDocumentEditor, SdtRangeEnd)

Represents the case of inserting an inline content control that follows another content control hosting a paragraph or a cell.

C#
public virtual void InsertAfterSoftBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters:editorRadDocumentEditorpreviousSdtEndSdtRangeEnd

Implements: ISdtBuilder.InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)

Represents the case of inserting a content control around a single selected image.

C#
public virtual void InsertAroundSelectedImage(RadDocumentEditor editor)
Parameters:editorRadDocumentEditor

Implements: ISdtBuilder.InsertAroundSelectedImage(RadDocumentEditor)

Represents the case of inserting an inline content control around a free selection.

C#
public virtual void InsertAroundSelectedInlineRange(RadDocumentEditor editor)
Parameters:editorRadDocumentEditor

Implements: ISdtBuilder.InsertAroundSelectedInlineRange(RadDocumentEditor)

Represents the case of inserting a content control around multiple selected paragraphs or tables.

C#
public virtual void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)
Parameters:editorRadDocumentEditorfirstBlockBlocklastBlockBlock

Implements: ISdtBuilder.InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)

Represents the case of inserting a content control around multiple selected rows.

C#
public virtual void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)
Parameters:editorRadDocumentEditorfirstRowTableRowlastRowTableRow

Implements: ISdtBuilder.InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)

Represents the case of inserting a content control around a single selected paragraph.

C#
public virtual void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters:editorRadDocumentEditorparagraphParagraph

Implements: ISdtBuilder.InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)

Represents the case of inserting a content control around a single selected row.

C#
public virtual void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)
Parameters:editorRadDocumentEditorrowTableRow

Implements: ISdtBuilder.InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)

Represents the case of inserting a content control around a single selected table.

C#
public virtual void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)
Parameters:editorRadDocumentEditortableTable

Implements: ISdtBuilder.InsertAroundSelectedTable(RadDocumentEditor, Table)

Represents the case of inserting a content control around a table cell.

C#
public virtual void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)
Parameters:editorRadDocumentEditorcellTableCell

Implements: ISdtBuilder.InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)

Represents the case of inserting an inline content control that is placed just before another content control hosting a table or a table row.

C#
public virtual void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters:editorRadDocumentEditornextSdtStartSdtRangeStart

Implements: ISdtBuilder.InsertBeforeHardBlockSdt(RadDocumentEditor, SdtRangeStart)

Represents the case of inserting a content control before another content control hosting multiple paragraphs or tables.

C#
public virtual void InsertBeforeMultiBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters:editorRadDocumentEditornextSdtStartSdtRangeStart

Implements: ISdtBuilder.InsertBeforeMultiBlockSdt(RadDocumentEditor, SdtRangeStart)

Represents the case of inserting an inline content control that is placed just before another content control hosting a paragraph or a cell.

C#
public virtual void InsertBeforeSoftBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters:editorRadDocumentEditornextSdtStartSdtRangeStart

Implements: ISdtBuilder.InsertBeforeSoftBlockSdt(RadDocumentEditor, SdtRangeStart)

Inserts content into the specified RadDocumentEditor using the SdtBuilder.

C#
public virtual void InsertCore(RadDocumentEditor editor)
Parameters:editorRadDocumentEditor

The RadDocumentEditor instance where the content will be inserted.

Implements: ISdtBuilder.InsertCore(RadDocumentEditor)

Represents the case of inserting in the beginning of an empty paragraph.

C#
public virtual void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters:editorRadDocumentEditorparagraphParagraph

Implements: ISdtBuilder.InsertInEmptyParagraph(RadDocumentEditor, Paragraph)

Represents the case of inserting in the beginning of an empty table cell.

C#
public virtual void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)
Parameters:editorRadDocumentEditortableCellTableCell

Implements: ISdtBuilder.InsertInEmptyTableCell(RadDocumentEditor, TableCell)

Represents the case of inserting a content control in a multiple selection scenario.

C#
public virtual void InsertInMultiSelection(RadDocumentEditor editor)
Parameters:editorRadDocumentEditor

Implements: ISdtBuilder.InsertInMultiSelection(RadDocumentEditor)

Represents the case of inserting an inline content control around a partially selected paragraph.

C#
public virtual void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)
Parameters:editorRadDocumentEditor

Implements: ISdtBuilder.InsertSdtInPartialParagraphSelection(RadDocumentEditor)

Updates the content according to the state of the properties.

C#
public virtual void UpdateContent()

Implements: ISdtBuilder.UpdateContent()

Updates the content according to the state of the properties.

C#
public virtual void UpdateContent(RadDocumentEditor editor)
Parameters:editorRadDocumentEditor

Updates the associated style according to the state of the properties.

C#
public virtual void UpdateStyle()

Implements: ISdtBuilder.UpdateStyle()