skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SdtBuilder<T>

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

Inheritance
System.Object
SdtBuilder<T>
SdtCheckBoxBuilder
SdtComboBoxBuilder
SdtDateBuilder
SdtDropDownListBuilder
SdtPictureBuilder
SdtRepeatingSectionBuilder
SdtRepeatingSectionItemBuilder
SdtRichTextBuilder
SdtTextBuilder
Namespace: Telerik.Windows.Documents.Model.StructuredDocumentTags
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public abstract class SdtBuilder<T> : Object, ISdtBuilder where T : SdtProperties
Type Parameters
T

Constructors

SdtBuilder(SdtRangeStart)

Declaration
public SdtBuilder(SdtRangeStart sdtStart)
Parameters
SdtRangeStart sdtStart

Properties

SdtStart

Gets the assoiated SdtStart (start of Content Control range)

Declaration
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
public virtual void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadDocumentEditor editor

SdtRangeEnd previousSdtEnd

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
public virtual void InsertAfterMultiBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadDocumentEditor editor

SdtRangeEnd previousSdtEnd

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
public virtual void InsertAfterSoftBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadDocumentEditor editor

SdtRangeEnd previousSdtEnd

Implements
ISdtBuilder.InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)

InsertAroundSelectedImage(RadDocumentEditor)

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

Declaration
public virtual void InsertAroundSelectedImage(RadDocumentEditor editor)
Parameters
RadDocumentEditor editor

Implements
ISdtBuilder.InsertAroundSelectedImage(RadDocumentEditor)

InsertAroundSelectedInlineRange(RadDocumentEditor)

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

Declaration
public virtual void InsertAroundSelectedInlineRange(RadDocumentEditor editor)
Parameters
RadDocumentEditor editor

Implements
ISdtBuilder.InsertAroundSelectedInlineRange(RadDocumentEditor)

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
RadDocumentEditor editor

Block firstBlock

Block lastBlock

Implements
ISdtBuilder.InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)

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
RadDocumentEditor editor

TableRow firstRow

TableRow lastRow

Implements
ISdtBuilder.InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)

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
RadDocumentEditor editor

Paragraph paragraph

Implements
ISdtBuilder.InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)

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
RadDocumentEditor editor

TableRow row

Implements
ISdtBuilder.InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)

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
RadDocumentEditor editor

Table table

Implements
ISdtBuilder.InsertAroundSelectedTable(RadDocumentEditor, Table)

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
RadDocumentEditor editor

TableCell cell

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
public virtual void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadDocumentEditor editor

SdtRangeStart nextSdtStart

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
public virtual void InsertBeforeMultiBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadDocumentEditor editor

SdtRangeStart nextSdtStart

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
public virtual void InsertBeforeSoftBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadDocumentEditor editor

SdtRangeStart nextSdtStart

Implements
ISdtBuilder.InsertBeforeSoftBlockSdt(RadDocumentEditor, SdtRangeStart)

InsertCore(RadDocumentEditor)

Inserts content into the specified RadDocumentEditor using the SdtBuilder.

Declaration
public virtual void InsertCore(RadDocumentEditor editor)
Parameters
RadDocumentEditor editor

The RadDocumentEditor instance where the content will be inserted.

Implements
ISdtBuilder.InsertCore(RadDocumentEditor)

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
RadDocumentEditor editor

Paragraph paragraph

Implements
ISdtBuilder.InsertInEmptyParagraph(RadDocumentEditor, Paragraph)

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
RadDocumentEditor editor

TableCell tableCell

Implements
ISdtBuilder.InsertInEmptyTableCell(RadDocumentEditor, TableCell)

InsertInMultiSelection(RadDocumentEditor)

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

Declaration
public virtual void InsertInMultiSelection(RadDocumentEditor editor)
Parameters
RadDocumentEditor editor

Implements
ISdtBuilder.InsertInMultiSelection(RadDocumentEditor)

InsertSdtInPartialParagraphSelection(RadDocumentEditor)

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

Declaration
public virtual void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)
Parameters
RadDocumentEditor editor

Implements
ISdtBuilder.InsertSdtInPartialParagraphSelection(RadDocumentEditor)

UpdateContent()

Updates the content according to the state of the properties.

Declaration
public virtual void UpdateContent()
Implements
ISdtBuilder.UpdateContent()

UpdateContent(RadDocumentEditor)

Updates the content according to the state of the properties.

Declaration
public virtual void UpdateContent(RadDocumentEditor editor)
Parameters
RadDocumentEditor editor

UpdateStyle()

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

Declaration
public virtual void UpdateStyle()
Implements
ISdtBuilder.UpdateStyle()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.