New to Telerik UI for WPF? Start a free 30-day trial

Represents ContentGenerator for picture content control.

Definition

Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class SdtPictureContentGenerator : SdtContentGenerator<PictureProperties>

Inheritance: objectSdtContentGenerator<PictureProperties>SdtPictureContentGenerator

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

Constructors

Initializes a new instance of the SdtPictureContentGenerator class.

C#
public SdtPictureContentGenerator(PictureProperties properties)
Parameters:propertiesPictureProperties

Properties

Gets the name of the placeholder style

C#
public override string PlaceholderStyleName { get; }

Overrides: SdtContentGenerator<PictureProperties>.PlaceholderStyleName

Methods

Generates the actual content fragment (non-placeholder).

C#
public override DocumentFragment GetContentFragmentOverride()
Returns:

DocumentFragment

Overrides: SdtContentGenerator<PictureProperties>.GetContentFragmentOverride()

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

C#
public override DocumentFragment GetPlaceholderFragment()
Returns:

DocumentFragment

A DocumentFragment instance representing the placeholder fragment.

Overrides: SdtContentGenerator<PictureProperties>.GetPlaceholderFragment()