[]
Represents the value formatter.
public interface IFormatter
Public Interface IFormatter
| Name | Description |
|---|---|
| Culture | Gets the culture for the current formatter. |
| FormatCode | Gets the format code for this formatter. |
| SectionCount | Gets the total number of sections in the number format. |
| Name | Description |
|---|---|
| ContainsCurrencyFormat(int) | Gets a value indicating whether this IFormatter contains currency number format in the section formatter. |
| ContainsDateFormat() | Gets a value indicating whether this IFormatter contains Day, Month or Year in the section formatter. |
| ContainsDateTimeFormat() | Gets a value indicating whether this GrapeCity.Spreadsheet.Formatter contains at least one Date section formatter. |
| ContainsFraction() | Gets a value indicating whether this IFormatter contains fraction number format in the section formatter. |
| ContainsGroupSeparator(int) | Gets a value indicating whether this IFormatter contains group separator in the section formatter. |
| ContainsNumberFormat(int) | Gets a value indicating whether this IFormatter contains number format in the section formatter. |
| ContainsPercentage(int) | Gets a value indicating whether this IFormatter contains percentage number format in the section formatter. |
| ContainsScientificFormat(int) | Gets a value indicating whether this IFormatter contains scientific format in the section formatter. |
| ContainsTimeFormat() | Gets a value indicating whether this GrapeCity.Spreadsheet.Formatter contains at least one Time section formatter. |
| Format(bool, FormatOptions) | Formats the specified boolean value to display text. |
| Format(DateTime, FormatOptions) | Formats the specified date to display text. |
| Format(double, FormatOptions) | Formats the specified number to display text. |
| Format(object, FormatOptions) | Formats the specified object to display text. |
| Format(string, FormatOptions) | Formats the specified text to display text. |
| Format(TimeSpan, FormatOptions) | Formats the specified number to display text. |
| GetDecimalPartLength(int) | Gets a value indicating the decimal part's length of section inside IFormatter. |
| IsDateGeneral() | Determines whether the current formatter is general formatter for date values. |
| IsExportCustomizable() | Determines whether the formatter customize the exported cell value. |
| IsFormattedAsNumeric(double) | Determines whether the specified numeric value is formatted as numeric. |
| IsFormattedAsText(double) | Determines whether the specified numeric value is formatted as text. |
| IsFormattedAsText(object) | Determines whether the specified value is formatted as text. |
| IsFormattedColorForNegativeValues() | Indicates whether the current formatter will format negative value with the specified color. |
| IsFormattedWithDBNum() | Determines whether the current formatter formats number with DBNum. |
| IsFormattedWithParenthesesForPositiveValues() | Indicates whether the current formatter will format positive value with the parentheses. |
| IsGeneral() | Determines whether the current formatter is general formatter. |
| Parse(string, NumberFormatConvertMode) | Parses the specified format string. |
| ParseText(string) | Parse the specified text to a cell value. |