I've got some dozen of report which can be viewed by the same WPF form.

This is achieved by using many DataTemplate but this leads to a file long 2500 rows.

Is it possible to move the definition of the DataTemplate to another file?

Which kind of solution could help in this objective?

有帮助吗?

解决方案

Resource Dictionaries are great to separate XAML Using a Resource Dictionary in WPF

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