WpfCommandRegistry

Ecng.Xaml

RequerySuggested と統合する ICommandRegistry の WPF 固有の実装。

実装: ICommandRegistry

コンストラクター

WpfCommandRegistry
public WpfCommandRegistry()
wpfCommandRegistry = WpfCommandRegistry()

WPFコマンドレジストリを新規作成します。

メソッド

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.