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 8601797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:55:39+00:00 2026-06-12T01:55:39+00:00

I have a WPF ribbon application using Microsoft.Windows.Controls.Ribbon . I can set the view

  • 0

I have a WPF ribbon application using Microsoft.Windows.Controls.Ribbon. I can set the view through the Grid.Row tag:

    </ribbon:Ribbon>
    <Grid Grid.Row="1">
      <!-- View's content here -->
    </Grid>
  </Grid>
</ribbon:RibbonWindow>

Q: How can I change the view depending on the selected ribbon tab?

  • 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. Editorial Team
    Editorial Team
    2026-06-12T01:55:40+00:00Added an answer on June 12, 2026 at 1:55 am

    You have a few options.

    1. Hook the SelectionChanged event and trade out your view’s content. If you’re using Prism, you could probably create a SelectorRegionAdapter to do this for you.
    2. You could bind to Ribbon.SelectedValue (setting SelectedValuePath to say Label) and provide a DataTrigger which handles each of your tab’s names.
    3. You could put an instance of each view model (assuming your RibbonWindows data context has each of the view models you need) you care about in the RibbonTab.Tag property, and adapt your view based on SelectedItem.Tag:

      <r:Ribbon x:Name="PART_Ribbon" ...>
          <r:RibbonTab Tag="{Binding HomeViewModel}" ... />
      </r:Ribbon>
      <Grid>
          <ContentControl Content="{Binding SelectedItem.Tag,
                                            ElementName=PART_Ribbon}" />
      </Grid>
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Microsoft.Windows.Controls.Ribbon in my WPF application, and it is stretching the RibbonCommand
I'm using the WPF Office Ribbon, and I have a content view that I
I have a WPF windows application that uses the ms ribbon control for the
I have application with WPF Ribbon and Grid. And I need to show this
I have WPF Application where I have One main form and other user controls
I am using a WPF ribbon and I have just run into some strange
I'm looking for a WPF prism with ribbon application samples and tutorials. I have
I have just started playing with Microsoft's 08/2010 WPF Ribbon release. The basics appear
I have WPF application project and I'm using EF. I want something like this.
After installing Microsoft Ribbon for WPF, I create a WPF Ribbon Application. For textbox,

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.