This documentation is archived and is not being maintained.

Controls Class

Embedded Controls.When the object is serialized out as xml, its qualified name is x:controls.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Controls : OpenXmlCompositeElement

The following table lists the possible child types:

  • Control <x:control>

[ISO/IEC 29500-1 1st Edition] controls (Embedded Controls)

Worksheets can have embedded controls embedded in them. This collection is a listing of embedded controls in this worksheet. This collection is used to reference individual Embedded Control Data part definitions, enumerate the code name of each control, and reference drawing information used to draw the control.

Parent Elements

worksheet (§

Child Elements


control (Embedded Control)


[Note: The W3C XML Schema definition of this element’s content model (CT_Controls) is located in §A.2. 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.