When I have a control like a WPF Treeview,
Naturally when the contents of that treeview exceed the maximum height or width a scroll appears.
Is there a way to obtain that scroll to move it or disable it?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You want to roll your own ControlTemplate. This will allow you to define exactly the controls that are used to build the TreeView. The part of the template that will display your TreeView items is the ItemsPresenter, so this is obviously a required part of the template.