View.CollapseAllHeadings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Collapses all the headings in the document.
public:
void CollapseAllHeadings();
public void CollapseAllHeadings ();
abstract member CollapseAllHeadings : unit -> unit
Public Sub CollapseAllHeadings ()
Remarks
This method corresponds to the Collapse All Headings command on the Expand/Collapse submenu of the context menu that appears when you right-click a heading.