public UserDetailScreen() { this.InitializeComponent(); DataContext = new UserDetailScreenViewModel(); ViewModel = (UserDetailScreenViewModel)DataContext; }
public UserDetailScreen( UserDetailScreenViewModel viewModel = null, UserDetailScreenActionModel actionModel = null, Key key = null ) : base(key: key) { this.viewModel = viewModel; this.actionModel = actionModel; }