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
220
How to set DropTragetStyle in DragDropmanager.DropTarget
posted

Hi,

I want to increase the DropTarget area.I mean to say when i am trying to drop an element it allows me to drop withing very small area.beyond that i am not able to drop.I want to increase that area.Can this be done in DropTargetStyle?Can i set width and height in this?

Regards,

Sridhar

 

  • 8831
    Suggested Answer
    posted

    Hi,

    The DropTargetStyle is used only to provide a visual indication that your dragged object is over drop target that can accepts it. Attaching DropTarget instance to any UIElement will make it possible drop target for you your dragged objects. You just need to attach DropTarget to the UIElement that represents the area where you want to drop your dragged objects. If you provide a snippet I’ll be able to give you more specific details.

     

    Best regards.

    Plamen.