alexa
menu

MAUI

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

    Show / Hide Table of Contents

    Class DigitToken

    Class used for describing Digit Tokens.

    Inheritance
    object
    FormatTokenBase
    SingleCharToken
    DigitToken
    InsignificantDigitToken
    PlaceReservedDigitToken
    SignificantDigitToken
    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.TokenType
    FormatTokenBase.TryParseRegex(Regex, string, int)
    FormatTokenBase.TryParseRegex(Regex, string, int, out Match)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    SingleCharToken.FormatChar
    SingleCharToken.TryParse(string, int)
    Namespace: Syncfusion.XlsIO.FormatParser.FormatTokens
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    public abstract class DigitToken : SingleCharToken, ICloneable

    Constructors

    DigitToken()

    Initializes a new instance of the DigitToken class.

    Declaration
    public DigitToken()

    Properties

    IsCenterDigit

    Gets or sets a value indicating whether this digit is last in the sequence of digits.

    Declaration
    public bool IsCenterDigit { get; }
    Property Value
    Type
    bool

    IsLastDigit

    Gets or sets a value indicating whether this digit is last in the sequence of digits and all significant numbers should be displayed. Read-only.

    Declaration
    public bool IsLastDigit { get; set; }
    Property Value
    Type
    bool

    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
    SingleCharToken.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
    SingleCharToken.ApplyFormat(string, bool)

    GetDigit(ref double)

    Gets single digit from number and updates number.

    Declaration
    protected int GetDigit(ref double value)
    Parameters
    Type Name Description
    double value

    Number to get digit from.

    Returns
    Type Description
    int

    Extracted digit.

    GetDigitString(double, int, bool)

    Returns string representation according to the current format and digit value.

    Declaration
    protected virtual string GetDigitString(double value, int iDigit, bool bShowHiddenSymbols)
    Parameters
    Type Name Description
    double value

    Value after removing current digit.

    int iDigit

    Digit to convert into string.

    bool bShowHiddenSymbols

    Indicates whether to show hidden symbols.

    Returns
    Type Description
    string

    Converted value.

    Implements

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