How do you store a WPF control value as a Property Setting in app.config?

Posted by Scott Ferguson on Stack Overflow See other posts from Stack Overflow or by Scott Ferguson
Published on 2010-05-13T22:31:18Z Indexed on 2010/05/13 22:34 UTC
Read the original article Hit count: 249

Filed under:
|

We have a WPF windows application that contains a stackpanel control, that I want to be visible only for testing, but not when it is in production.

We'd like to store the visibility value of that stackpanel in the application configuration file (app.config).

What is the WPF way of achieving this?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about app.config