Passing two command parameters on button click on WPF NET 3.5 MVVM
问题 I am trying to pass two ICommand parameters on button click to a method in view model. Now I am able to pass only one parameter. Code here. XAML (View) : <Button x:Name="btnAdd" Command="{Binding AddUserCommand}" CommandParameter="{Binding IDUser}"/> View Model : public string IDUser { get { return this.personalData.UserID; } set { if (this.personalData.UserID == value) { return; } this.personalData.UserID = value; OnPropertyChanged("UserID"); } } private RelayCommand addUserCommand; public