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

    Rearrange tabs in TabControl (WPF)

    Using VS2008 and .Net 3.5SP1.

    I need to be able to rearrange the order of tabs on a tabcontrol. I've tried changing the indexes directly but it doesn't work. How should this be done?

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

    Re: Rearrange tabs in TabControl (WPF)

    Bind the tab items to a ObservableCollection and arrange the collection as you need to.

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