Code Monkey home page Code Monkey logo

Comments (2)

kopfkraft avatar kopfkraft commented on May 24, 2024

Hi GuillaumeGrillonLabelle!

For all I know the settings stored within your apps folder(s) - c:/Users/..../AppData/.. . There are different types of persistent settings. while "local" means "only on the current computer" another possibility is "roaming" what means "sharing and syncing across different devices".

https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.localsettings.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-2

For a hint on where to find the actual files, you might debug the following property:

Windows.Storage.ApplicationData.Current.LocalFolder

Line 45 in property store is within a try {} catch-all block and would return the default value in case of
an exception. So I am not yet sure how you could get an exception ... do you have further information about this (sample code, further Infos, what is 'null')?

from template10.

JerryNixon avatar JerryNixon commented on May 24, 2024

Now that I am re-reading your question, I wonder if you are asking where the initial value is before the user selects a custom value. In the case of the shell back button it is the default value set /Services/SettingsService/SettingsService.cs line 29. The default is true.

So that this type of investigation is easier for you next time, I recommend placing your cursor on the UseShellBackButton reference in app.xaml.cs and using F12 to navigate to the definition. This will take you to the definition. If you want to put your default settings somewhere else, you might review this question: http://stackoverflow.com/questions/19994632/what-is-the-equivalent-of-an-app-config-in-a-winrt-app

from template10.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.