xaml - WPF application pages settings properties on outer window -


i'm building application in wpf. interface structured microsoft's zune software. there menu @ top; each menu item correspond page, , each page have submenu , whatever controls needs. however, want menu, submenu, , background color declared on window, have colors of elements specified each page.

what's best way have each page specify properties window contains it?

create different resource dictionary each page colors/styles page. @ top of each page, reference appropriate resource dictionary.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -