Version

SelectedSheet Property

Gets or sets the selected worksheet of the workbook.
Syntax
public Sheet SelectedSheet {get; set;}

Property Value

The selected worksheet of the workbook.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe assigned value is null and this is an instance of WorkbookWindowOptions whose associated Workbook has at least one Worksheet.
System.ArgumentExceptionThe assigned value does not belong to the workbook associated with this instance of WindowOptions.
Remarks

If this is an instance of CustomViewWindowOptions and the SelectedWorksheet value is null, the workbook's selected worksheet will not be changed when the associated CustomView is applied.

Note: If the selected worksheet does not have its DisplayOptionsBase.Visibility set to Visible when the workbook is saved, another worksheet will be selected.

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