Property CanExecute
CanExecute
Gets or sets the action to be invoked to determine if the menu can be triggered. If CanExecute returns true the menu item will be enabled. Otherwise, it will be disabled.
public Func<bool>? CanExecute { get; set; }
Gets or sets the action to be invoked to determine if the menu can be triggered. If CanExecute returns true the menu item will be enabled. Otherwise, it will be disabled.
public Func<bool>? CanExecute { get; set; }