2025-02-10 20:53:40 +08:00
|
|
|
|
using System.Windows.Input;
|
|
|
|
|
|
|
|
|
|
|
|
namespace WPFluent.Input;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// An interface expanding <see cref="ICommand"/> with the ability to raise the <see cref="ICommand.CanExecuteChanged"/>
|
|
|
|
|
|
/// event externally.
|
|
|
|
|
|
/// </summary>
|
2025-05-05 17:04:06 +08:00
|
|
|
|
public interface IRelayCommand : ICommand
|
2025-02-10 20:53:40 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Notifies that the <see cref="ICommand.CanExecute"/> property has changed.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
void NotifyCanExecuteChanged();
|
|
|
|
|
|
}
|