Suganya,
Thank you for the example! Your example worked for me so I modified it to use ReactiveUI ReactiveCommands like how my commands are and the OkCommand no longer worked.
1st change - OK did not function, Cancel did
public ICommand ButtonCommand => ReactiveCommand.Create(OkButtonPressed);
public ICommand CancelCommand => ReactiveCommand.Create<object>(CancelButtonPressed);
2nd change - Both commands worked
public ICommand ButtonCommand => ReactiveCommand.Create<object>(OkButtonPressed);
public ICommand CancelCommand => ReactiveCommand.Create<object>(CancelButtonPressed);
I will do some more digging to see why I needed to add the object parameter. It's strange because I have had this code working in the past without the object parameter. So an update along the way broke it...
Thank