Click here to Skip to main content
15,885,985 members
Home / Discussions / WPF
   

WPF

 
QuestionConfigurable Image Rotator needs code review Pin
johnsontroye9-Jan-09 3:40
johnsontroye9-Jan-09 3:40 
QuestionWPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 3:25
Bex_30009-Jan-09 3:25 
AnswerRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 3:59
Jammer9-Jan-09 3:59 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 4:10
Bex_30009-Jan-09 4:10 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 4:32
Jammer9-Jan-09 4:32 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 4:51
Jammer9-Jan-09 4:51 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:08
Bex_30009-Jan-09 5:08 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:21
Jammer9-Jan-09 5:21 
I wouldn't call it App.xaml in the Styles project as that is really a reserved name for a file in an actual WPF application. Maybe use something like MainDictionary.xaml instead?

Also only reference the Styles project from the project(s) that build into the executable(s).

Then in each of your App.xaml files in the project(s) that build into the executable(s) you will need to reference the MainDictionary.xaml resource dictionary in the Styles project using the same syntax you have detailed.

<ResourceDictionary><br />
<ResourceDictionary.MergedDictionaries><br />
<ResourceDictionary Source="/YourCompanyName.WPF.Styles;component/MainDictionary.xaml" /><br />
</ResourceDictionary.MergedDictionaries><br />
</ResourceDictionary>


Sounds like your on the right track to me!


GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:29
Bex_30009-Jan-09 5:29 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:39
Jammer9-Jan-09 5:39 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
chefkokkie11-Feb-09 7:30
chefkokkie11-Feb-09 7:30 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:42
Jammer9-Jan-09 5:42 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:41
Bex_30009-Jan-09 5:41 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer9-Jan-09 5:43
Jammer9-Jan-09 5:43 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_30009-Jan-09 5:50
Bex_30009-Jan-09 5:50 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer10-Jan-09 5:54
Jammer10-Jan-09 5:54 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_300012-Jan-09 0:12
Bex_300012-Jan-09 0:12 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer12-Jan-09 22:42
Jammer12-Jan-09 22:42 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Bex_300012-Jan-09 23:47
Bex_300012-Jan-09 23:47 
GeneralRe: WPF Multiple Projects Resource Dictionary Pin
Jammer13-Jan-09 10:12
Jammer13-Jan-09 10:12 
QuestionMove a 3D object on screen. Pin
ParagGupta9-Jan-09 2:07
ParagGupta9-Jan-09 2:07 
QuestionTo format date in datagrid column in silverlight Pin
priyagee9-Jan-09 1:02
priyagee9-Jan-09 1:02 
AnswerRe: To format date in datagrid column in silverlight Pin
johnsontroye9-Jan-09 17:22
johnsontroye9-Jan-09 17:22 
GeneralRe: To format date in datagrid column in silverlight Pin
priyagee11-Jan-09 20:11
priyagee11-Jan-09 20:11 
QuestionNeeded sample Program Which run on both windows and web. Pin
vinethgentle8-Jan-09 23:51
vinethgentle8-Jan-09 23:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.