Beispiel #1
0
        public MyScreenView(IMyScreen logic)
        {
            InitializeComponent();

            browseFilePathButton.Bind(logic.BrowseCommand, bindName: true, toolTip: "Browse file path ...");
            filePathTextBox.Bind(logic, nameof(logic.FilePath));
        }
Beispiel #2
0
 public MyScreenView(IMyScreen controller)
 {
     this.controller = controller;
     InitializeComponent();
 }
Beispiel #3
0
 public MyScreenView(IMyScreen screen)
 {
     DataContext = screen;
     InitializeComponent();
 }