or
<
telerik:GridViewColumn
Header
=
"Mode"
Width
=
"60"
HeaderTextAlignment
=
"Center"
>
<
telerik:GridViewColumn.CellTemplate
>
<
DataTemplate
>
<
ToggleButton
Name
=
"btnMode"
HorizontalAlignment
=
"Center"
IsChecked
=
"{Binding IsOpen, ElementName=menuModes, Mode=TwoWay}"
Tag
=
"{Binding Id}"
Click
=
"btnMode_Click"
>
<
Image
Source
=
"{Binding ModeImage}"
/>
<
telerik:RadContextMenu.ContextMenu
>
<
telerik:RadContextMenu
Name
=
"menuModes"
Placement
=
"Bottom"
>
<
telerik:RadMenuItem
Header
=
"Menu 1"
Tag
=
"{Binding Id}"
Name
=
"menu1"
Click
=
"menu1_Click"
/>
<
telerik:RadMenuItem
Header
=
"Menu 2"
Tag
=
"{Binding Id}"
Name
=
"menu2"
Click
=
"menu2_Click"
/>
<
telerik:RadMenuItem
Header
=
"Menu 3"
Tag
=
"{Binding Id}"
Name
=
"menu3"
Click
=
"menu3_Click"
/>
</
telerik:RadContextMenu
>
</
telerik:RadContextMenu.ContextMenu
>
</
ToggleButton
>
</
DataTemplate
>
</
telerik:GridViewColumn.CellTemplate
>
</
telerik:GridViewColumn
>
var point = e.GetTouchPoint(datagrid).Position; var element = datagrid.InputHitTest(point) as FrameworkElement; if (element != null) { var clientVm = element.DataContext as ClientViewModel; if (clientVm != null) { datagrid.CaptureTouch(e.TouchDevice); DragDropEffects dropEffect = DragDrop.DoDragDrop(datagrid, clientVm, DragDropEffects.Move); } }
Humpty Dumpty sat on a wall. Humpty dumpty had a great fall. All the kings horses and all the kings men couldn't put humpty together again. Jack and Jill went up a hill to fetch a pale of water. Jack fell down and broke his crown
Hello
Below I have listed the method to reproduce the problem.
Open the Telerik WPF Controls Examples > ScheduleView > Features > Configurator.
Check "Snap Appointments" and set "Day Start Time" to for example 08:00.
Start dragging an appointment to start time 08:00, nothing strange will happen, when you now drag the appointment a little bit higher (so the start time will be earlier) the appointment disappears.
I assume this is a bug?
Can you help on this? (maybe a workaround?)
Thanks!