This question is locked. New answers and comments are not allowed.
We are implementing drap and drop fucntioanlity using RAdTreeView, things work just fine, but the concern that I have that I cant use MVVM pattern for databinding. Below is XAML Snippet what I am trying to do, the bold stuff is used for binding Event to the Command.
As DragInfo is the dependency property on RADDaragDropMAnager and not on RADTreeView this blows up as soon as page gets loaded, is there a way to accomplish this? If DragInfo would have event of RadTreeView this would have worked without any issue as
I am using this concept all over the place with other controls.
As DragInfo is the dependency property on RADDaragDropMAnager and not on RADTreeView this blows up as soon as page gets loaded, is there a way to accomplish this? If DragInfo would have event of RadTreeView this would have worked without any issue as
I am using this concept all over the place with other controls.
<
telerikNavigation:RadTreeView x:Name="tv" IsLineEnabled="True"
IsDragTooltipEnabled="False"
dragDrop:RadDragAndDropManager.AllowDrag="True"
IsDragDropEnabled="True"
SelectionMode="Single"
ItemsSource="{Binding Source={StaticResource EntityDataSource}}"
ItemTemplate="{StaticResource LOBTemplate}"
HorizontalAlignment="Center" VerticalAlignment="Center"
>
<windinteract:Interaction.Triggers>
<windinteract:EventTrigger EventName="DragInfo">
<beh:EventToCommand MustToggleIsEnabledValue="True" Command="{Binding SendMessage}" CommandParameterValue="Click" />
</windinteract:EventTrigger>
</windinteract:Interaction.Triggers>
</telerikNavigation:RadTreeView >
Thanks