Class
SdtBuilder<T>

Represents a base SdtBuilder class that contains common logic between controls.

Definition

Namespace:Telerik.WinForms.Documents.Model.StructuredDocumentTags

Assembly:Telerik.WinControls.RichTextEditor.dll

Type Parameters:

T

Syntax:

cs-api-definition
public abstract class SdtBuilder<T> : ISdtBuilder where T : SdtProperties

Inheritance: objectSdtBuilder<T>

Derived Classes: SdtCheckBoxBuilderSdtComboBoxBuilderSdtDateBuilderSdtDropDownListBuilderSdtPictureBuilderSdtRepeatingSectionBuilderSdtRepeatingSectionItemBuilderSdtRichTextBuilderSdtTextBuilder

Implements: ISdtBuilder

Constructors

SdtBuilder(SdtRangeStart)

Declaration

cs-api-definition
public SdtBuilder(SdtRangeStart sdtStart)

Parameters

sdtStart

SdtRangeStart

Properties

SdtStart

Gets the assoiated SdtStart (start of Content Control range)

Declaration

cs-api-definition
protected virtual SdtRangeStart SdtStart { get; }

Property Value

SdtRangeStart

Methods

InsertAfterHardBlockSdt(RadDocumentEditor, SdtRangeEnd)

Represents the case of inserting an inline content control that follows another content control hosting the end of a table or a table row.

Declaration

cs-api-definition
public virtual void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)

Parameters

editor

RadDocumentEditor

previousSdtEnd

SdtRangeEnd

Implements ISdtBuilder.InsertAfterHardBlockSdt(RadDocumentEditor, SdtRangeEnd)

InsertAfterMultiBlockSdt(RadDocumentEditor, SdtRangeEnd)

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

Declaration

cs-api-definition
public virtual void InsertAfterMultiBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)

Parameters

editor

RadDocumentEditor

previousSdtEnd

SdtRangeEnd

Implements ISdtBuilder.InsertAfterMultiBlockSdt(RadDocumentEditor, SdtRangeEnd)

InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)

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

Declaration

cs-api-definition
public virtual void InsertAfterSoftBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)

Parameters

editor

RadDocumentEditor

previousSdtEnd

SdtRangeEnd

Implements ISdtBuilder.InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)

InsertAroundSelectedImage(RadDocumentEditor)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedImage(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Implements ISdtBuilder.InsertAroundSelectedImage(RadDocumentEditor)

InsertAroundSelectedInlineRange(RadDocumentEditor)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedInlineRange(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Implements ISdtBuilder.InsertAroundSelectedInlineRange(RadDocumentEditor)

InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)

Parameters

editor

RadDocumentEditor

firstBlock

Block

lastBlock

Block

Implements ISdtBuilder.InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)

InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)

Parameters

editor

RadDocumentEditor

firstRow

TableRow

lastRow

TableRow

Implements ISdtBuilder.InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)

InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)

Parameters

editor

RadDocumentEditor

paragraph

Paragraph

Implements ISdtBuilder.InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)

InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)

Parameters

editor

RadDocumentEditor

row

TableRow

Implements ISdtBuilder.InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)

InsertAroundSelectedTable(RadDocumentEditor, Table)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)

Parameters

editor

RadDocumentEditor

table

Table

Implements ISdtBuilder.InsertAroundSelectedTable(RadDocumentEditor, Table)

InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)

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

Declaration

cs-api-definition
public virtual void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)

Parameters

editor

RadDocumentEditor

cell

TableCell

Implements ISdtBuilder.InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)

InsertBeforeHardBlockSdt(RadDocumentEditor, SdtRangeStart)

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

Declaration

cs-api-definition
public virtual void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)

Parameters

editor

RadDocumentEditor

nextSdtStart

SdtRangeStart

Implements ISdtBuilder.InsertBeforeHardBlockSdt(RadDocumentEditor, SdtRangeStart)

InsertBeforeMultiBlockSdt(RadDocumentEditor, SdtRangeStart)

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

Declaration

cs-api-definition
public virtual void InsertBeforeMultiBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)

Parameters

editor

RadDocumentEditor

nextSdtStart

SdtRangeStart

Implements ISdtBuilder.InsertBeforeMultiBlockSdt(RadDocumentEditor, SdtRangeStart)

InsertBeforeSoftBlockSdt(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.

Declaration

cs-api-definition
public virtual void InsertBeforeSoftBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)

Parameters

editor

RadDocumentEditor

nextSdtStart

SdtRangeStart

Implements ISdtBuilder.InsertBeforeSoftBlockSdt(RadDocumentEditor, SdtRangeStart)

InsertCore(RadDocumentEditor)

Executes the main insert logic.

Declaration

cs-api-definition
public virtual void InsertCore(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Implements ISdtBuilder.InsertCore(RadDocumentEditor)

InsertInEmptyParagraph(RadDocumentEditor, Paragraph)

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

Declaration

cs-api-definition
public virtual void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)

Parameters

editor

RadDocumentEditor

paragraph

Paragraph

Implements ISdtBuilder.InsertInEmptyParagraph(RadDocumentEditor, Paragraph)

InsertInEmptyTableCell(RadDocumentEditor, TableCell)

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

Declaration

cs-api-definition
public virtual void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)

Parameters

editor

RadDocumentEditor

tableCell

TableCell

Implements ISdtBuilder.InsertInEmptyTableCell(RadDocumentEditor, TableCell)

InsertInMultiSelection(RadDocumentEditor)

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

Declaration

cs-api-definition
public virtual void InsertInMultiSelection(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Implements ISdtBuilder.InsertInMultiSelection(RadDocumentEditor)

InsertSdtInPartialParagraphSelection(RadDocumentEditor)

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

Declaration

cs-api-definition
public virtual void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

Implements ISdtBuilder.InsertSdtInPartialParagraphSelection(RadDocumentEditor)

UpdateContent()

Updates the content according to the state of the properties.

Declaration

cs-api-definition
public virtual void UpdateContent()

Implements ISdtBuilder.UpdateContent()

UpdateContent(RadDocumentEditor)

Updates the content according to the state of the properties.

Declaration

cs-api-definition
public virtual void UpdateContent(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

UpdateStyle()

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

Declaration

cs-api-definition
public virtual void UpdateStyle()

Implements ISdtBuilder.UpdateStyle()