menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PercentToken - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PercentToken

    Class used for Percent Token.

    Inheritance
    System.Object
    FormatTokenBase
    SingleCharToken
    PercentToken
    Implements
    System.ICloneable
    Inherited Members
    FormatTokenBase.ApplyFormat(Double)
    FormatTokenBase.ApplyFormat(String)
    FormatTokenBase.Clone()
    FormatTokenBase.DEF_OPTIONS
    FormatTokenBase.FindString(String[], String, Int32, Boolean)
    FormatTokenBase.Format
    FormatTokenBase.m_strFormat
    FormatTokenBase.OnFormatChange()
    FormatTokenBase.TryParseRegex(Regex, String, Int32)
    FormatTokenBase.TryParseRegex(Regex, String, Int32, Match)
    SingleCharToken.TryParse(String, Int32)
    Namespace: Syncfusion.XlsIO.FormatParser.FormatTokens
    Assembly: Syncfusion.XlsIO.Portable.dll
    Syntax
    public class PercentToken : SingleCharToken, ICloneable

    Constructors

    PercentToken()

    Initializes a new instance of the PercentToken class.

    Declaration
    public PercentToken()

    Properties

    FormatChar

    Format character. Read-only.

    Declaration
    public override char FormatChar { get; }
    Property Value
    Type
    System.Char
    Overrides
    SingleCharToken.FormatChar

    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, Boolean, 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
    System.Double value

    Value to format.

    System.Boolean bShowHiddenSymbols

    Indicates whether to put in result hidden symbols.

    System.Globalization.CultureInfo culture

    Culture used to convert value into text.

    FormatSection section

    Parent section.

    Returns
    Type Description
    System.String

    Formatted value.

    Overrides
    SingleCharToken.ApplyFormat(ref Double, Boolean, CultureInfo, FormatSection)

    ApplyFormat(String, Boolean)

    Applies format to the value.

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

    Value to format.

    System.Boolean bShowHiddenSymbols

    Indicates whether to put in result hidden symbols.

    Returns
    Type Description
    System.String

    Formatted value.

    Overrides
    SingleCharToken.ApplyFormat(String, Boolean)

    Implements

    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved