Is it possible to have partial haml such as a partial class?

I would like to split the xaml file into several files a bit like a partial class: is there a way to do this?

I want to manage project files more conveniently.

+1
source share
2 answers

There are some possibilities, although this may not be exactly what you think.

You can transfer resources using a ResourceDictionary. This is very convenient for styles and templates. Of course, you should organize your XAML in such a way that you can use it (for example, using ControlTemplates).

Alternatively, you can create UserControls that encapsulate parts of your XAML. It depends on your layout.

, , XAML xmlns:??? .

+2

, , - , UserControl, xaml. , "onLoad", "onDataContextChange" .. .

0

All Articles