IOutliningManager Interface
Provides outlining functionality.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
| Name | Description | |
|---|---|---|
![]() | Enabled | Determines whether outlining is enabled. |
| Name | Description | |
|---|---|---|
![]() | CollapseAll(SnapshotSpan, Predicate<ICollapsible>) | Collapses all the regions in the specified span that match the specified predicate. |
![]() | Dispose() | (Inherited from IDisposable.) |
![]() | Expand(ICollapsed) | Expands the collapsible span. |
![]() | ExpandAll(SnapshotSpan, Predicate<ICollapsed>) | Expands all the regions in the specified span that match the specified predicate. |
![]() | GetAllRegions(NormalizedSnapshotSpanCollection) | Gets all the regions that intersect the given collection of spans, whether or not they are collapsed. |
![]() | GetAllRegions(NormalizedSnapshotSpanCollection, Boolean) | Gets all the regions that intersect the given collection of spans, whether or not they are collapsed. |
![]() | GetAllRegions(SnapshotSpan) | Gets all the regions that intersect the given span, whether or not they are collapsed. |
![]() | GetAllRegions(SnapshotSpan, Boolean) | Gets all the regions that intersect the given span, whether or not they are collapsed. |
![]() | GetCollapsedRegions(NormalizedSnapshotSpanCollection) | Gets all the collapsed regions that intersect the given collection of spans. |
![]() | GetCollapsedRegions(NormalizedSnapshotSpanCollection, Boolean) | Gets all the collapsed regions that intersect the given collection of spans. |
![]() | GetCollapsedRegions(SnapshotSpan) | Gets all the collapsed regions that intersect the given span. |
![]() | GetCollapsedRegions(SnapshotSpan, Boolean) | Gets all the collapsed regions that intersect the given span. |
![]() | TryCollapse(ICollapsible) | Tries to collapse a given region. |
| Name | Description | |
|---|---|---|
![]() | OutliningEnabledChanged | Occurs when outlining has been enabled or disabled. |
![]() | RegionsChanged | Occurs when there are changes in the set of ICollapsible regions on the corresponding elision buffer. |
![]() | RegionsCollapsed | Occurs when an ICollapsible region is collapsed. |
![]() | RegionsExpanded | Occurs when an ICollapsed region is expanded. |
Any methods that take SnapshotSpan objects are spans of the edit buffer in the view model of a view. This buffer can also be retrieved from the TextBuffer property. This outlining manager is provided by the IOutliningManagerService.


