Drag Zone for shifting other docks

5 posts, 0 answers
  1. Dan
    Dan avatar
    5 posts
    Member since:
    Apr 2008

    Posted 02 Apr 2008 Link to this post

    I was wondering if there was a way to modify the area in which it will shift docks when you are moving one.  It seems as though you have to move the one you are dragging almost completely below a dock before it highlights the position below it.  I was hoping to be able to modify it so it shifts and highlights when you move more than half way below the dock you are hovering over.

    Thank you again.
    Dan
  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 03 Apr 2008 Link to this post

    Probably you should override RadDockZone ._repositionPlaceholder method to achieve such functionality. Unfortunately I don't have a code which illustrates it:)
  3. Dan
    Dan avatar
    5 posts
    Member since:
    Apr 2008

    Posted 07 Apr 2008 Link to this post

    I was trying to find more information on this method you were talking about.  I couldn't find it in any documentation or the .NET Reflector tool.  Can you give any more information on what would be required to do this?

    Thank you,
    Dan
  4. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 07 Apr 2008 Link to this post

    The RadDockZone ._repositionPlaceholder is a client-side method and I saw it with firebug. Unfortunately I  misunderstood your question and this method will not help you to achieve your goal.
    In my opinion, the "shift area" is well designed and works just like in iGoogle. I think it will be a big overhead to override this functionality and it will not be worth it.
  5. Dan
    Dan avatar
    5 posts
    Member since:
    Apr 2008

    Posted 07 Apr 2008 Link to this post

    well thank you for your help.  It was just a little annoyance of mine that it didn't work just the way I wanted it to :-).  It functions well as it is so I will leave it.

    Thank you,
    Dan
Back to Top