Partager via


Controls Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.Controls

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Control))> _
Public Class Controls _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Controls
[ChildElementInfoAttribute(typeof(Control))]
public class Controls : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Control <x:control>

[ISO/IEC 29500-1 1st Edition]

18.3.1.21 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 (§18.3.1.99)

Child Elements

Subclause

control (Embedded Control)

§18.3.1.19

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

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

Controls Members

DocumentFormat.OpenXml.Spreadsheet Namespace