CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Question Customizing a treeview like a tab control

    I have to customize a WPF tree control as follows. The children of the selected tree item should be placed to the right starting always from top, straight to the first tree item . What are the ways to customize a TreeView like a tab? When treeitem3 is expanded its children should be placesd as shown below.

    +TreeItem1 SubLevel1ofTreeItem3
    +TreeItem2 SubLevel2ofTreeItem3
    -TreeItem3 SubLevel3ofTreeItem3
    +TreeItem4 SubLevel4ofTreeItem3
    +TreeItem5 SubLevel5ofTreeItem3

    My application is already develped based on the treeview control. If I change it to a tabcontrol or menucontrol then lot of changes have to be made in application. I just want to change the style and keep the application as it is now. Please help.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Customizing a treeview like a tab control

    Not sure what you are asking.

    Can you mock it up and post a screenshot?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured