Class NumberFormatStringInfo
Provides configuration for number formatting, specifying decimal places and thousand separator usage.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.Infos
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class NumberFormatStringInfo : ICategorizedFormatStringInfo
Constructors
NumberFormatStringInfo(Int32, Boolean)
Initializes a new instance of the NumberFormatStringInfo class.
Declaration
public NumberFormatStringInfo(int decimalPlaces, bool useThousandSeparator)
Parameters
|
System.Int32
decimalPlaces
The decimal places. |
|
System.Boolean
useThousandSeparator
The use thousand separator. |
Properties
DecimalPlaces
Number of decimal places to display in the formatted value.
Declaration
public int DecimalPlaces { get; }
Property Value
|
System.Int32
The decimal places. |
UseThousandSeparator
Indicates whether thousand separators are included in the formatted output.
Declaration
public bool UseThousandSeparator { get; }
Property Value
|
System.Boolean
The use thousand separator. |