Concept of #region - #endregion for XAML - by DashNY

Status : 

  Postponed<br /><br />
		Due to current priorities, the product team decided to postpone the resolution of this item.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 338479 Comments
Status Closed Workarounds
Type Suggestion Repros 0
Opened 4/16/2008 7:48:34 AM
Access Restriction Public


It would be nice to have a way to collapse a region of XAML code rather than just collapsing individual nodes, i.e. like in C# (cs) code files.

I'm not sure what acceptable syntax is but something like this would be great:

<!-- #region Navigation Buttons -->
<Button />
<Button />
<Button />
<!-- #endregion -->

Sign in to post a comment.
Posted by Yann Duran on 8/22/2011 at 6:36 AM
Over 3 years later, & it still doesn't appear in the "future version" of today, ie VS2010/WPF 4.

Am I missing something somewhere?
Posted by Microsoft on 8/26/2008 at 5:55 PM
We'd like to do this and will consider it for a future release
Posted by Microsoft on 4/17/2008 at 2:03 PM
This is a great suggestion. Thanks very much. We will consider it for a future release