Class
FieldSwitch

Represents a switch (modifier) within a field code, identified by its key and optional argument value.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Fields.FieldCode

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

cs-api-definition
public class FieldSwitch

Inheritance: objectFieldSwitch

Constructors

FieldSwitch(string)

Initializes a new instance of the FieldSwitch class.

Declaration

cs-api-definition
public FieldSwitch(string switchValue)

Parameters

switchValue

string

The switch key.

Properties

Argument

Gets or sets the optional argument value that follows this switch in the field code.

Declaration

cs-api-definition
public FieldArgument Argument { get; set; }

Property Value

FieldArgument

The argument.

SwitchValue

Gets the switch identifier (typically a single character or short string) from the field code.

Declaration

cs-api-definition
public string SwitchValue { get; }

Property Value

string

The switch key.