Class Formats
Represents the formats class used by the spreadsheet model.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public static class Formats
Properties
Accounting
Reports the number of items currently held by Formats.
Declaration
public static Format Accounting { get; }
Property Value
| Type | Description |
|---|---|
| Format | The accounting returned by the operation. |
Currency
Exposes the currency associated with Formats.
Declaration
public static Format Currency { get; }
Property Value
| Type | Description |
|---|---|
| Format | The currency returned by the operation. |
DecimalPercent
Exposes the decimal percent associated with Formats.
Declaration
public static Format DecimalPercent { get; }
Property Value
| Type | Description |
|---|---|
| Format | The decimal percent returned by the operation. |
Fraction
Exposes the fraction associated with Formats.
Declaration
public static Format Fraction { get; }
Property Value
| Type | Description |
|---|---|
| Format | The fraction returned by the operation. |
General
Exposes the general associated with Formats.
Declaration
public static GeneralFormat General { get; }
Property Value
| Type | Description |
|---|---|
| GeneralFormat | The general returned by the operation. |
LongDate
Exposes the long date associated with Formats.
Declaration
public static Format LongDate { get; }
Property Value
| Type | Description |
|---|---|
| Format | The long date returned by the operation. |
Number
Get the default number format
Declaration
public static Format Number { get; }
Property Value
| Type | Description |
|---|---|
| Format |
Percent
Exposes the percent associated with Formats.
Declaration
public static Format Percent { get; }
Property Value
| Type | Description |
|---|---|
| Format | The percent returned by the operation. |
Scientific
Exposes the scientific associated with Formats.
Declaration
public static Format Scientific { get; }
Property Value
| Type | Description |
|---|---|
| Format | The scientific returned by the operation. |
ShortDate
Exposes the short date associated with Formats.
Declaration
public static Format ShortDate { get; }
Property Value
| Type | Description |
|---|---|
| Format | The short date returned by the operation. |
Text
Exposes the text associated with Formats.
Declaration
public static Format Text { get; }
Property Value
| Type | Description |
|---|---|
| Format | The text returned by the operation. |
Time
Get the default time format
Declaration
public static Format Time { get; }
Property Value
| Type | Description |
|---|---|
| Format |