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

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:

C#
public class FieldSwitchToken : FieldToken

Inheritance: objectFieldTokenFieldSwitchToken

Constructors

C#
public FieldSwitchToken()
C#
public FieldSwitchToken(string @switch)
Parameters:switchstring

Properties

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

C#
public string Switch { get; set; }

Methods

Returns a string representation of the current FieldSwitchToken instance.

C#
public override string ToString()
Returns:

string

A string that describes the FieldSwitchToken instance.

Overrides: object.ToString()