문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top