Version

View Property

Gets or sets the current view of the worksheet.
Syntax
public WorksheetView View {get; set;}

Property Value

The current view of the worksheet.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentException The value assigned is not defined in the WorksheetView enumeration.
Remarks

The view determines the overall display of the worksheet in Microsoft Excel.

Note: The WorksheetView value of PageLayout is only supported in Excel 2007. If a worksheet with that View is viewed in earlier versions of Microsoft Excel, the view will default to Normal view.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also