Class SdtBuilder<T>
Represents a base SdtBuilder class that contains common logic between controls.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Model.StructuredDocumentTags
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public abstract class SdtBuilder<T> : ISdtBuilder where T : SdtProperties
Type Parameters
T
|
Constructors
SdtBuilder(SdtRangeStart)
Properties
SdtStart
Gets the assoiated SdtStart (start of Content Control range)
Declaration
protected virtual SdtRangeStart SdtStart { get; }
Property Value
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
public virtual void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
Rad
|
Sdt
|
Implements
InsertAfterMultiBlockSdt(RadDocumentEditor, SdtRangeEnd)
Represents the case of inserting a content control after another content control hosting multiple paragraphs or tables.
Declaration
public virtual void InsertAfterMultiBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
Rad
|
Sdt
|
Implements
InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)
Represents the case of inserting an inline content control that follows another content control hosting a paragraph or a cell.
Declaration
public virtual void InsertAfterSoftBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
Rad
|
Sdt
|
Implements
InsertAroundSelectedImage(RadDocumentEditor)
Represents the case of inserting a content control around a single selected image.
Declaration
public virtual void InsertAroundSelectedImage(RadDocumentEditor editor)
Parameters
Rad
|
Implements
InsertAroundSelectedInlineRange(RadDocumentEditor)
Represents the case of inserting an inline content control around a free selection.
Declaration
public virtual void InsertAroundSelectedInlineRange(RadDocumentEditor editor)
Parameters
Rad
|
Implements
InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)
Represents the case of inserting a content control around multiple selected paragraphs or tables.
Declaration
public virtual void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)
Parameters
Rad
|
Block
firstBlock
|
Block
lastBlock
|
Implements
InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)
Represents the case of inserting a content control around multiple selected rows.
Declaration
public virtual void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)
Parameters
Rad
|
Table
|
Table
|
Implements
InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)
Represents the case of inserting a content control around a single selected paragraph.
Declaration
public virtual void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters
Rad
|
Paragraph
paragraph
|
Implements
InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)
Represents the case of inserting a content control around a single selected row.
Declaration
public virtual void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)
Parameters
Rad
|
Table
|
Implements
InsertAroundSelectedTable(RadDocumentEditor, Table)
Represents the case of inserting a content control around a single selected table.
Declaration
public virtual void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)
Parameters
Rad
|
Table
table
|
Implements
InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)
Represents the case of inserting a content control around a table cell.
Declaration
public virtual void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)
Parameters
Rad
|
Table
|
Implements
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
public virtual void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
Rad
|
Sdt
|
Implements
InsertBeforeMultiBlockSdt(RadDocumentEditor, SdtRangeStart)
Represents the case of inserting a content control before another content control hosting multiple paragraphs or tables.
Declaration
public virtual void InsertBeforeMultiBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
Rad
|
Sdt
|
Implements
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
public virtual void InsertBeforeSoftBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
Rad
|
Sdt
|
Implements
InsertCore(RadDocumentEditor)
Declaration
public virtual void InsertCore(RadDocumentEditor editor)
Parameters
Rad
|
Implements
InsertInEmptyParagraph(RadDocumentEditor, Paragraph)
Represents the case of inserting in the beginning of an empty paragraph.
Declaration
public virtual void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters
Rad
|
Paragraph
paragraph
|
Implements
InsertInEmptyTableCell(RadDocumentEditor, TableCell)
Represents the case of inserting in the beginning of an empty table cell.
Declaration
public virtual void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)
Parameters
Rad
|
Table
|
Implements
InsertInMultiSelection(RadDocumentEditor)
Represents the case of inserting a content control in a multiple selection scenario.
Declaration
public virtual void InsertInMultiSelection(RadDocumentEditor editor)
Parameters
Rad
|
Implements
InsertSdtInPartialParagraphSelection(RadDocumentEditor)
Represents the case of inserting an inline content control around a partially selected paragraph.
Declaration
public virtual void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)
Parameters
Rad
|
Implements
UpdateContent()
Updates the content according to the state of the properties.
Declaration
public virtual void UpdateContent()
Implements
UpdateContent(RadDocumentEditor)
Updates the content according to the state of the properties.
Declaration
public virtual void UpdateContent(RadDocumentEditor editor)
Parameters
Rad
|
UpdateStyle()
Updates the associated style according to the state of the properties.
Declaration
public virtual void UpdateStyle()