Ok So here's the deal.
VS2010 WPF Telerik 2011 Q1
The sample code runs just fine for Drag & Drop with either mouse of touch.. ViewSonic MultiTouch Monitor and HP Slate 500.
BUT my own code works with with the mouse and not Touch.. the OnDragQuery event never fires for Touch..
Any ideas??
Thanks
Pat NH USA..
VS2010 WPF Telerik 2011 Q1
The sample code runs just fine for Drag & Drop with either mouse of touch.. ViewSonic MultiTouch Monitor and HP Slate 500.
BUT my own code works with with the mouse and not Touch.. the OnDragQuery event never fires for Touch..
Any ideas??
Thanks
Pat NH USA..
<
UserControl
xmlns:CaptureScreens_Classes
=
"clr-namespace:CaptureScreens.Classes"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:telerikDragDrop
=
"clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls"
x:Name
=
"Main"
mc:Ignorable
=
"d"
x:Class
=
"CaptureScreens.MainScreen"
>
<
UserControl.Resources
>
<
DataTemplate
x:Key
=
"DragTemplate"
>
<
Image
Source
=
"{Binding IconPath}"
Stretch
=
"None"
VerticalAlignment
=
"Top"
/>
</
DataTemplate
>
<
Style
TargetType
=
"{x:Type ListBoxItem}"
x:Key
=
"draggableItemStyle"
>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"telerikDragDrop:RadDragAndDropManager.AllowDrag"
Value
=
"True"
/>
</
Style
>
</
UserControl.Resources
>
<
UserControl.DataContext
>
<
CaptureScreens_Classes:QManagement
x:Name
=
"QManagementInstance"
/>
</
UserControl.DataContext
>
<
Canvas
x:Name
=
"LayoutRoot"
Height
=
"600"
Margin
=
"0,5,0,0"
Width
=
"1024"
Background
=
"White"
>
<
ListBox
x:Name
=
"lstRxToday"
ItemsSource
=
"{Binding RxToday, Mode=TwoWay}"
telerik:RadDragAndDropManager.AllowDrag
=
"True"
telerik:RadDragAndDropManager.AllowDrop
=
"True"
ItemContainerStyle
=
"{StaticResource draggableItemStyle}"
VerticalAlignment
=
"Top"
Canvas.Left
=
"2"
Canvas.Top
=
"2"
Width
=
"196"
/>
<
ListBox
x:Name
=
"lstPurchased"
ItemsSource
=
"{Binding PurchasedRx, Mode=TwoWay}"
telerik:RadDragAndDropManager.AllowDrag
=
"True"
telerik:RadDragAndDropManager.AllowDrop
=
"True"
ItemContainerStyle
=
"{StaticResource draggableItemStyle}"
Height
=
"442"
Canvas.Left
=
"240"
Canvas.Top
=
"8"
Width
=
"194"
/>
</
Canvas
>
</
UserControl
>