locked
Is it possible to bring a treeviewitem into view RRS feed

  • Question

  • Hey,

     

    A treeView owns a property called scrollintoview. Is there a equal property for the treeview-control, i can't find something like this.

    Certainly i need to bring a specified treeviewitem into view.

    Sunday, July 24, 2011 5:40 PM

Answers

  • It's on the TreeViewItem :) 

     

    (treeView.Items[18] as TreeViewItem).BringIntoView();

     

    Warm regards,

    Matt

    Monday, July 25, 2011 12:31 AM

All replies

  • It's on the TreeViewItem :) 

     

    (treeView.Items[18] as TreeViewItem).BringIntoView();

     

    Warm regards,

    Matt

    Monday, July 25, 2011 12:31 AM
  • hot thanks....
    Monday, July 25, 2011 9:07 AM