AWGLearned
Saturday, September 1, 2012
Event Forwarder
Example of event forwarder in ICommand implementations see
ref1
ref2
in BCL and in
RelayCommand
:
public
event
EventHandler
CanExecuteChanged
{
add
{
CommandManager
.RequerySuggested +=
value
; }
remove
{
CommandManager
.RequerySuggested -=
value
; }
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment