This documentation is archived and is not being maintained.

BookViews Class

Workbook Views.When the object is serialized out as xml, its qualified name is x:bookViews.

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

public class BookViews : OpenXmlCompositeElement

The following table lists the possible child types:

  • WorkbookView <x:workbookView>

[ISO/IEC 29500-1 1st Edition]

18.2.1 bookViews (Workbook Views)

This element specifies the collection of workbook views of the enclosing workbook. Each view can specify a window position, filter options, and other configurations. There is no limit on the number of workbook views that can be defined for a workbook.


<workbookView showHorizontalScroll="0" showVerticalScroll="0"
showSheetTabs="0" xWindow="120" yWindow="45" windowWidth="15135"
windowHeight="8130" activeTab="2" autoFilterDateGrouping="0"/>

end example]

Parent Elements

workbook (§18.2.27)

Child Elements


workbookView (Workbook View)


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