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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:44:18+00:00 2026-06-02T21:44:18+00:00

I have created a new WPF Application using Visual Studio 2010 so I have

  • 0

I have created a new WPF Application using Visual Studio 2010 so I have a default MainWindow.xaml, I have created a folder ‘Views’ which holds a couple of xaml pages that are different views for my app.

What I want to do is to have these views in the MainWindow.xaml and transition between them at certain time intervals. Could anyone give me an idea on how to achieve this?

Thanks!

  • 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-02T21:44:21+00:00Added an answer on June 2, 2026 at 9:44 pm

    For a simple scenario (without any complications or etc), you would do the same as you would do with a parent object composing a set of child objects.

    Class A{
    private View FirstView;
    private View SecondView;
    
    ...
    
    }
    

    then you would want to visually place it inside your UI hierarchy as in a child of a Grid or a Canvas for an instance.

    For a better use, try DI or IoC container in order not be worried about creating the object and keeping references.

    http://code.google.com/p/autofac/

    You might also want to think about the communication between your Views and Window. For that, please have a look at EventAggregator implementations

    https://stackoverflow.com/questions/2343980/event-aggregator-implementation-sample-best-practices

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a new silverlight business application in visual studio. It auto generates
I have created a new application using Entity Framework 4.3 database migrations. The migrations
I have a Microsoft Access 2010 database(*). Now, using Visual Studio 2010, I want
I am using a WPF c# application. I have a user control which contains
I have created a new table including a column note. The default is varchar(255)
I have created a new ActionFilter for an ASP.NET MVC application that I'm creating.
Well, the problem is as follows: I have a WPF Application built using the
My WPF application is becoming a real pain. I have created a Window and
Maybe I am trying the impossible... I have created a wpf application to start
I have a wpf Application in which I am trying to reference a class

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.