Question How to impliment inner TreeView Padding

Ceashure

New member
Joined
Nov 3, 2010
Messages
1
Programming Experience
3-5
How do I add padding to the bottom of a list of items in the TreeView so that I can scroll a bit beyond the end of the list?

So far I've come up with the following code, but it doesn't appear to work:
VB.NET:
Dim p As New Padding
p.Bottom = 500
myTreeView.Padding = p

According to documentation it would seem this should work:
TreeView.Padding Property (System.Windows.Forms)
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,540
Location
Norway
Programming Experience
10+
According to documentation it shouldn't.
your link said:
Remarks

This property is not relevant for this class.
 
Top Bottom