FieldCodeParser
Parses field code expressions in Telerik documents.
Definition
Namespace:Telerik.Windows.Documents.Model.Fields.CodeExpressions
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class FieldCodeParser
Inheritance: objectFieldCodeParser
Constructors
public FieldCodeParser()
Methods
Parses a DocumentFragment to extract a FieldCodeExpression.
public bool TryParse(DocumentFragment fragment, out FieldCodeExpression fieldCodeExpression)
The DocumentFragment to be parsed.
fieldCodeExpressionFieldCodeExpressionWhen this method returns, contains the parsed FieldCodeExpression if the parse was successful; otherwise, it will be null.
Returns:True if the parsing was successful; otherwise, false.
Attempts to parse a given field code string into a FieldCodeExpression object.
public bool TryParse(string fieldCode, out FieldCodeExpression fieldCodeExpression)
The field code string to be parsed.
fieldCodeExpressionFieldCodeExpressionWhen this method returns, contains the parsed FieldCodeExpression if the parsing succeeded; otherwise, it will be null.
Returns:Returns true if the parsing was successful; otherwise, false.