WPF DatePicker Themes

Feb 25, 2010 at 3:50 AM

Has anyone been able to force a theme (e.g. Luna.Metallic.xaml) to the DatePicker control ? Mind showing me how or point out what I've done wrong?

I've downloaded the Feb 2010 release of the WPFToolkit.msi, and was able to apply theme to the DataGrid but unfortunately not to the DatePicker. Segments of my codes are provided below.

Thanks in Advance.

----------

[App.xaml]

    ...
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/PresentationFramework.Luna, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=MSIL;component/themes/Luna.Metallic.xaml" />
                <ResourceDictionary Source="pack://application:,,,/WPFToolkit;component/Themes/Luna.Metallic.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
    ...
 

[Window1.xaml]

    ...
        <wpf:DatePicker Margin="3" SelectedDate="2/25/2010" Width="Auto" />
    ...