Class SdtProperties
Represents the common properties of a structured document tag.
Inheritance
Namespace: Telerik.Windows.Documents.Model.StructuredDocumentTags
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class SdtProperties : Object, ISdtProperties
Constructors
SdtProperties()
SdtProperties(SdtProperties)
Initializes a new instance of the SdtProperties class.
Declaration
public SdtProperties(SdtProperties copyInstance)
Parameters
SdtProperties
copyInstance
|
SdtProperties(SdtType)
Initializes a new instance of the SdtProperties class.
Declaration
public SdtProperties(SdtType type)
Parameters
SdtType
type
|
Properties
Alias
Gets or sets a friendly name for the associated SDT.
Declaration
[XamlSerializable]
public string Alias { get; set; }
Property Value
System.String
|
DataBinding
Gets or sets an XML mapping (DataBinding) that relates the content of associated SDT to a specific XML node.
Declaration
[XamlCompositePropertySerializable]
public DataBinding DataBinding { get; set; }
Property Value
DataBinding
|
ID
Gets or sets the ID of the associated SDT.
Declaration
[XamlSerializable]
public long ID { get; set; }
Property Value
System.Int64
|
IsContentLocked
Gets a value that indicates whether the content can be modified.
Declaration
protected virtual bool IsContentLocked { get; }
Property Value
System.Boolean
|
IsLocked
Gets a value that indicates whether the annotation range can be modified.
Declaration
protected virtual bool IsLocked { get; }
Property Value
System.Boolean
|
IsTemporary
Gets or sets a value that indicates whether this SDT will be removed after editing its content.
Declaration
[XamlSerializable]
public bool IsTemporary { get; set; }
Property Value
System.Boolean
|
Lock
Gets or sets the locking behavior of the associated SDT.
Declaration
[XamlSerializable]
public Nullable<Lock> Lock { get; set; }
Property Value
System.Nullable<Lock>
|
OutlineAppearance
Gets or sets the outline appearance style.
Declaration
[XamlSerializable]
public Nullable<OutlineAppearance> OutlineAppearance { get; set; }
Property Value
System.Nullable<OutlineAppearance>
|
OutlineColor
Gets or sets the color that is used for visualizing the outline.
Declaration
[XamlSerializable]
public virtual Nullable<Color> OutlineColor { get; set; }
Property Value
System.Nullable<System.Windows.Media.Color>
|
Placeholder
Gets or set the associated placeholder object.
Declaration
[XamlCompositePropertySerializable]
public Placeholder Placeholder { get; set; }
Property Value
Placeholder
|
StyleName
Declaration
public string StyleName { get; set; }
Property Value
System.String
|
Tag
Gets or sets a tag for the associated SDT.
Declaration
[XamlSerializable]
public string Tag { get; set; }
Property Value
System.String
|
Type
Gets the structured document tag type.
Declaration
public SdtType Type { get; }
Property Value
SdtType
|
Methods
GetBuilder(SdtRangeStart)
Provides an ISdtBuilder that generates the structured document tag's content.
Declaration
protected virtual ISdtBuilder GetBuilder(SdtRangeStart associatedSdt)
Parameters
SdtRangeStart
associatedSdt
|
Returns
ISdtBuilder
|