Represents a document variable field in the Telerik document model.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class DocumentVariableField : CodeBasedField, ISupportInitialize
Inheritance: objectFieldCodeBasedFieldDocumentVariableField
Implements:
Inherited Members
Constructors
public DocumentVariableField()
Fields
public static readonly FieldPropertyDefinition VariableNameProperty
Properties
Gets the name of the field type.
public override string FieldTypeName { get; }
Overrides:
Gets the name of the document variable associated with the field.
[XamlSerializable]
public string VariableName { get; set; }
A string representing the name of the document variable. If the variable name has not been set, this property returns null.
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: