Show/Hide Toolbars

XSharp

To unclutter your view of the code, choose the small gray box with the minus sign inside it in the margin of the first line of the constructor or place the cursor anywhere in the constructor code and press Ctrl+M, Ctrl+M.

 

The code block collapses to just the first line, followed by an ellipsis. To expand the code block again, click the same gray box that now has a plus sign in it, or press Ctrl+M, Ctrl+M again. This feature is called Outlining and is especially useful when you're collapsing long methods or entire classes.

 

 

Regions 1

 

 

Regions 2