If both views are under same window, you can store ControlTemplate
under Window.Resources
and if both view belongs to different windows store that under Application.Resources
.
Control Template creating one instance in WPF
-
06-07-2023 - |
Frage
I've looked at using a control template to use the same XAML code between two views. However, where do I store this Control template so both views can access it and therefore display the controls I need?
Thanks
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow