public InProcDesignerView(HostedAppModel appModel)
        {
            _appModel = appModel;
            InitializeComponent();
            DataContext = _appModel;
            _appModel.PropertyChanged += ModelPropertyChanged;
            WindowHostControl.Child = _host = new WindowHost();
            HandleVisibility();
            HandleWindow();

        }
Exemple #2
0
 public PerspexAppHost(CommChannel channel)
 {
     _comm = channel;
     _appModel = new HostedAppModel(this);
 }
Exemple #3
0
 public PerspexAppHost(CommChannel channel)
 {
     _comm     = channel;
     _appModel = new HostedAppModel(this);
 }