Hello.
<EventToCommandBehavior.EventBindings> is very similar to the <interaction.triggers> function.
I want to ask if multibinding is possible here.
Is there a way to get both CommandParameter and eventArgs?
I can't build this source, but I hope this will happen. like this
<
View.xaml
>
<
telerik:EventToCommandBehavior.EventBindings
>
<
telerik:EventBinding
EventName
=
"CellPropertyChanged"
Command
=
"{Binding Command}"
PassEventArgsToCommand
=
"True"
CommandParameter={binding
ElementName
=
"gridview"
/>
</
telerik:EventToCommandBehavior.EventBindings
>
<
ViewModel.cs
>
private void Command(object[] obj)
{
var sender = obj[0] as RadGridView;
var e = obj[1] as CellPropertyChangedEventArgs;
}
Thanks.