New to Telerik UI for WinForms? Start a free 30-day trial

Represents a nested field used as a field-code argument.

Definition

Namespace:Telerik.WinForms.Documents.Model.Fields.CodeExpressions

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class NestedFieldArgumentNode : IFieldArgumentNode, IFieldCodeExpressionNode

Inheritance: objectNestedFieldArgumentNode

Implements: IFieldArgumentNodeIFieldCodeExpressionNode

Constructors

Creates a node for a nested field.

C#
public NestedFieldArgumentNode(Field field)
Parameters:fieldField

The field to use as the argument.

Properties

Gets the nested field that supplies this argument.

C#
public Field Field { get; }

Gets the nested field's result text.

C#
public string Text { get; }

Implements: IFieldArgumentNode.Text

Methods

Gets a paired field range containing the nested field's code fragment.

C#
public IEnumerable<Inline> GetCodeExpressionFragment()
Returns:

IEnumerable<Inline>

The inline representation of the nested field argument.

Implements: IFieldCodeExpressionNode.GetCodeExpressionFragment()

Gets the nested field's code fragment as text.

C#
public string GetCodeExpressionString()
Returns:

string

The nested field's code.

Implements: IFieldCodeExpressionNode.GetCodeExpressionString()