How to handle enabled property of multiple tabs using Data Templates?
问题 I have a Window with two tabs, that holds two different user controls. In order to enable/disable navigation to the second tab, I implement an IsEnabled property in both VM's from the IPageViewModel interface. The IsEnabled boolean property is set to true when a SelectedCustomer is received in the CustomerOrdersViewModel , via Messenger service from CustomerDetailsViewModel . So far this method works, as the second tab is enabled when I select a customer from the data grid in the first view.