public Example() { InitializeComponent(); this.MyViewModel = new MyViewModel(); this.DataContext = this.MyViewModel; }