public InProcDesignerView(HostedAppModel appModel) { _appModel = appModel; InitializeComponent(); DataContext = _appModel; _appModel.PropertyChanged += ModelPropertyChanged; WindowHostControl.Child = _host = new WindowHost(); HandleVisibility(); HandleWindow(); }
public PerspexAppHost(CommChannel channel) { _comm = channel; _appModel = new HostedAppModel(this); }