Hi,
I have a problem how to declare the MouseDoubleClick event using XAML in The MVVM pattern. For the the event associated to the RadTreeView I do not have problem. I do like this in my XAML:
In the code snippet, I have created a command named loadOnDemandCommand which is associated to the LoadOnDemandMethod in the viewModel when the LoadOnDemand event fires.
How can I do in XAML to declare a DoubleClick event which fires after double clicking on the RadTreeViewItem.
Thanks for your precious Help.
Alino
I have a problem how to declare the MouseDoubleClick event using XAML in The MVVM pattern. For the the event associated to the RadTreeView I do not have problem. I do like this in my XAML:
<
telerik:RadTreeView
.......>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"LoadOnDemand"
>
<
vm:InvokeDelegateCommandAction
Command
=
"{StaticResource loadOnDemandCommand}"
CommandParameter
=
"{Binding RelativeSource={RelativeSource Self, Path=InvokeParameter}"
/>
</
i:EventTrigger
>
<
i:Iteraction.Triggers
>
</
telerik:RadTreeView
>
In the code snippet, I have created a command named loadOnDemandCommand which is associated to the LoadOnDemandMethod in the viewModel when the LoadOnDemand event fires.
How can I do in XAML to declare a DoubleClick event which fires after double clicking on the RadTreeViewItem.
Thanks for your precious Help.
Alino