is there WPF XAML regions?
Domanda
When I have some blocks I want to collapse like that:
<region 123>
</region>
is there something like that?
Soluzione
have a look at this. it is VS 2010 extension. http://visualstudiogallery.msdn.microsoft.com/3c534623-bb05-417f-afc0-c9e26bf0e177
Altri suggerimenti
There's no real support for user-defined code folding in XAML. Most IDEs, like VS support code folding on XAML tags like this:
-| <UserControl>
+| <Grid[...]>
-| <UserControl/>
Although code folding is something I'd usually avoid in general
Also, duplicate of #region in XAML.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow