title: WPF style DatePicket Prev & Next buttons
body: <p>Here is my <strong>MainWindow.xaml</strong></p>
  
  <pre><code>&lt;Window x:Class="DatePicker.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
          xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
          xmlns:local="clr-namespace:DatePicker"
          mc:Ignorable="d"
          Title="MainWindow" Height="350" Width="525"&gt;
  
      &lt;Window.Resources&gt;
          &lt;ResourceDictionary&gt;
              &lt;ResourceDictionary.MergedDictionaries&gt;
                  &lt;ResourceDictionary Source="/Styles/FormElements.xaml"/&gt;
              &lt;/ResourceDictionary.MergedDictionaries&gt;
          &lt;/ResourceDictionary&gt;
      &lt;/Window.Resources&gt;
  
      &lt;Grid&gt;
          &lt;DatePicker HorizontalAlignment="Left" Margin="127,59,0,0" VerticalAlignment="Top" &gt;
  
          &lt;/DatePicker&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>And I wan to load the styles from <strong>FormElements.xaml</strong></p>
  
  <pre><code>&lt;ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt;
  
      &lt;Style TargetType ="{x:Type DatePicker}"&gt;
          &lt;Setter Property="Height" Value="24" /&gt;
          &lt;Setter Property="Margin" Value="0" /&gt;
          &lt;Setter Property="VerticalAlignment" Value="Center" /&gt;
          &lt;Setter Property="VerticalContentAlignment" Value="Center" /&gt;
          &lt;Setter Property="Background" Value="Red"/&gt;
      &lt;/Style&gt;
  
      &lt;Style TargetType="{x:Type DatePickerTextBox}"&gt;
          &lt;Setter Property="Template"&gt;
              &lt;Setter.Value&gt;
                  &lt;ControlTemplate&gt;
                      &lt;TextBox x:Name="PART_TextBox" IsReadOnly="True" Text="{Binding Path=SelectedDate, TargetNullValue='mm/dd/yyyy', StringFormat={}{0:MM/dd/yyyy}, RelativeSource={RelativeSource AncestorType={x:Type DatePicker}}}" BorderThickness="0"/&gt;
                  &lt;/ControlTemplate&gt;
              &lt;/Setter.Value&gt;
          &lt;/Setter&gt;
      &lt;/Style&gt;
  
  &lt;/ResourceDictionary&gt;
  </code></pre>
  
  <p>How can I control the PREV &amp; NEXT button on the calendar popup? I would like to change the <strong>PREV</strong> &amp; <strong>NEXT</strong> buttons (only those)</p>
  
  <p>Here is a the project code <a href="https://ufile.io/345a7" rel="nofollow noreferrer">link</a></p>