Class ThousandsSeparatorToken
Class used for thousands separator token.
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.FormatParser.FormatTokens
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class ThousandsSeparatorToken : SingleCharToken, ICloneable
Constructors
ThousandsSeparatorToken()
Initializes a new instance of the ThousandsSeparatorToken class.
Declaration
public ThousandsSeparatorToken()
Properties
FormatChar
Format character. Read-only.
Declaration
public override char FormatChar { get; }
Property Value
| Type |
|---|
| char |
Overrides
IsAfterDigits
Gets or sets a value indicating whether this separator is placed immediately
after last digit token. Read-only.
Declaration
public bool IsAfterDigits { get; set; }
Property Value
| Type |
|---|
| bool |
TokenType
Returns type of the token. Read-only.
Declaration
public override TokenType TokenType { get; }
Property Value
| Type |
|---|
| TokenType |
Overrides
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
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
PreprocessValue(double)
Prepares value to display.
Declaration
public double PreprocessValue(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| double | value | Value to prepare. |
Returns
| Type | Description |
|---|---|
| double | Prepared value. |