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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:51:44+00:00 2026-06-11T21:51:44+00:00

So I have a scenario where I want to implement a WPF NavigationControl derived

  • 0

So I have a scenario where I want to implement a WPF NavigationControl derived from UserControl. On that NavigationControl I have two requirements, handling a history for back/forward navigation (simple enough) and being able to Present any control deriving from the type NavigationFrameBase visually. NavigationFrameBase, also deriving from UserControl may be presented in many forms as multiple controls will inherit from this type, but the NavigationFrameBase should provide a form of notification to the NavigationControl to inform it that the user interacting with the content of a type derived from NavigationFrameBase has requested a Navigate operation, allowing the NavigationControl to present a new NavigationFrameBase.

My issues are two fold:

  • What is the best way to design NavigationControl in order to contain an instance of NavigationFrameBase it will present
  • What is the proper way in WPF to handle the child->parent request system? Routed/Attached events seem to be right, but I could see a mediator pattern serving the same function.
  • 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-11T21:51:46+00:00Added an answer on June 11, 2026 at 9:51 pm

    It depends on how you expect the communication between the parent and children to occur. If it’s simply a matter of the NavigationControl listening for events and reacting then the simple event handling pattern would work.

    However, if you need the NavigationControl to affect the NavigationFrames (e.g. to disable/enable or in the case of a drop-down menu you’d need to close any open drop-downs when another opens, etc.) or to allow one NavigationFrame to affect a sibling then you would need to use a mediator pattern, or expose callback methods on the NavigationFrameBase for handling those actions.

    Without knowing more about your expected use cases it’s hard to give you more specifics than that.

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

Sidebar

Related Questions

i need to implement this scenario Brief about that is have two java based
I have a scenario where I want to be able to SELECT rows from
Here's the scenario: I have a Python script that is called from a browser
I have a testing scenario where I want to check if two collections are
Scenario I have a very heavy number-crunching process that pools large datasets from 3
I have a back button and i want to implement its functionality in controller,
I have a scenario where I want to prove a lemma including a number
I have a scenario where I want to reduce the margin of a Button
I have a scenario where i want to match specific word and then match
I have a scenario where I want to toggle series based on checkbox selection.

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.