Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Treeview orientation
 

Treeview orientation

Hi, I am using VB.net. Can I change the orientation of a treeview in my form? The child of each node is always listed under the parent node. I want to list the node's child from left to right horizontally. Can I do this?
Paul for program  Friday, June 19, 2009 10:05 AM
no help??
Paul for program  Saturday, June 20, 2009 7:23 AM

Hi Paul,

> The child of each node is always listed under the parent node. I want to list the node's child from left to right horizontally

How would you represent the relation of the parent node and its child nodes?

The standard TreeView control doesn't provide the functionality you want. Perhaps you can find a 3rd party control that meets your requirement in the www.codeproject.com web site.

Sincerely,
Linda Liu


Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
Linda Liu  Monday, June 29, 2009 2:29 PM
Hey Linda,

Thank you for your reply.

The relationship of parent node and child node should be the same as that of normal tree.
I think what I really want is a rotated tree (90 degree).
The text of a tree can be displayed from top to bottom. I want to display Chinese, so the node label
is not a problem.

Here is an example:

+
ç›?+
��/div>
一
�/div>

Paul.
Paul for program  Tuesday, June 30, 2009 7:13 AM

Hi Paul,

Even if we custom draw the TreeView, we can't get the treenode text to be drawn vertically.

Write a custom control by yourself or find a 3rd party control that meets your requirements.

Sincerey,
Linda Liu


Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
Linda Liu  Wednesday, July 01, 2009 8:55 AM

You can use google to search for other answers

Custom Search

More Threads

• CodeDomDesignerLoader copy and paste
• Generating Code in the Partial Classes
• My first form acting as a parent form in C#.Net winform application.How do i get rid of this problem?
• Tab page loads slow due to background image and transparent controls
• webBrowser font resize
• A Class That Inherits System.Messaging.MessageQueue Fails To Open In Designer
• What is the maximum width of a button ?
• Problems with a custom user control with some buttons in the designer
• control Event
• Iris detection using opencv