Home > Cannot Create > Cannot Create An Instance Of Usercontrol

Cannot Create An Instance Of Usercontrol


If you comment out Image control, the error will disappear? –Anatoliy Nikolaev Aug 31 '13 at 21:05 Yea, I can now add the label back in without error. But when I load application and successfully login, viewmodel of the login view calls main windows MainWindow mainWindow = new MainWindow(); mainWindow.Show(); Constructor of the main window public MainWindow() { InitializeComponent(); Winter Holidays are coming soon 🙂Thanks in advance for any help!Reply to this comment Rhyous says: November 27, 2011 at 10:43 amVisual Studio Black ThemeReply to this commentLeave a Reply Click How can I check to see if a process is stopped from the command-line? http://skimwp.org/cannot-create/cannot-create-instance-of-usercontrol-wpf.php

public ObservableCollection State { get; set; } }Now, you simply need to bind to this class in your view: