Simplify Your XAML with Resources and Control Templates
Although it's tempting to style your WPF controls directly in their containing XAML files or through code, placing styling in control stored in external resource dictionaries offers a robust and reusable alternative.