This functionality does not exist in WPF directly. However, there have been many solutions written to address this lack Typically, this is handled via using some form of attached property. The attached property subscribes to the event, and calls the ICommand for you For example MVVM Light includes an EventToCommand Behavior that allows: you to bind any event of any UI element to an ICommand, for example on the ViewModel, directly in XAML.
This makes using Commands much easier, without writing code behind. With the newest version, you can even get the EventArgs of the fired event directly in the ViewModel to handle it.
This functionality does not exist in WPF directly. However, there have been many solutions written to address this lack. Typically, this is handled via using some form of attached property.
The attached property subscribes to the event, and calls the ICommand for you. For example, MVVM Light includes an EventToCommand Behavior that allows: you to bind any event of any UI element to an ICommand, for example on the ViewModel, directly in XAML. This makes using Commands much easier, without writing code behind.
With the newest version, you can even get the EventArgs of the fired event directly in the ViewModel to handle it.
Thanks, I'll take a look at this. I hadn't realized that MVVM Light offered such a thing. – Dave Feb 7 at 17:29.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.