Question

When I have some blocks I want to collapse like that:

<region 123>
</region>

is there something like that?

Était-ce utile?

La solution

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top