Table of Contents

Method ToggleOutlining

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

ToggleOutlining()

Toggles expanded state for current outline sections.

public virtual void ToggleOutlining()

Remarks

If there is no outline section at the current point, method does nothing, otherwise it changes collapsed state of the section to the expanded and vice versa.

ToggleOutlining(IList<IRange>, IOutlineRange)

Toggles expanded state for given IOutlineRange collection.

public virtual void ToggleOutlining(IList<IRange> ranges, IOutlineRange range)

Parameters

ranges IList<IRange>

Specifies IOutlineRange collection to toggle.

range IOutlineRange

IOutlineRange object representing current outline section. The method expands or collapses ranges depending on collapsed state of the Range.