This is a mirror of official site: http://jasper-net.blogspot.com/

Regions are not just for code anymore... XAML Regions

| Sunday, February 26, 2012
Inline image 1

XAML Regions extension by Jacob Johnston helps you organize xaml code by grouping relevant elements and speeds up navigation by collapsing less important blocks of markup. You can create a region with two comment lines containing region/endregion keywords and then collapse and expand it as needed:

...

You can use any convention for the region keyword in a comment (region, Region, #Region), same with endregion (endregion, End Region, #EndRegion). The text after the region keyword forms visible region description.

The only suggestion I have for XAML Regions is to add a context menu command to the XAML editor to surround selection with a region (or add two commands to create and delete the region).

Read more: Greg's Cool [Insert Clever Name] of the Day
Read more: XAML Regions extension for Visual Studio 2010
QR: Inline image 2

Posted via email from Jasper-net

0 comments: