Scale TreeView Width with Task Pane

Add-in Express™ Support Service
That's what is more important than anything else

Scale TreeView Width with Task Pane
 
Jeremy McClanathan




Posts: 20
Joined: 2017-02-09
Hello,
I have a TreeView control on tab control which is on a task pane. If I dock the tree view to right, left or center, the height of the treeview automatically adjusts. I would like the height to be as I have specified, but when a user resizes the task pane I would like the width of the treeview to adjust with the task pane. How do I set the width to automatically scale with the task pane?
Thank you
Jeremy
Posted 07 Jun, 2018 13:16:53 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello Jeremy,

Use the Anchor property of the TreeView control: set it to Left;Right.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Jun, 2018 02:44:14 Top