Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public sealed class RelayCommand<T> : Microsoft.Toolkit.Mvvm.Input.IRelayCommand<T>, System.Windows.Input.ICommand
type RelayCommand<'T> = class interface IRelayCommand<'T> interface IRelayCommand interface ICommand
Public NotInheritable Class RelayCommand(Of T) Implements ICommand, IRelayCommand(Of T)
The type of parameter being passed as input to the callbacks.
Initializes a new instance of the RelayCommand<T> class that can always execute.
Initializes a new instance of the RelayCommand<T> class.
Notifies that the CanExecute(Object) property has changed.