Click here to Skip to main content
15,898,960 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Update UI When Collection Changes Pin
SledgeHammer012-Aug-12 13:20
SledgeHammer012-Aug-12 13:20 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 13:27
professionalKevin Marois2-Aug-12 13:27 
GeneralRe: WPF Update UI When Collection Changes Pin
SledgeHammer012-Aug-12 13:31
SledgeHammer012-Aug-12 13:31 
Questionprogressbar Pin
daniardwihartomo31-Jul-12 18:34
daniardwihartomo31-Jul-12 18:34 
AnswerRe: progressbar Pin
Mycroft Holmes31-Jul-12 19:26
professionalMycroft Holmes31-Jul-12 19:26 
AnswerRe: progressbar Pin
Christian Amado2-Aug-12 8:48
professionalChristian Amado2-Aug-12 8:48 
QuestionThemes Change Pin
rahul ameta30-Jul-12 21:39
rahul ameta30-Jul-12 21:39 
AnswerRe: Themes Change Pin
Wayne Gaylard30-Jul-12 22:03
professionalWayne Gaylard30-Jul-12 22:03 
You need to create a separate Resource Dictionary for each theme that you would like to incorporate into your application. In each theme resource you need to create a style for each control you would like to include in the theme, and then you can change the theme during runtime by using the MergedDictionaries properties of your application like this:-
ResourceDictionary skin = new ResourceDictionary();
skin.Source = new Uri(@"Resources\Themes\yourTheme.xaml", UriKind.Relative);//obviously use your own location
Application.Current.Resources.MergedDictionaries.Clear();
Application.Current.Resources.MergedDictionaries.Add(skin);


Hope this helps
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

AnswerRe: Themes Change Pin
Christian Amado2-Aug-12 8:50
professionalChristian Amado2-Aug-12 8:50 
QuestionUsercontrol Pin
rahul ameta30-Jul-12 21:33
rahul ameta30-Jul-12 21:33 
AnswerRe: Usercontrol Pin
Wayne Gaylard30-Jul-12 21:55
professionalWayne Gaylard30-Jul-12 21:55 
AnswerRe: Usercontrol Pin
Christian Amado2-Aug-12 8:58
professionalChristian Amado2-Aug-12 8:58 
GeneralWPF Command Binding Problem Pin
Kevin Marois25-Jul-12 6:35
professionalKevin Marois25-Jul-12 6:35 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0125-Jul-12 11:56
SledgeHammer0125-Jul-12 11:56 
GeneralRe: WPF Command Binding Problem Pin
Martijn Kok25-Jul-12 12:25
Martijn Kok25-Jul-12 12:25 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0125-Jul-12 13:44
SledgeHammer0125-Jul-12 13:44 
GeneralRe: WPF Command Binding Problem Pin
Martijn Kok25-Jul-12 19:22
Martijn Kok25-Jul-12 19:22 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0126-Jul-12 7:35
SledgeHammer0126-Jul-12 7:35 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon25-Jul-12 21:45
mvePete O'Hanlon25-Jul-12 21:45 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0126-Jul-12 7:21
SledgeHammer0126-Jul-12 7:21 
GeneralRe: WPF Command Binding Problem Pin
Martijn Kok27-Jul-12 1:00
Martijn Kok27-Jul-12 1:00 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer0127-Jul-12 6:34
SledgeHammer0127-Jul-12 6:34 
GeneralRe: WPF Command Binding Problem Pin
Martijn Kok29-Jul-12 10:03
Martijn Kok29-Jul-12 10:03 
GeneralRe: WPF Command Binding Problem Pin
Pete O'Hanlon1-Aug-12 0:52
mvePete O'Hanlon1-Aug-12 0:52 
GeneralRe: WPF Command Binding Problem Pin
SledgeHammer011-Aug-12 13:20
SledgeHammer011-Aug-12 13:20 

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.