alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ColorToken

    Class used for Color Tokens.

    Inheritance
    object
    FormatTokenBase
    InBracketToken
    ColorToken
    Implements
    ICloneable
    Inherited Members
    FormatTokenBase.ApplyFormat(ref double)
    FormatTokenBase.ApplyFormat(string)
    FormatTokenBase.Clone()
    FormatTokenBase.DEF_OPTIONS
    FormatTokenBase.FindString(string[], string, int, bool)
    FormatTokenBase.Format
    FormatTokenBase.m_strFormat
    FormatTokenBase.OnFormatChange()
    FormatTokenBase.TryParseRegex(Regex, string, int)
    FormatTokenBase.TryParseRegex(Regex, string, int, out Match)
    InBracketToken.TryParse(string, int)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.FormatParser.FormatTokens
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public class ColorToken : InBracketToken, ICloneable

    Constructors

    ColorToken()

    Initializes a new instance of the ColorToken class

    Declaration
    public ColorToken()

    Properties

    TokenType

    Returns type of the token. Read-only.

    Declaration
    public override TokenType TokenType { get; }
    Property Value
    Type
    TokenType
    Overrides
    FormatTokenBase.TokenType

    Methods

    ApplyFormat(ref double, bool, CultureInfo, FormatSection)

    Applies format to the value.

    Declaration
    public override string ApplyFormat(ref double value, bool bShowHiddenSymbols, CultureInfo culture, FormatSection section)
    Parameters
    Type Name Description
    double value

    Value to format.

    bool bShowHiddenSymbols

    Indicates whether to put in result hidden symbols.

    CultureInfo culture

    Culture used to convert value into text.

    FormatSection section

    Parent section.

    Returns
    Type Description
    string

    Formatted value.

    Overrides
    FormatTokenBase.ApplyFormat(ref double, bool, CultureInfo, FormatSection)

    ApplyFormat(string, bool)

    Applies format to the value.

    Declaration
    public override string ApplyFormat(string value, bool bShowHiddenSymbols)
    Parameters
    Type Name Description
    string value

    Value to format.

    bool bShowHiddenSymbols

    Indicates whether to put in result hidden symbols.

    Returns
    Type Description
    string

    Formatted value.

    Overrides
    FormatTokenBase.ApplyFormat(string, bool)

    TryParse(string, int, int, int)

    Tries to parse format string.

    Declaration
    public override int TryParse(string strFormat, int iStartIndex, int iIndex, int iEndIndex)
    Parameters
    Type Name Description
    string strFormat

    Format string to parse.

    int iStartIndex

    Position of the first bracket.

    int iIndex

    Position to start parsing at.

    int iEndIndex

    Position of the end bracket.

    Returns
    Type Description
    int

    Position after parsed block.

    Overrides
    InBracketToken.TryParse(string, int, int, int)

    Implements

    ICloneable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved