FieldSwitchNode
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
Properties
Gets or sets the switch characters for the FieldSwitchNode.
public string SwitchCharacters { get; }
A collection of characters that define the switch options for the FieldSwitchNode.
Methods
Retrieves the code expression fragment associated with the FieldSwitchNode.
public override IEnumerable<Inline> GetCodeExpressionFragment()
A string representing the code expression fragment.
Overrides:
Retrieves the string representation of the code expression for the FieldSwitchNode.
public override string GetCodeExpressionString()
A string that represents the code expression of the FieldSwitchNode.
Overrides: