Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Expand/Collapse Button Missing In Aspx File

As you can see on the image below my aspx files does not have collapse/expand buttons ("-" and "+") How can I enable them again? thanks in advance. Running VS2010.

No Collapse

like image 256
zer0w1dthspace Avatar asked Jul 07 '11 12:07

zer0w1dthspace


People also ask

How do I enable expand collapse in Visual Studio?

CTRL + M + M will collapse/expand the current section.

How do I collapse a section in Visual Studio?

(Ctrl+M, Ctrl+P) - Removes all outlining information for the entire document. (Ctrl+M, Ctrl+U) - Removes the outlining information for the currently selected user-defined region. Not available in Visual Basic. (Ctrl+M, Ctrl+O) - Collapses the members of all types.

What is the expand collapse button?

This pattern creates a button that toggles an element as hidden (collapsed) or not hidden (expanded). The element's current state and changes in the element's state are communicated to screen reader users.


1 Answers

Follow this menu command:

Edit > Outlining > Start Automatic Outlining

like image 80
Mohsen Avatar answered Sep 22 '22 13:09

Mohsen