New to Telerik UI for WinFormsStart a free 30-day trial

Definition

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

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class FieldCodeExpression : FieldNodeWithArgumentBase, IFieldCodeExpressionNode

Inheritance: objectFieldNodeWithArgumentBaseFieldCodeExpression

Implements: IFieldCodeExpressionNode

Inherited Members FieldNodeWithArgumentBase.FieldArgumentNode

Constructors

C#
public FieldCodeExpression()

Properties

C#
public FieldTypeNode FieldTypeNode { get; set; }
C#
public List<FieldSwitchNode> SwitchNodes { get; }

Methods

C#
public bool ContainsSwitch(string switchChars)
Parameters:switchCharsstringReturns:

bool

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

IEnumerable<Inline>

Overrides: FieldNodeWithArgumentBase.GetCodeExpressionFragment()

C#
public override string GetCodeExpressionString()
Returns:

string

Overrides: FieldNodeWithArgumentBase.GetCodeExpressionString()

C#
public FieldSwitchNode GetFieldSwitch(string switchChars)
Parameters:switchCharsstringReturns:

FieldSwitchNode

C#
public IFieldArgumentNode GetSwitchArgument(string switchChar)
Parameters:switchCharstringReturns:

IFieldArgumentNode