65.9K
CodeProject is changing. Read more.
Home

Implementing the Aero Theme in XP

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

May 29, 2011

CPOL
viewsIcon

14884

Controls will have the Aero Theme (WPF)

In the %SystemRoot%\Windows\assembly folder, you will find an assembly named "PresentationFramework.Aero". This is the assembly we'll be using. In Application.xaml file, under <Application.Resources>, paste this :
 
<ResourceDictionary source="/PresentationFramework.Aero,Version=3.0.0.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35,ProcessorArchitecture=MSIL;component/themes/aero.normalcolor.xaml" />
Make sure that the Version and PublicKeyToken match with the details you saw in the folder. Replace 31bf3856ad364e35 with the PublicKeyToken shown in the folder.