Class
SdtPictureContentGenerator

Represents ContentGenerator for picture content control.

Definition

Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class SdtPictureContentGenerator : SdtContentGenerator<PictureProperties>

Inheritance: objectSdtContentGenerator<PictureProperties>SdtPictureContentGenerator

Inherited Members SdtContentGenerator<PictureProperties>.GetPlaceholderStyle(RadDocument)SdtContentGenerator<PictureProperties>.GetContentFragment(RadDocument)SdtContentGenerator<PictureProperties>.Properties

Constructors

SdtPictureContentGenerator(PictureProperties)

Initializes a new instance of the SdtPictureContentGenerator class.

Declaration

cs-api-definition
public SdtPictureContentGenerator(PictureProperties properties)

Parameters

properties

PictureProperties

Properties

PlaceholderStyleName

Gets the name of the placeholder style

Declaration

cs-api-definition
public override string PlaceholderStyleName { get; }

Property Value

string

Overrides SdtContentGenerator<PictureProperties>.PlaceholderStyleName

Methods

GetContentFragmentOverride()

Generates the actual content fragment (non-placeholder).

Declaration

cs-api-definition
public override DocumentFragment GetContentFragmentOverride()

Returns

DocumentFragment

Overrides SdtContentGenerator<PictureProperties>.GetContentFragmentOverride()

GetPlaceholderFragment()

Generates a placeholder fragment for the structured document tag picture content.

Declaration

cs-api-definition
public override DocumentFragment GetPlaceholderFragment()

Returns

DocumentFragment

A DocumentFragment instance representing the placeholder fragment.

Overrides SdtContentGenerator<PictureProperties>.GetPlaceholderFragment()