Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 122761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:10:47+00:00 2026-05-11T04:10:47+00:00

What i am really trying to achieve is to full control the active TabItem

  • 0

What i am really trying to achieve is to full control the active TabItem by using the combobox as the navigation control.

Here is what ive got so far:

    <TabControl Canvas.Left='26' Canvas.Top='27' Height='100' Name='TabControl1' Width='220'>         <TabItem Header='TabItem1' x:Name='TabItem1'>             <Grid />         </TabItem>         <TabItem Header='TabItem2' x:Name='TabItem2'>             <Grid />         </TabItem>     </TabControl>       <ComboBox Canvas.Left='126' Canvas.Top='134' Height='23' Name='CmbTabs' Width='120'                ItemsSource='{Binding ElementName=TabControl1, Path=Items}'                SelectedValue='{Binding ElementName=TabControl1, Path=SelectedIndex}'                SelectedValuePath='TabIndex'               DisplayMemberPath='Header'/> 

Still the only thing that actual works is the list that shows up when i press the togglebutton of the combobox. Even selecting a tabitem name through the list does not do anything, it does not even update the selected value textbox of the combobox.

Any help ?

Edit: Ok the answer of Steve Robbins worked fine for the ‘controling’ issue.

What about the fact that selecting an item in the combobox drop down list does not update the value of the combobox? (the comboboxes textbox is still blank!!)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T04:10:48+00:00Added an answer on May 11, 2026 at 4:10 am

    If you’re trying to control the TabControl from the Combo then it looks a bit backwards to me.. if you change the SelectedIndex on the tab control to bind it to the combo it should work:

    <TabControl Canvas.Left='26' Canvas.Top='27' Height='100' Name='TabControl1' Width='220' SelectedIndex='{Binding ElementName=CmbTabs, Path=SelectedIndex}'>         <TabItem Header='TabItem1' x:Name='TabItem1'>             <Grid />         </TabItem>         <TabItem Header='TabItem2' x:Name='TabItem2'>             <Grid />         </TabItem>     </TabControl> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to achieve some kind of nested transaction behavior using NHibernate's transaction control
Here's what I'm trying to achieve: #include <iostream> using std::cout; #include <vector> using std::vector;
im trying to achieve something but i dont really know how I have set
Im really trying to keep my code clean by using the switch statement but
I'm new to javascript/jQuery this really has me stumped. What I'm trying to achieve
What I am really trying to achieve is an array of dynamic byte patterns
Here is what i am trying to achieve: I have a few Linux servers
hopefully this is a really easy question. I'm trying to achieve the following style
Here is a simplified example of what I am trying to achieve; <asp:CheckBox runat=server
I really can't figure this one out... I'm trying to achieve the following result

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.