ClassSdtPictureBuilder
Represents an SdtBuilder that handles the generation of picture content controls.
Definition
Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class SdtPictureBuilder : SdtBuilder<PictureProperties>, ISdtBuilder
Inheritance: objectSdtBuilder<PictureProperties>SdtPictureBuilder
Implements:
Inherited Members
Constructors
SdtPictureBuilder(SdtRangeStart, PictureProperties)
Initializes a new instance of the SdtPictureBuilder class.
Declaration
public SdtPictureBuilder(SdtRangeStart sdtStart, PictureProperties properties)
Parameters
sdtStart
properties
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 override void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
editor
previousSdtEnd
Overrides
InsertAroundSelectedImage(RadDocumentEditor)
Represents the case of inserting a content control around a single selected image.
Declaration
public override void InsertAroundSelectedImage(RadDocumentEditor editor)
Parameters
editor
Overrides
InsertAroundSelectedInlineRange(RadDocumentEditor)
Represents the case of inserting an inline content control around a free selection.
Declaration
public override void InsertAroundSelectedInlineRange(RadDocumentEditor editor)
Parameters
editor
Overrides
InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)
Represents the case of inserting a content control around multiple selected paragraphs or tables.
Declaration
public override void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)
Parameters
editor
firstBlock
lastBlock
Overrides
InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)
Represents the case of inserting a content control around multiple selected rows.
Declaration
public override void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)
Parameters
editor
firstRow
lastRow
Overrides
InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)
Represents the case of inserting a content control around a single selected paragraph.
Declaration
public override void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters
editor
paragraph
Overrides
InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)
Represents the case of inserting a content control around a single selected row.
Declaration
public override void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)
Parameters
editor
row
Overrides
InsertAroundSelectedTable(RadDocumentEditor, Table)
Represents the case of inserting a content control around a single selected table.
Declaration
public override void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)
Parameters
editor
table
Overrides
InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)
Represents the case of inserting a content control around a table cell.
Declaration
public override void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)
Parameters
editor
cell
Overrides
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 override void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
editor
nextSdtStart
Overrides
InsertCore(RadDocumentEditor)
Executes the main insert logic.
Declaration
public override void InsertCore(RadDocumentEditor editor)
Parameters
editor
Overrides
InsertInEmptyParagraph(RadDocumentEditor, Paragraph)
Represents the case of inserting in the beginning of an empty paragraph.
Declaration
public override void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters
editor
paragraph
Overrides
InsertInEmptyTableCell(RadDocumentEditor, TableCell)
Represents the case of inserting in the beginning of an empty table cell.
Declaration
public override void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)
Parameters
editor
tableCell
Overrides
InsertInMultiSelection(RadDocumentEditor)
Represents the case of inserting a content control in a multiple selection scenario.
Declaration
public override void InsertInMultiSelection(RadDocumentEditor editor)
Parameters
editor
Overrides