FieldInfo
Holds the structural information and boundaries (Start, Separator, End) of a field inserted in the document.
Definition
Namespace:Telerik.Windows.Documents.Flow.Model.Fields
Assembly:Telerik.Windows.Documents.Flow.dll
Syntax:
public class FieldInfo
Inheritance: objectFieldInfo
Constructors
Initializes a new instance of the FieldInfo class for the specified document.
Methods
Extracts the field code as a string, using nested field results for any fields within the code fragment.
Extracts the field result as a string, resolving any nested fields within the result fragment.
Recalculates the field result and updates any nested fields within the field code fragment.
public void UpdateField()
Properties
Gets the document containing this field.
public RadFlowDocument Document { get; }
The document.
Gets the field character that marks the end of the field.
public FieldCharacter End { get; }
The end field character.
Gets the parsed field instance representing the field code, or null if parsing failed.
public Field Field { get; }
The current field.
Gets or sets whether the field result is outdated and should be recalculated before display.
public bool IsDirty { get; set; }
The IsDirty value.
Gets or sets whether the field is locked, preventing automatic updates during document processing.
public bool IsLocked { get; set; }
The IsLocked value.
Gets the field character that separates the field code from the field result, or null if absent.
public FieldCharacter Separator { get; }
The separator field character.
Gets the field character that marks the beginning of the field.
public FieldCharacter Start { get; }
The start field character.