After short reach i found answers that CTRL+M, CTRL+L
do that but this only works on specific block and not all the code sections like Ctrl + m + O
under code behind.
How collapse all XAML code sections at once?
Asked Answered
Use CTRL+M, CTRL+A
NOTE: The name of command is "Collapse All Outlining". A related command is "Toggle All Outlining"; when adding to a toolbar via Tools/Customize, that one is found as: "Edit" / "Outline Toggle All". –
Blowup
Now, in Visual studio 2019
after selecting the codes (Ctrl + A
) the Ctrl + M + S
works for me to collapse all codes in XAML
.
© 2022 - 2024 — McMap. All rights reserved.