Export (0) Print
Expand All

ListItem class

Defines the ListItem Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:item.

Namespace:  DocumentFormat.OpenXml.Office2010.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class ListItem : OpenXmlLeafElement

2.6.63 CT_ListItem

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main

Referenced by: CT_ListItems

A complex type that stores a single item for a list box or a drop-down form control<54>.


val: A string attribute, as specified in [XMLSCHEMA2] section 3.2.1, that specifies the data for a single item.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_ListItem">

<xsd:attribute name="val" type="xsd:string" use="required"/>


See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

Community Additions

© 2014 Microsoft