Class XamlTokenizer
XAML tokenizer which tokens are designed to match VS syntax highlighting.
Inheritance
System.Object
    XamlTokenizer
  Inherited Members
      System.Object.Equals(System.Object)
    
      System.Object.Equals(System.Object, System.Object)
    
      System.Object.GetHashCode()
    
      System.Object.GetType()
    
      System.Object.MemberwiseClone()
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
      System.Object.ToString()
    
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class XamlTokenizerConstructors
XamlTokenizer()
Declaration
public XamlTokenizer()Properties
RemainingText
Gets the remaining text.
Declaration
public string RemainingText { get; }Property Value
| Type | Description | 
|---|---|
| System.String | The remaining text. | 
Methods
ColorForToken(XamlToken, String)
Colors for token.
Declaration
public static Color ColorForToken(XamlToken token, string tokenText)Parameters
| Type | Name | Description | 
|---|---|---|
| XamlToken | token | The token. | 
| System.String | tokenText | The token text. | 
Returns
| Type | Description | 
|---|---|
| System.Windows.Media.Color | return color value. | 
Tokenize(String)
Tokenizes the specified input.
Declaration
public static List<XamlToken> Tokenize(string input)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | input | The input value. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.List<XamlToken> | Return Xaml Token | 
Tokenize(String, ref XamlTokenizerMode)
Tokenizes the specified input.
Declaration
public List<XamlToken> Tokenize(string input, ref XamlTokenizerMode x_mode)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | input | The input. | 
| XamlTokenizerMode | x_mode | The x_mode. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.List<XamlToken> | Return Xaml Token |