Hmm, I've got that already, but specifically so that the validation for the controls would work right:
protected override void OnPropertyChanged(string propertyName)
{
base.OnPropertyChanged(propertyName);
if (!propertyName.Equals("TimeError"))
{
CommandManager.InvalidateRequerySuggested();
}
}
The issue, I guess, is that I'm just using a standard System.Windows.Input.ICommand instead of the CommandManager for my ViewModel Confirm command.
From what I've seen of the CommandManager (which admittedly, isn't a lot), I can't really use it for my situation. Don't the methods for commands need to be static?
Can you post an example that uses the command manager for the Confirm command in a custom AppointmentDialog, with a custom ViewModel? The only example I've seen like that used the standard ICommands for Confirm, and I haven't been successful attempting to use CommandManager.