{"action":"created","issue":{"url":"https://api.github.com/repos/firstfloorsoftware/mui/issues/75","repository_url":"https://api.github.com/repos/firstfloorsoftware/mui","labels_url":"https://api.github.com/repos/firstfloorsoftware/mui/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/firstfloorsoftware/mui/issues/75/comments","events_url":"https://api.github.com/repos/firstfloorsoftware/mui/issues/75/events","html_url":"https://github.com/firstfloorsoftware/mui/issues/75","id":120043519,"number":75,"title":"How do we put just the contents of a user control into a ModernWindow??","user":{"login":"Rod-in-NM","id":13875530,"avatar_url":"https://avatars.githubusercontent.com/u/13875530?v=3","gravatar_id":"","url":"https://api.github.com/users/Rod-in-NM","html_url":"https://github.com/Rod-in-NM","followers_url":"https://api.github.com/users/Rod-in-NM/followers","following_url":"https://api.github.com/users/Rod-in-NM/following{/other_user}","gists_url":"https://api.github.com/users/Rod-in-NM/gists{/gist_id}","starred_url":"https://api.github.com/users/Rod-in-NM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rod-in-NM/subscriptions","organizations_url":"https://api.github.com/users/Rod-in-NM/orgs","repos_url":"https://api.github.com/users/Rod-in-NM/repos","events_url":"https://api.github.com/users/Rod-in-NM/events{/privacy}","received_events_url":"https://api.github.com/users/Rod-in-NM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T21:49:45Z","updated_at":"2016-02-15T14:25:18Z","closed_at":null,"body":"We've been struggling with this problem literally for days. We writing a WPF app using ModernUI and MVVM Light. One of the requirements is that when a user clicks on a button in the main form, that it MUST open a new window with the data displayed in it. Not the way that ModernUI does it with the contents of a user control appearing in the third column of a grid. I've tried many things, all of which are failing. All we get is a blank window, with the usual chrome provided by ModernUI (the back arrow, linear gradient, etc.). Finally in frustration I tried doing the same thing with a regular WPF window. It works perfectly. But of course now we don't have the styling that ModernUI provides. Below is the XAML for the ModernWindow we've been struggling with, please tell me what we're doing wrong/leaving out (please note that I'm in some of the attempts we've made. There's a LOT MORE that I've removed, but its enough to let you know what it is we're struggling with):\r\n\r\n<mui:ModernWindow x:Class=\"CoreFramework.DataViewWindow\"\r\n                  xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\r\n                  xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\r\n                  xmlns:mui=\"http://firstfloorsoftware.com/ModernUI\"\r\n                  xmlns:vm=\"clr-namespace:CoreFramework.ViewModel\"\r\n                  xmlns:view=\"clr-namespace:CoreFramework.View\"\r\n                  xmlns:content=\"clr-namespace:CoreFramework\"\r\n                  Title=\"BOTS\" \r\n                  ShowInTaskbar=\"True\"\r\n                  Closing=\"ModernWindow_Closing\">\r\n    \r\n    <!--<ContentControl Content=\"{Binding Path=ProductList, Source={StaticResource Locator}}\"\r\n                        HorizontalAlignment=\"Stretch\"\r\n                        VerticalAlignment=\"Stretch\" />-->\r\n    <!--<ContentControl\r\n                        HorizontalAlignment=\"Stretch\"\r\n                        VerticalAlignment=\"Stretch\">\r\n        <ContentControl.Content>\r\n            <view:ProductListView />\r\n        </ContentControl.Content>\r\n    </ContentControl>-->\r\n    <!--<ContentControl x:Name=\"cc\"\r\n                        HorizontalAlignment=\"Stretch\"\r\n                        VerticalAlignment=\"Stretch\" />-->\r\n\r\n    <!--<TextBlock Text=\"Here I am\" HorizontalAlignment=\"Center\" VerticalAlignment=\"Center\" />-->\r\n    <!--<view:ProductListView />-->\r\n    <ContentControl Content=\"{Binding Source={StaticResource Locator}, Path=ProductList}\" />\r\n</mui:ModernWindow>"},"comment":{"url":"https://api.github.com/repos/firstfloorsoftware/mui/issues/comments/184227676","html_url":"https://github.com/firstfloorsoftware/mui/issues/75#issuecomment-184227676","issue_url":"https://api.github.com/repos/firstfloorsoftware/mui/issues/75","id":184227676,"user":{"login":"motisch","id":16369384,"avatar_url":"https://avatars.githubusercontent.com/u/16369384?v=3","gravatar_id":"","url":"https://api.github.com/users/motisch","html_url":"https://github.com/motisch","followers_url":"https://api.github.com/users/motisch/followers","following_url":"https://api.github.com/users/motisch/following{/other_user}","gists_url":"https://api.github.com/users/motisch/gists{/gist_id}","starred_url":"https://api.github.com/users/motisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motisch/subscriptions","organizations_url":"https://api.github.com/users/motisch/orgs","repos_url":"https://api.github.com/users/motisch/repos","events_url":"https://api.github.com/users/motisch/events{/privacy}","received_events_url":"https://api.github.com/users/motisch/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T14:25:18Z","updated_at":"2016-02-15T14:25:18Z","body":"```\r\n<mui:ModernWindow>\r\n<mui:ModernWindow.BackgroundContent>\r\n<ContentControl Content=\"{Binding Source={StaticResource Locator}, Path=ProductList}\" />\r\n</mui:ModernWindow.BackgroundContent>\r\n</mui:ModernWindow>\r\n```\r\nThat is the hierarchy, i found that myself after investigating the API with ILSpy."}}