Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1465
AppointmentPresenter as drop target
posted

Hi,

 

I might be missing a trick but I want to make the appointment presenter a drop target for a node dragged from tree. The tree dragging is fine I am just not sure how to set drop target on presenter. Tried the following

 

 

<Style TargetType="{x:Type igPrim:AppointmentPresenter}">

   <EventSetter Event="Loaded" Handler="AppointmentPresenter_Loaded"/>

   <Setter Property="Template">

   <Setter.Value>

   <ControlTemplate TargetType="igPrim:AppointmentPresenter">

   <Grid>

   <ig:DragDropManager.DropTarget>

   <ig:DropTarget IsDropTarget="True" DropTargetMarkerBrush="Black"/>

   </ig:DragDropManager.DropTarget>

   </Grid>

   </ControlTemplate>

   </Setter.Value>

   </Setter>

   </Style>

 

Please can you assist.

 

kind regards,
Anne