IOutliningManager Interface

IOutliningManager Interface

 

Provides outlining functionality.

Namespace:   Microsoft.VisualStudio.Text.Outlining
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubpropertyEnabled

Determines whether outlining is enabled.

NameDescription
System_CAPS_pubmethodCollapseAll(SnapshotSpan, Predicate<ICollapsible>)

Collapses all the regions in the specified span that match the specified predicate.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodExpand(ICollapsed)

Expands the collapsible span.

System_CAPS_pubmethodExpandAll(SnapshotSpan, Predicate<ICollapsed>)

Expands all the regions in the specified span that match the specified predicate.

System_CAPS_pubmethodGetAllRegions(NormalizedSnapshotSpanCollection)

Gets all the regions that intersect the given collection of spans, whether or not they are collapsed.

System_CAPS_pubmethodGetAllRegions(NormalizedSnapshotSpanCollection, Boolean)

Gets all the regions that intersect the given collection of spans, whether or not they are collapsed.

System_CAPS_pubmethodGetAllRegions(SnapshotSpan)

Gets all the regions that intersect the given span, whether or not they are collapsed.

System_CAPS_pubmethodGetAllRegions(SnapshotSpan, Boolean)

Gets all the regions that intersect the given span, whether or not they are collapsed.

System_CAPS_pubmethodGetCollapsedRegions(NormalizedSnapshotSpanCollection)

Gets all the collapsed regions that intersect the given collection of spans.

System_CAPS_pubmethodGetCollapsedRegions(NormalizedSnapshotSpanCollection, Boolean)

Gets all the collapsed regions that intersect the given collection of spans.

System_CAPS_pubmethodGetCollapsedRegions(SnapshotSpan)

Gets all the collapsed regions that intersect the given span.

System_CAPS_pubmethodGetCollapsedRegions(SnapshotSpan, Boolean)

Gets all the collapsed regions that intersect the given span.

System_CAPS_pubmethodTryCollapse(ICollapsible)

Tries to collapse a given region.

NameDescription
System_CAPS_pubeventOutliningEnabledChanged

Occurs when outlining has been enabled or disabled.

System_CAPS_pubeventRegionsChanged

Occurs when there are changes in the set of ICollapsible regions on the corresponding elision buffer.

System_CAPS_pubeventRegionsCollapsed

Occurs when an ICollapsible region is collapsed.

System_CAPS_pubeventRegionsExpanded

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.

Return to top
Show:
© 2016 Microsoft