Category / Section
How to set padding between TreeMenuItems in WinForms TreeNavigator?
1 min read
Padding
In TreeNavigator, it is possible to customize the padding between its TreeMenuItems and it can be achieved by using the PadY property. The following code example is to demonstrate the same.
C#
//Sets the PadY property. this.treeNavigator1.PadY = 4;
VB
'Sets the PadY property. Me.TreeNavigator1.PadY = 4
Screenshot:
Figure 1: TreeNavigator with PadY
Samples: