Partager via


Pane Class

View Pane.When the object is serialized out as xml, its qualified name is x:pane.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Spreadsheet.Pane

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

Syntax

'Declaration
Public Class Pane _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As Pane
public class Pane : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

18.3.1.66 pane (View Pane)

Worksheet view pane

Parent Elements

customSheetView (§18.3.1.25); sheetView (§18.3.1.87)

Attributes

Description

activePane (Active Pane)

The pane that is active.

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

state (Split State)

Indicates whether the pane has horizontal / vertical splits, and whether those splits are frozen.

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

topLeftCell (Top Left Visible Cell)

Location of the top left visible cell in the bottom right pane (when in Left-To-Right mode).

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

xSplit (Horizontal Split Position)

Horizontal position of the split, in 1/20th of a point; 0 (zero) if none. If the pane is frozen, this value indicates the number of columns visible in the top pane.

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

ySplit (Vertical Split Position)

Vertical position of the split, in 1/20th of a point; 0 (zero) if none. If the pane is frozen, this value indicates the number of rows visible in the left pane.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_Pane) 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

Pane Members

DocumentFormat.OpenXml.Spreadsheet Namespace