'DeclarationPublic Enum FormatTypeEnum Inherits System.Enum
public enum FormatTypeEnum : System.Enum
'DeclarationPublic Enum FormatTypeEnum Inherits System.Enum
public enum FormatTypeEnum : System.Enum
| Member | Description |
|---|---|
| Currency | The number is converted to a string that represents a currency amount. |
| CustomFormat | Formatting uses the string assigned to the CustomFormat property. Parsing uses NumberStyle, DateTimeStyle, and CustomFormat properties. |
| DateAndTimeGMT | Formats the date and time as Greenwich Mean Time (GMT). |
| DateTimeSortable | Formats the date and time as a sortable index. |
| DefaultFormat | Conversion using TypeConverter.ConvertToString(). |
| FixedPoint | The number is converted to a string of the form “-ddd.ddd…” where each 'd' indicates a digit (0-9). |
| GeneralDate | General date/time pattern (short time). |
| GeneralNumber | The number is converted to the most compact decimal form, using fixed point or scientific notation. |
| GMTSortable | Formats the date and time as a GMT sortable index. |
| Hexadecimal | The number is converted to a string of hexadecimal digits. This format is supported for integral types only. |
| Integer | Displays number as a string that contains the value of the number in Decimal (base 10) format. This format is supported for integral types only. |
| LongDate | Displays a date according to specified CultureInfo's long date format. |
| LongDateLongTime | Displays the long date and long time according to specified CultureInfo's format. |
| LongDateShortTime | Displays the long date and short time according to specified CultureInfo's format. |
| LongDateTimeGMT | Formats the date and time with the long date and long time as GMT. |
| LongTime | Displays a time using your locale's long time format; includes hours, minutes, seconds. |
| MediumDate | Displays a date using the medium date format ("dd-MMM-yy"). |
| MediumTime | Displays time in 12-hour format using hours and minutes and the AM/PM designator ("hh:mm tt"). |
| MonthAndDay | Displays the month and the day of a date. |
| OnOff | Converts to Boolean and shows Off for false, On for true. |
| Percent | The number is converted to a string that represents a percent as defined by the System.Globalization.NumberFormatInfo.PercentNegativePattern property or the System.Globalization.NumberFormatInfo.PercentPositivePattern property. |
| RoundTrip | The round-trip specifier guarantees that a numeric value converted to a string will be parsed back into the same numeric value. This format is supported by floating-point types only. |
| Scientific | The number is converted to a string of the form "-d.ddd…E+ddd" or "-d.ddd…e+ddd", where each 'd' indicates a digit (0-9). |
| ShortDate | Displays a date using specified CultureInfo's short date format. |
| ShortDateLongTime | Displays the short date and long time according to specified CultureInfo's format. |
| ShortDateShortTime | Displays the short date and short time according to specified CultureInfo's format. |
| ShortTime | Displays a time using the 24-hour format, for example, 17:45. |
| StandardNumber | The number is converted to a string of the form "-d,ddd,ddd.ddd…", where each 'd' indicates a digit (0-9). |
| TrueFalse | Converts to Boolean and shows True or False. |
| UseEvent | Conversion performed by user code in the Formatting (or Parsing) event. |
| YearAndMonth | Formats the date as the year and month. |
| YesNo | Converts to Boolean and shows No for false, Yes for true. |
System.Object
System.ValueType
System.Enum
C1.Win.C1Input.FormatTypeEnum