Class SdtContentGenerator<T>
Represents a base class for generating Content Controls' content.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Model.StructuredDocumentTags
Assembly: Telerik.Windows.Documents.dll
Syntax
public abstract class SdtContentGenerator<T>
where T : SdtProperties
Type Parameters
T
|
Constructors
SdtContentGenerator(T)
Declaration
public SdtContentGenerator(T properties)
Parameters
T
properties
|
Properties
PlaceholderStyleName
Gets the name of the placeholder style
Declaration
public virtual string PlaceholderStyleName { get; }
Property Value
System.String
|
Properties
Gets the associated properties.
Declaration
public T Properties { get; }
Property Value
T
|
Methods
GetContentFragment(RadDocument)
Generates a document fragment in accordance to the state of the sdt properties.
Declaration
public virtual DocumentFragment GetContentFragment(RadDocument document)
Parameters
RadDocument
document
|
Returns
DocumentFragment
|
GetContentFragmentOverride()
Generates the actual content fragment (non-placeholder).
Declaration
public abstract DocumentFragment GetContentFragmentOverride()
Returns
DocumentFragment
|
GetPlaceholderFragment()
Generates a placeholder content fragment.
Declaration
public virtual DocumentFragment GetPlaceholderFragment()
Returns
DocumentFragment
|
GetPlaceholderStyle(RadDocument)
Retrieves the style associated with placeholder content.
Declaration
public virtual StyleDefinition GetPlaceholderStyle(RadDocument document)
Parameters
RadDocument
document
|
Returns
StyleDefinition
|