Class
FieldSwitchToken

Represents a token used to switch between different fields in a document format provider.

Definition

Namespace:Telerik.Windows.Documents.FormatProviders.Utils

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class FieldSwitchToken : FieldToken

Inheritance: objectFieldTokenFieldSwitchToken

Constructors

FieldSwitchToken()

Declaration

cs-api-definition
public FieldSwitchToken()

FieldSwitchToken(string)

Declaration

cs-api-definition
public FieldSwitchToken(string @switch)

Parameters

switch

string

Properties

Switch

Switches the current field token to a different token based on the specified conditions.

Declaration

cs-api-definition
public string Switch { get; set; }

Property Value

string

Methods

ToString()

Returns a string representation of the current FieldSwitchToken instance.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that describes the FieldSwitchToken instance.

Overrides object.ToString()