WpfCommandRegistry

Ecng.Xaml

Aplicación específica de WPF de ICommandRegistry que se integra con RequerySuggested@.

Implementa: ICommandRegistry

Constructores

WpfCommandRegistry
public WpfCommandRegistry()
wpfCommandRegistry = WpfCommandRegistry()

Crea un nuevo registro de comandos WPF.

Métodos

Register
public void Register(IRevalidatableCommand command)
wpfCommandRegistry.Register(command)

Register a command for automatic revalidation.

command
Command to register.
RevalidateAll
public void RevalidateAll()
wpfCommandRegistry.RevalidateAll()

Raise CanExecuteChanged on all registered commands.

Unregister
public void Unregister(IRevalidatableCommand command)
wpfCommandRegistry.Unregister(command)

Unregister a command.

command
Command to unregister.