ClassFieldSwitchNode
Represents a switch node in a field code expression that evaluates multiple cases and returns a result based on the matching case.
Definition
Namespace:Telerik.Windows.Documents.Model.Fields.CodeExpressions
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class FieldSwitchNode : FieldNodeWithArgumentBase, IFieldCodeExpressionNode
Inheritance: objectFieldNodeWithArgumentBaseFieldSwitchNode
Implements:
Inherited Members
Constructors
FieldSwitchNode(string)
Declaration
public FieldSwitchNode(string switchCharacters)
Parameters
switchCharacters
Properties
SwitchCharacters
Gets or sets the switch characters for the FieldSwitchNode.
Declaration
public string SwitchCharacters { get; }
Property Value
A collection of characters that define the switch options for the FieldSwitchNode.
Methods
GetCodeExpressionFragment()
Retrieves the code expression fragment associated with the FieldSwitchNode.
Declaration
public override IEnumerable<Inline> GetCodeExpressionFragment()
Returns
A string representing the code expression fragment.
Overrides
GetCodeExpressionString()
Retrieves the string representation of the code expression for the FieldSwitchNode.
Declaration
public override string GetCodeExpressionString()
Returns
A string that represents the code expression of the FieldSwitchNode.
Overrides