This is a migrated thread and some comments may be shown as answers.

Drag effect on appointment popup

0 Answers 61 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
fsfsf
Top achievements
Rank 1
fsfsf asked on 17 Oct 2018, 10:35 AM

I've modified the AppointmentItemHorizontalControlTemplate template to include a popup like so:

<ControlTemplate x:Key="AppointmentItemHorizontalControlTemplate" TargetType="telerikScheduleView:AppointmentItem">
        <Grid x:Name="Root">
            <Popup Style="{StaticResource AppointmentPopupStyle}" PlacementTarget="{Binding ElementName=Root}" />
...
</ControlTemplate>

 

The popup shows as expected, however when I try to selected something on the popup by holding down the left mouse button, a drag effect is initiated beneath it that is trying to move the appointment into another slot (e.g when using the Month View definition). Unfortunately no event is received in the popup until after the drag effect is initiated.

 

Is there are a way to cancel the drag effect of the schedule view when the user is interacting with a popup?

No answers yet. Maybe you can help?

Tags
ScheduleView
Asked by
fsfsf
Top achievements
Rank 1
Share this question
or