TCField
Represents a field in a document model that can contain dynamic values.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class TCField : CodeBasedField, ISupportInitialize
Inheritance: objectFieldCodeBasedFieldTCField
Implements:
Inherited Members
Constructors
public TCField()
Fields
Represents the text entry of a table of contents field.
public static readonly FieldPropertyDefinition EntryTextProperty
Gets or sets the level of the table of contents field.
public static readonly FieldPropertyDefinition TCLevelProperty
An integer representing the level of the table of contents. The level determines the hierarchy of the entry in the table of contents.
Gets the type identifier of the TCField.
public static readonly FieldPropertyDefinition TypeIdentifierProperty
Properties
Represents the text entry of a table of contents field.
[XamlSerializable]
public string EntryText { get; set; }
Gets the name of the field type.
public override string FieldTypeName { get; }
Overrides:
Gets the type identifier of the TCField.
[XamlSerializable]
public string TypeIdentifier { get; set; }
Gets or sets the level of the table of contents (TOC) field.
[XamlSerializable]
public bool UseTCLevel { get; set; }
The level of the table of contents field. This value determines the hierarchy of the TOC entry.
Methods
Builds the field-specific parts of the code fragment, using the current CodeBuilder.
protected override void BuildCodeOverride()
Overrides:
Copies all properties from another field of the same type.
public override void CopyPropertiesFrom(Field fromField)
The other field, which has to be of the same type as the current instance.
Overrides:
Copies the field-specific properties from a FieldCodeExpression.
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
The field code expression.
Overrides:
Creates a new instance of the current field class.
Builds the result fragment of the field.
protected override DocumentFragment GetResultFragment()
The result fragment.
Overrides: