WpfCommandRegistry

Ecng.Xaml

WPF-specific implementation of ICommandRegistry that integrates with RequerySuggested.

Implements: ICommandRegistry

Constructors

WpfCommandRegistry
public WpfCommandRegistry()
wpfCommandRegistry = WpfCommandRegistry()

Creates a new WPF command registry.

Methods

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