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

  • Home
  • SEARCH
  • 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 990977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:01:59+00:00 2026-05-16T06:01:59+00:00

I am creating an application using WPF which is using Prism framework. I have

  • 0

I am creating an application using WPF which is using Prism framework.
I have created Shell form and defined regions in that for Toolbar, Menubar and Workspace.
In the workspace area, i am able to load the modules, but I got one requirement where I have to load Employee Master form showing all the employee list in grid. On double click of that employee row in grid it should navigate to the Employee details form. Here I am not supposed to use the Tab control. On double click of the employee grid the Employee Master form should get closed or unloaded and Employee details screen should get loaded.

Any suggestions from Prism Experts on this.

Thanks and Regards,
Harry

  • 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-05-16T06:01:59+00:00Added an answer on May 16, 2026 at 6:01 am

    I find that in these scenarios, people are looking for places to “Prism-ify” their solution. Here’s my rule-of-thumb for when to use EventAggregator in Prism:

    1. The application is still useful whether or not a subscriber to the event exists
    2. I cannot use a regular .NET event or other mechanism because the subscriber is defined in another module

    Those are the only times I would use EventAggregator to solve a problem. Otherwise, I just use the mechanisms built into WPF. Specifically in a master/detail scenario, the two views are likely useful only together, making them logically the same view, rather than seperate views.

    This being the case, I typically do something like this (I’ve omitted the appopritate DataTemplates in this scenario, but hopefully this is enough to illustrate you don’t need anything fancy to solve this problem).

    <ListBox ItemsSource="{Binding Turtles}" IsSynchronizedWithCurrentItem="True" />
    <ContentControl Source="{Binding Turtles/}" />
    

    This uses a simple WPF mechanism that displays a list of items in a collection and when the user selects an item, the value of “Turtles/” is changed to the item selected. Simple. No need to over-complicate things.

    If you really feel like your scenario warrants an EventAggregator (fits with rules #1 and #2 above), then do so as simply as possible… listen to an event both raised by a view model and consume it from a view model (you are using MVVM, right?). Anything more is a headache.

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

Sidebar

Ask A Question

Stats

  • Questions 504k
  • Answers 504k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer GridViewRowEventArgs contains the row so you could try: image =… May 16, 2026 at 3:09 pm
  • Editorial Team
    Editorial Team added an answer This is because you are calling using(_db), which closes the… May 16, 2026 at 3:09 pm
  • Editorial Team
    Editorial Team added an answer You can get language specific type aliases by using CodeDom… May 16, 2026 at 3:09 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I am creating a WPF application that will integrate with an existing system using
I'm currently creating a WPF application, using C# and XAML in Visual Studios 2010.
I have a WPF application in which a thread checks some value. In certain
I'm creating a WPF (in c#) application that will create html files based on
I'm creating a simple application using the Kohana PHP framework, just FYI. This is
I am creating a WCF web service using wsHttpBinding and a corresponding application that
My WPF application is structured using the MVVM pattern. The ViewModels will communicate asynchronously
I am creating an application that is meant to print out forms meant to
Background: I'm creating a WPF app using MVVM, and using a DI container to
I'm currently developing a application where I will have multiple windows open using C#

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.