Version

OutlineLevel Property

Gets or sets the outline level for the row or column.
Syntax
public int OutlineLevel {get; set;}

Property Value

The outline level for the row or column.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The value assigned is outside the valid outline level range of 0 and 7.
System.InvalidOperationExceptionFrom the stter if the object was removed from the worksheet.
Remarks

Microsoft Excel supports hierarchical grouping of rows and columns with a maximum of seven levels of hierarchy. To create a group, set adjacent rows or columns to same outline level. When rows or columns are grouped, an outline indicator will provide a visual representation of the outline level. In addition, an outline group has an expansion indicator at one end of the group, which allows the user to easily hide and unhide all rows or column in the group with a single click.

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