Class NumberFormatStringBuilder
Builds number format strings with optional thousands separator and specified decimal places following the current culture's conventions.
Inheritance
System.Object
NumberFormatStringBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.Builders
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public static class NumberFormatStringBuilder
Methods
BuildFormatStrings(Int32, Boolean)
Builds a list of number format strings with the specified decimal places and optional thousands separator.
Declaration
public static List<string> BuildFormatStrings(int decimalPlaces, bool useThousandSeparator)
Parameters
|
System.Int32
decimalPlaces
The decimal places. |
|
System.Boolean
useThousandSeparator
The use thousand separator. |
Returns
|
System.Collections.Generic.List<System.String>
|