Class
NumberFormatStringInfo

Provides configuration for number formatting, specifying decimal places and thousand separator usage.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.Infos

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class NumberFormatStringInfo : ICategorizedFormatStringInfo

Inheritance: objectNumberFormatStringInfo

Implements: ICategorizedFormatStringInfo

Constructors

NumberFormatStringInfo(int, bool)

Initializes a new instance of the NumberFormatStringInfo class.

Declaration

cs-api-definition
public NumberFormatStringInfo(int decimalPlaces, bool useThousandSeparator)

Parameters

decimalPlaces

int

The decimal places.

useThousandSeparator

bool

The use thousand separator.

Properties

DecimalPlaces

Number of decimal places to display in the formatted value.

Declaration

cs-api-definition
public int DecimalPlaces { get; }

Property Value

int

The decimal places.

UseThousandSeparator

Indicates whether thousand separators are included in the formatted output.

Declaration

cs-api-definition
public bool UseThousandSeparator { get; }

Property Value

bool

The use thousand separator.