FormatType Enum

Lists the values that specify a predefined type of text formatting.

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public enum FormatType
Public Enum FormatType

Members

Name Description
None

Display a value without formatting.

Currency

Displays a value as currency.

FixedPoint

Displays a value as a real numeric value with a specified number of digits for the fractional part and an optional negative sign

Percent

A value is multiplied by 100 and displayed with a percent symbol.

Decimal

Displays a value in the decimal format with an optional negative sign.

Exponential

Displays a value in the exponential notation.

LargeNumber

A value is divided by a number (one thousand, one million, one billion or one trillion) so that the value is less than a thousand; then a corresponding letter ('K', 'M', 'B' or 'T') is added.

Thousands

A value is divided by one billion, the letter 'K' is added.

Millions

A value is divided by one billion, the letter 'M' is added.

Billions

A value is divided by one billion, the letter 'B' is added.

Trillions

A value is divided by one billion, the letter 'T' is added.

LongDate

Displays a value using the long date format.

Thursday, January 01, 1970

LongTime

Displays a value using the long time format.

12:00:00 AM

LongDateLongTime

Displays a value using the long date and long time format.

Thursday, January 01, 1970, 12:00:00 AM

MonthAndDay

Displays a value using the month and day format.

January 01

MonthAndYear

Displays a value using the month and year format.

1970 January

QuarterAndYear

Displays a value using the quarter and year format.

QI 1970

ShortDate

Displays a value using the short date format.

1/25/1970

ShortTime

Displays a value using the short time format.

12:00 AM

ShortDateShortTime

Displays a value using the short date and short time format.

1/25/1970, 12:00 AM

Second

Displays a value as seconds.

Millisecond

Displays a value as milliseconds.

Day

Displays a value as a day.

Month

Displays a value as a month.

Quarter

Displays a value using the quarter format.

QI

Year

The value is displayed as a year.

DayOfWeek

Displays a value as a day of the week.

Hour

Displays the value as an hour.

Minute

Displays a value as minutes.

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

See Also