PresetNumberFormat

ChartDataCell.PresetNumberFormat property

Gets or sets the built-in display format of numbers and dates. Preset number must be in [0..22] or [37..49]. Read/write Byte.

public byte PresetNumberFormat { get; set; }

Examples

0	General
1	0
2	0.00
3	#,##0
4	#,##0.00
5	$#,##0;$-#,##0
6	$#,##0;[Red]$-#,##0
7	$#,##0.00;$-#,##0.00
8	$#,##0.00;[Red]$-#,##0.00
9	0%
10	0.00%
11	0.00E+00
12	# ?/?
13	# /
14	m/d/yy
15	d-mmm-yy
16	d-mmm
17	mmm-yy
18	h:mm AM/PM
19	h:mm:ss AM/PM
20	h:mm
21	h:mm:ss
22	m/d/yy h:mm
37	#,##0;-#,##0
38	#,##0;[Red]-#,##0
39	#,##0.00;-#,##0.00
40	#,##0.00;[Red]-#,##0.00
41	_ * #,##0_ ;_ * "_ ;_ @_
42	_ $* #,##0_ ;_ $* "_ ;_ @_
43	_ * #,##0.00_ ;_ * "??_ ;_ @_
44	_("$"* # ##0,00_);_("$"* (# ##0,00);_("$"* "-"??_);_(@_)
45	mm:ss
46	h :mm:ss
47	mm:ss.0
48	##0.0E+00
49	@

See Also