Ejemplo n.º 1
0
        static MetroWindow CreateWindow <T>(IViewFor resolvedView) where T : class, IScreenViewModel
        {
            var window = new MetroWindow {
                Content = resolvedView
            };

            window.SetBinding(Window.TitleProperty, new Binding("DisplayName"));
            return(window);
        }