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

How to set drop handler in xaml

2 Answers 102 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Fabrizio
Top achievements
Rank 1
Fabrizio asked on 19 Dec 2012, 12:12 PM
hi, can u help me to traslate this code into xaml

            DragDropManager.AddDragInitializeHandler(xRibbon, OnDragInitialize);
            DragDropManager.AddDropHandler(this.diagram, OnDiagramDrop);

xRibbon is the microsoft ribbon , diagram is RadDiagram

i tried this ma does not work

<Style TargetType="telerik:RadDiagram">
            <Setter Property="telerik:DragAndDropManager." Value="True" />
            <EventSetter Event="telerik:DragAndDropManager.DropQuery" Handler="OnDiagramDrop" />
        </Style>

thanks.

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 20 Dec 2012, 10:05 AM
Hello Fabrizio,

I think this is not possible and it is framework limitation. This event is not a RadDiagram one and it is attached via the telerik:DragAndDropManager. I think the issue in this forum post is similar.

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Fabrizio
Top achievements
Rank 1
answered on 20 Dec 2012, 06:34 PM
thanks, i will check your link.
Tags
DragAndDrop
Asked by
Fabrizio
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Fabrizio
Top achievements
Rank 1
Share this question
or