ClassDocumentVariableField
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
DocumentVariableField()
Declaration
public DocumentVariableField()
Fields
VariableNameProperty
Declaration
public static readonly FieldPropertyDefinition VariableNameProperty
Field Value
Properties
FieldTypeName
Gets the name of the field type.
Declaration
public override string FieldTypeName { get; }
Property Value
Overrides
VariableName
Gets the name of the document variable associated with the field.
Declaration
[XamlSerializable]
public string VariableName { get; set; }
Property Value
A string representing the name of the document variable. If the variable name has not been set, this property returns null.
Methods
BuildCodeOverride()
Builds the field-specific parts of the code fragment, using the current CodeBuilder.
Declaration
protected override void BuildCodeOverride()
Overrides
ConvertValueToString(object)
Converts the specified value to its string representation.
CopyPropertiesFrom(Field)
Copies all properties from another field of the same type.
Declaration
public override void CopyPropertiesFrom(Field fromField)
Parameters
fromField
The other field, which has to be of the same type as the current instance.
Overrides
CopyPropertiesFromCodeExpression(FieldCodeExpression)
Copies the field-specific properties from a FieldCodeExpression.
Declaration
protected override void CopyPropertiesFromCodeExpression(FieldCodeExpression fieldCodeExpression)
Parameters
fieldCodeExpression
The field code expression.
Overrides
CreateInstance()
Creates a new instance of the current field class.
Declaration
public override Field CreateInstance()
Returns
The new field instance.
Overrides
GetResultFragment()
Builds the result fragment of the field.
Declaration
protected override DocumentFragment GetResultFragment()
Returns
The result fragment.
Overrides