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

Base for field-code nodes that can hold an argument, such as a complete expression or a switch.

Definition

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

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public abstract class FieldNodeWithArgumentBase : IFieldCodeExpressionNode

Inheritance: objectFieldNodeWithArgumentBase

Derived Classes: FieldCodeExpressionFieldSwitchNode

Implements: IFieldCodeExpressionNode

Constructors

C#
protected FieldNodeWithArgumentBase()

Properties

Gets or sets the argument associated with this node.

C#
public IFieldArgumentNode FieldArgumentNode { get; set; }

Methods

Gets the inline elements that represent this node.

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

IEnumerable<Inline>

The node's inline representation.

Implements: IFieldCodeExpressionNode.GetCodeExpressionFragment()

Gets the textual code representation of this node.

C#
public abstract string GetCodeExpressionString()
Returns:

string

The node's field-code text.

Implements: IFieldCodeExpressionNode.GetCodeExpressionString()