How collapse all XAML code sections at once?

6.7k views Asked by At

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.

2

There are 2 answers

1
Mike Eason On

Use CTRL+M, CTRL+A

See here for the complete list.

0
L_J On

Now, in Visual studio 2019 after selecting the codes (Ctrl + A) the Ctrl + M + S works for me to collapse all codes in XAML.