This project has moved and is read-only. For the latest updates, please go here.

Extending NumericUpDown<T> - How to inherit default themes from toolkit

Dec 23, 2015 at 6:00 PM
Edited Dec 28, 2015 at 3:45 AM
I have a WPF control library I'm developing that will use the toolkit as its base of controls. I was wondering what is the best way to make sure all of my controls use the themes/styles defined in the toolkit?

I have created Generic.xaml in my base Themes directory.
<ResourceDictionary xmlns=""
        <ResourceDictionary Source="/Xceed.Wpf.Toolkit;component/NumericUpDown/Themes/Generic.xaml"/>

    <Style TargetType="{x:Type controls:FormattedUpDown}" BasedOn="{StaticResource NumericUpDown}"/>
I'm gettting 'Resource NumericUpDown not found' in VS designer. What might I be doing wrong?