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
Hello Anne,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Do I have to put the entire new xaml file in my application to get this to work?
Yes, you should add the generic.shared.xaml file, which contains the modified Style for the AppointmentPresenter. If you want you an remove the Styles and resources that are not related to this Style.
I have a drag drop on a timeslotpresenter as well as the activity presenter never gets to activity drag drop