ListItems class

Office 2013 and later

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

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

No code example is currently available or this language may not be supported.

2.6.64 CT_ListItems

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

Referenced by: CT_FormControlPr

A complex type that contains a list of items of type CT_ListItem, as specified in section 2.6.63, to populate a list box or a drop-down form control. When present, the FmlaRange attribute of CT_FormControlPr, as specified in section 2.6.65, takes precedence over this element. This element is valid only for list box and drop-down form control.

Child Elements:

item: A CT_ListItem element that contains a single data item for a list box or drop-down form control.

extLst: A CT_ExtensionList element, as specified in ([ISO/IEC-29500-4] section A.2, that specifies future extensibility for this element.

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

<xsd:complexType name="CT_ListItems">

<xsd:sequence>

<xsd:element name="item" type="CT_ListItem" minOccurs="0" maxOccurs="unbounded"/>

<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

</xsd:complexType>

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.
Show: