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

<region 123>
</region>

is there something like that?

有帮助吗?

解决方案

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top