public NewDocument() { ViewModel = new NewDocumentViewModel { Name = "New Document", Width = 256, Height = 256 }; InitializeComponent(); }