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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:13:18+00:00 2026-05-14T14:13:18+00:00

I am building a settings dialog for my application and right now all of

  • 0

I am building a settings dialog for my application and right now all of the settings correspond with settings on the main view-model, but as I add more view’s and view-models some may not.

I need to know what the best practice is for loading the current settings into the settings dialog and then saving the settings to thier corresponding view-models if the user clicks okay.

I will not be using the Properties.Settings.Default system to store settings since I want my application to be as portable as possible and this would store user scoped settings in the directory:
C:\Users\ username \Local Settings\Application Data\ ApplicationName
Instead of in my application’s directory.

In case it makes any difference I am using the MVVM Light Toolkit by Laurent Bugnion.

  • 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-14T14:13:19+00:00Added an answer on May 14, 2026 at 2:13 pm

    How about implementing that with the Messenger of the toolkit?

    When changes are made in the Settings ViewModel you just inform anyone interested:

    Messenger.Send<Settings>(changedSettings);
    

    And all Viewmodels which need to know if settings have been changed register to that message:

    Messenger.Register<Settings>(this, delegate(Settings changedSettings){loadSettings(changedSettings);});
    

    Have a read here: Mvvm light messenger or check this similar post mvvm-light-how-to-access-property-in-other-view-model

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

Sidebar

Related Questions

I'm building a dialog based Windows Mobile application. My main container dialog has a
I am building a custom, in-application settings view based on UITableViewCellStyle1 (or so). I
I am building an Eclipse RCP application and am having trouble on settings the
I'm building a java portlet (JSR-168) application and want to define settings, which only
I'm building a Rails 3 application that will have user-specific settings (looks, functionality, etc)
I am building an application that will make it easier to manage certain settings
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI
Building a search with some custom objects and three scopes: All , Active ,
I am building an application using OpenCV that uses the webcam and runs some

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.