FieldArgumentNode
Class
Represents a textual field-code argument, escaping it when the argument is written back as code.
Definition
Namespace:Telerik.WinForms.Documents.Model.Fields.CodeExpressions
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class FieldArgumentNode : IFieldArgumentNode, IFieldCodeExpressionNode
Inheritance: objectFieldArgumentNode
Implements:
Constructors
Creates a text argument and applies the parser's conditional backslash normalization.
C#
public FieldArgumentNode(string argument)
The non-empty argument text.
Exceptions: ArgumentNullExceptionargument is null.
argument is empty.
Properties
Methods
Gets a single inline span containing the serialized argument.
C#
public IEnumerable<Inline> GetCodeExpressionFragment()
IEnumerable<Inline>
The inline representation of the argument.
Implements:
Gets the field-code form of the argument, escaping backslashes and quotes and quoting text that contains whitespace.
C#
public string GetCodeExpressionString()
The serialized argument text.
Implements: