How to set drop handler in xaml

3 posts, 0 answers
  1. Fabrizio
    Fabrizio avatar
    9 posts
    Member since:
    Nov 2012

    Posted 19 Dec 2012 Link to this post

    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. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 20 Dec 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Fabrizio
    Fabrizio avatar
    9 posts
    Member since:
    Nov 2012

    Posted 20 Dec 2012 Link to this post

    thanks, i will check your link.
Back to Top