New to Telerik Document ProcessingStart a free 30-day trial

Defines the category of a cell value format string, determining how values are interpreted and displayed.

Definition

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

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public enum FormatStringCategory

Fields

Monetary values with currency symbol alignment and zero display as dash.

C#
Accounting = 3

Monetary values with currency symbol and negative number formatting.

C#
Currency = 2

User-defined format patterns not matching predefined categories.

C#
Custom = 11

Date values formatted according to culture-specific patterns.

C#
Date = 4

Numeric values displayed as fractions with configurable denominators.

C#
Fraction = 7

Default format with no specific pattern.

C#
General = 0

Numeric values with optional decimal places, thousand separators, and negative number handling.

C#
Number = 1

Numeric values displayed as percentages.

C#
Percentage = 6

Numeric values in exponential notation.

C#
Scientific = 8

Culture-specific formats such as postal codes, phone numbers, and social security numbers.

C#
Special = 10

Text values displayed without numeric interpretation.

C#
Text = 9

Time values formatted with hours, minutes, and seconds.

C#
Time = 5