Is there an alternative to Attached Command Behaviour for handling events like DataGrid's MouseDoubleClick event, or TextBox's LostFocus event in the ViewModel ?
e.g., View::
<Window ........
DataContext=".......">
<TextBox LostFocus="{Binding Command1}" />
<! -- or -->
<WpfToolkit:DataGrid MouseDoubleClick="{Binding Command2}".../>
</Window>
ViewModel::
public class MyViewModel
{
public ICommand Command1
{
.......
}
public ICommand Command2
{
.......
}
}