FieldCodeExpression
Represents a field type, its optional argument, and its ordered switch nodes.
Definition
Namespace:Telerik.WinForms.Documents.Model.Fields.CodeExpressions
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class FieldCodeExpression : FieldNodeWithArgumentBase, IFieldCodeExpressionNode
Inheritance: objectFieldNodeWithArgumentBaseFieldCodeExpression
Implements:
Inherited Members
Constructors
Creates an expression with an empty switch list and no field type or argument.
public FieldCodeExpression()
Properties
Gets or sets the node that supplies the field type token.
public FieldTypeNode FieldTypeNode { get; set; }
Gets the switches that follow the field argument, in their code order.
public List<FieldSwitchNode> SwitchNodes { get; }
Methods
Gets inline elements for the expression, including its opening and closing field delimiters.
public override IEnumerable<Inline> GetCodeExpressionFragment()
IEnumerable<Inline>
The inline representation of the expression.
Overrides:
Gets the code text for the field type, optional argument, and switches, without surrounding field delimiters.