Silverlight 4 - Excel style selection in RadTreeListView

2 posts, 0 answers
  1. Ollie
    Ollie avatar
    19 posts
    Member since:
    Jun 2012

    Posted 26 Jun 2012 Link to this post

    We're trying to implement excel style selecting in our tree view when either the Ctrl or Shirt buttons are pressed.

    We've got an implementation for Ctrl working perfectly but we are having trouble getting the selection working with the Shift buttons.

    FYI - normally our tree view operates as a single row select view, but when the Ctrl\Shift button is pressed we changed the SelectionMode & SelectionUnit to Mulitple & Cells respectively.

    I was expecting to be able to use the SetSelectionAnchor method but this seems to do nothing!

    Can some give an example of how to do this programmatically? - I'm trying this from a behavior.


    Cheers

    Ollie Riches



  2. Ollie
    Ollie avatar
    19 posts
    Member since:
    Jun 2012

    Posted 26 Jun 2012 Link to this post

    My mistake, I wasn't setting the SelectionMode to Extended when the Shift buttons was being pressed
  3. DevCraft banner
Back to Top