示例#1
0
 public AssemblyChildNodeUIContext()
 {
     this.vm = new AssemblyChildNodeVM();
     // A ContentPresenter + DataTemplate is used to show the VM, but you could of course use
     // a UserControl.
     this.content = new ContentPresenter {
         Focusable = true,
         Content   = this.vm,
     };
 }
		public AssemblyChildNodeUIContext() {
			this.vm = new AssemblyChildNodeVM();
			// A ContentPresenter + DataTemplate is used to show the VM, but you could of course use
			// a UserControl.
			this.content = new ContentPresenter {
				Focusable = true,
				Content = this.vm,
			};
		}