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
1105
Is there an default Drag and Drop behavior for ultratree
posted

Hi,

I need the drag and drop behavior shown in SDK examples. Here a seperate DrawFilter is implemented. Does infragistics supply a default DrawFilter like the one in the example. It seems a bit complicated for me to have to  implement and code my own draw filter.

 regards

Stefan

Parents
  • 69832
    Offline posted

    No, there is no default IUIElementDrawFilter implementation. Actually, the IUIElementDrawFilter interface solves the general problem of custom drawing, and the WinTree Drag Drop sample just happens to make use of it.

    The actual drag drop code is very simple, so you don't necessarily need to implement the IUIElementDrawFilter interface to enable drag/drop capability. You can get a general idea of how drag drop is implemented by examining the code in the SelectionDragStart, DragOver, QueryContinueDrag, and DragDrop event handlers. If you have any specific questions, you can post here an we will try to help.

Reply Children