Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How to scroll a treeviewitem into view??

$
0
0

Hey,

i always search for answers and got the solution to use the Focus() Method, but it doesn't work.

The Problem is:

i try to set the Focus inside a treeview to a defined TreeViewItem, and a mehod like ScrollIntoView is missing.

At moment i use BringIntoView() , but this doesn't work very well. It seems the Mehod takes only effect on the vertical Scrollbar.

So, maybe there's a better approach....     


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>