i took this code from the demos :
http://demos.telerik.com/silverlight/#DragAndDrop/TreeToGrid
<
example:ExampleTemplateSelector
x:Key
=
"ExampleTemplateSelector"
CategoryTemplate
=
"{StaticResource CategoryTemplate}"
ProductTemplate
=
"{StaticResource ProductTemplate}"
/>
<
Style
TargetType
=
"telerik:RadTreeViewItem"
x:Key
=
"TreeViewItemStyle"
BasedOn
=
"{StaticResource RadTreeViewItemStyle}"
>
<
Setter
Property
=
"IsExpanded"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:DragDropManager.AllowCapturedDrag"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:DragDropManager.TouchDragTrigger"
Value
=
"TapAndHold"
/>
</
Style
>
<!--Note: With this style we make the ListBoxItems draggable:-->
<
Style
TargetType
=
"ListBoxItem"
x:Key
=
"WishlistItemStyle"
BasedOn
=
"{StaticResource ListBoxItemStyle}"
>
<
Setter
Property
=
"telerik:DragDropManager.AllowCapturedDrag"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:DragDropManager.TouchDragTrigger"
Value
=
"TapAndHold"
/>
</
Style
>
<
Style
TargetType
=
"telerik:GridViewRow"
x:Key
=
"OrderItemStyle"
BasedOn
=
"{StaticResource GridViewRowStyle}"
>
<
Setter
Property
=
"telerik:DragDropManager.AllowCapturedDrag"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:DragDropManager.TouchDragTrigger"
Value
=
"TapAndHold"
/>
</
Style
>
I get errors :
Property 'TouchDragTrigger' was not found in type 'RadTreeViewItem'.
Property 'TouchDragTrigger' was not found in type 'ListBoxItem'.
Property 'TouchDragTrigger' was not found in type 'GridViewRow'.