Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Treeview from XML As Options Menu

$
0
0

I am looking at saving user and application settings in an XML file (Which I can do currently with hardcoded values).
What I am after is an idea for an Options Window to display ALL settings using a Treeview.
For Instance - I want a Treeview with the nodes displayed for each settings area like this

Global
    Global Database
    Global Titles
User
    User Settings

I then want a window to the right with the Attribute settings
So for Global Database the right window would show

Server : XXXXXXX with the XXXX as user input Value
Database : XXXXXXXX with the XXXX as user input Value
Authentication : Trusted  as a combo box.

Is it possible using HierarchicalDataTemplate to just list the nodes on the left and then attributes on the right.

I can  do it with hard coding but I would prefer an adaptable/Dynamic Solution.

Thanks





HierarchicalDataTemplate


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>