({{, "SelectionCloseAllGroups"
is a front end token that closes all groups and subgroups within the selection.}})

OpenersNotesSection(Spacer1)Details

"SelectionCloseAllGroups" is equivalent to (MenuGrayLink[Cell, paclet:guide/CellMenu]) ▶ (MenuGrayLink[Grouping, paclet:ref/menuitem/Grouping]) ▶ (MenuGrayLink[Close All Subgroups, paclet:ref/menuitem/CloseAllSubgroups]).

A typical use is (RefLink[FrontEndExecute, paclet:ref/FrontEndExecute])[(RefLink[FrontEndToken, paclet:ref/FrontEndToken])["SelectionCloseAllGroups"]].

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {Related Front End Tokens:  (RefLink[SelectionOpenAllGroups, paclet:ref/frontendobject/SelectionOpenAllGroups])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Tokens Related to the Cell Menu, paclet:guide/CellTokens])}})}})