NumberingFormat class

Office 2013 and later

Number Format. When the object is serialized out as xml, its qualified name is c:numFmt.


Namespace:  DocumentFormat.OpenXml.Drawing.Charts
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class NumberingFormat : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

numFmt (Number Format)

This element specifies number formatting for the parent element.

Parent Elements

catAx (§; dateAx (§; dLbl (§; dLbls (§; serAx (§; trendlineLbl (§; valAx (§



formatCode (Number Format Code)

This element specifies a string representing the format code to apply. For more information see the SpreadsheetML numFmt element's (§18.8.30) formatCode attribute.

The possible values for this attribute are defined by the ST_Xstring simple type (§

sourceLinked (Linked to Source)

Specifies a boolean value for the property defined by the parent XML element.

A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.

A value of 0 or false specifies that the property is not applied.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_NumFmt) is located in §A.5.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.