Objective Grid for Microsoft® .NET® Reference Guide

NumericFormat Enumeration

Back to Class Index

This enumeration lists the valid values for the Style.Format property.     

[Visual Basic]
Public Enum NumericFormat
[C#]
public enum NumericFormat

Remarks

    

Numeric formatting only affects cells if the value type is Numeric.     

    

Members

Member NameDescription
DateTimeMM/DD/YY HH:MM.     
DateDisplays the date using the format specified in the system settings.     
DefaultDefault numeric formatting.     
TimeDisplays the fractional part of the number as a time using the system settings format.     
TimeHourMinuteHH:MM.     
TimeHourMinuteSecondAMPMHH:MM:SS AM/PM.     
TimeHourMinuteAMPMHH:MM AM/PM.     
FractionsWhole number followed by proper fraction.     
FixedParensDisplayed with fixed number of decimal places; negative values in parentheses.     
ISO8061DateYYYY-MM-DD.     
InternationalDateDD.MM.YYYY.     
TextFor formula cells, the formula is displayed, rather than the computed value.     
PercentA percentage, multiplied by 100.     
HiddenCell contents are not displayed.     
MonthYearMonth and year; DD-MMM.     
DayMonthDay and month; DD-MMM.     
DayMonthYearGregorian date; DD-MMM-YY.     
Logic0 is shown as 0, and 1 as 1; all other values are displayed as ?     
HexDisplayed in hexadecimal notation.     
CommaDisplayed with comma separators; negative values in parentheses.     
DollarsDisplayed with leading dollar sign and comma separators; negative values in parentheses.     
GeneralDisplayed using fixed or scientific, whichever fits.     
FixedDisplayed using a fixed number of decimal places.     
FloatFloating point number.     

Requirements

Namespace: Stingray.Grid

Assemblies: Stingray.GridControl80 (in Stingray.GridControl80.dll)
                     Stingray.GridControl90 (in Stingray.GridControl90.dll)
                     Stingray.GridControl10 (in Stingray.GridControl10.dll)

See Also

Stingray.Grid Namespace