Share via


Control Class

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

Inheritance Hierarchy

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

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(ControlProperties), FileFormatVersions.Office2010)> _
Public Class Control _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As Control
[ChildElementInfoAttribute(typeof(ControlProperties), FileFormatVersions.Office2010)]
public class Control : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ControlProperties <x:controlPr>

[ISO/IEC 29500-1 初版]

18.3.1.19 control (Embedded Control)

A single embedded control.

Parent Elements

controls (§18.3.1.21)

Child Elements

Subclause

controlPr (Embedded Control Properties)

§18.3.1.20

Attributes

Description

id (Relationship Id)

Namespace: .../officeDocument/2006/relationships

This relationship ID references an Embedded Control Data part which contains control-specific properties and state information about this particular embedded control.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1).

name (Control Name)

The code name of the control.

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

shapeId (Shape Id)

ID of the drawing shape in the DrawingML part with which this control is associated. The drawing is used to draw the control in the sheet.

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

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

Control Members

DocumentFormat.OpenXml.Spreadsheet Namespace