<ResourceDictionary 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
  xmlns:Controls="clr-namespace:Syncfusion.Windows.Controls;assembly=Syncfusion.Shared.Wpf"
  xmlns:Primitives="clr-namespace:Syncfusion.Windows.Controls.Primitives;assembly=Syncfusion.Shared.Wpf"
  xmlns:system="clr-namespace:System;assembly=mscorlib">

	
    <system:String x:Key="AccessEmptyDateText">Reset</system:String>
    <system:String x:Key="AccessCalendarText">Calendar</system:String>
    <system:String x:Key="AccessClockText">Clock</system:String>
    <system:String x:Key="TodayLabel">Today</system:String>

    <Style TargetType="{x:Type syncfusion:DateTimeEdit}" x:Key="TradeTicketDateTimeStyle">
        <Setter Property="Background" Value="White"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFA3AEB9" Offset="0"/>
                    <GradientStop Color="#FF8399A9" Offset="0.375"/>
                    <GradientStop Color="#FF718597" Offset="0.375"/>
                    <GradientStop Color="#FF617584" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Pattern" Value="CustomPattern"/>
        <Setter Property="CustomPattern" Value="dd/MM/yyyy HH:mm:ss"/>
        <Setter Property="WatermarkVisibility" Value="Visible"/>
        <Setter Property="NoneDateText" Value="dd/MM/yyyy 00:00:00"/>
        <Setter Property="IsEmptyDateEnabled" Value="True"/>
        <Setter Property="MinWidth" Value="85"/>
        <Setter Property="NullValue" Value="{x:Null}"/>
        <Setter Property="Foreground" Value="Black"></Setter>
        <Setter Property="Margin" Value="4"/>
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="FocusedBorderBrush" Value="#FF6DBDD1"/>
        <Setter Property="RepeatButtonBackground">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                    <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                    <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="RepeatButtonBorderBrush" Value="#FF6593CF"/>
        <Setter Property="DropDownButtonTemplate">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ToggleButton}">
                    <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                        <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                    
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="UpRepeatButtonTemplate">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                        <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="BorderBrush" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFDBCE99" Offset="0"/>
                                        <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                            <Setter Property="Background" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                        <GradientStop Color="#FFFFE69E" Offset="1"/>
                                        <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                        <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                        <GradientStop Color="#FFFFFCDE"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Setter Property="BorderBrush" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFA78E66" Offset="0"/>
                                        <GradientStop Color="#FFB9AE93" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                            <Setter Property="Background" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                        <GradientStop Color="#FFF3B277" Offset="0"/>
                                        <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                        <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                        <GradientStop Color="#FFF37E24" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="DownRepeatButtonTemplate">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type RepeatButton}">
                    <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                        <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="BorderBrush" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFDBCE99" Offset="0"/>
                                        <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                            <Setter Property="Background" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                        <GradientStop Color="#FFFFE69E" Offset="1"/>
                                        <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                        <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                        <GradientStop Color="#FFFFFCDE"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsPressed" Value="True">
                            <Setter Property="BorderBrush" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFA78E66" Offset="0"/>
                                        <GradientStop Color="#FFB9AE93" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                            <Setter Property="Background" TargetName="Chrome">
                                <Setter.Value>
                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                        <GradientStop Color="#FFF3B277" Offset="0"/>
                                        <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                        <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                        <GradientStop Color="#FFF37E24" Offset="1"/>
                                    </LinearGradientBrush>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter Property="HorizontalContentAlignment" Value="Left"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="CalendarStyle">
            <Setter.Value>
                <Style TargetType="{x:Type Controls:Calendar}">
                    <Setter Property="CalendarDayButtonStyle">
                        <Setter.Value>
                            <Style TargetType="{x:Type Primitives:CalendarDayButton}">
                                <Setter Property="Background" Value="#FFBADDE9"/>
                                <Setter Property="MinWidth" Value="5"/>
                                <Setter Property="MinHeight" Value="5"/>
                                <Setter Property="FontSize" Value="10"/>
                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                <Setter Property="VerticalContentAlignment" Value="Center"/>
                                <Setter Property="Background" Value="#FFF49E5F"/>
                                <Setter Property="BorderBrush" Value="#FF95E4F8"/>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="{x:Type Primitives:CalendarDayButton}">
                                            <Grid>
                                                <Rectangle x:Name="TodayBackground" Fill="#FFAAAAAA" Opacity="0" SnapsToDevicePixels="True" StrokeThickness="0"/>
                                                <Rectangle x:Name="SelectedBackground" Fill="#FFCBE5EE" Opacity="0" SnapsToDevicePixels="True" Stroke="#FF95E4F8" StrokeThickness="1"/>
                                                <Rectangle x:Name="Background" Fill="#FFDCEDF4" Opacity="0" SnapsToDevicePixels="True" StrokeThickness="0"/>
                                                <ContentPresenter x:Name="NormalText" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" TextElement.Foreground="#FF333333" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="5,1" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                <Path x:Name="Blackout" Data="M8.1772461,11.029181L10.433105,11.029181 11.700684,12.801641 12.973633,11.029181 15.191895,11.029181 12.844727,13.999395 15.21875,17.060919 12.962891,17.060919 11.673828,15.256231 10.352539,17.060919 8.1396484,17.060919 10.519043,14.042364z" Fill="Black" HorizontalAlignment="Stretch" Margin="3" Opacity="0" RenderTransformOrigin="0.5,0.5" Stretch="Fill" VerticalAlignment="Stretch"/>
                                                <Rectangle x:Name="DayButtonFocusVisual" IsHitTestVisible="False" RadiusY="1" RadiusX="1" Stroke="#FFF49E5F" Visibility="Collapsed"/>
                                            </Grid>
                                            <ControlTemplate.Triggers>
                                                <Trigger Property="IsMouseOver" Value="True">
                                                    <Setter Property="Opacity" TargetName="Background" Value="0.5"/>
                                                </Trigger>
                                                <Trigger Property="IsPressed" Value="True">
                                                    <Setter Property="Opacity" TargetName="SelectedBackground" Value="0.75"/>
                                                </Trigger>
                                                <Trigger Property="IsEnabled" Value="False">
                                                    <Setter Property="Opacity" TargetName="Background" Value="0"/>
                                                    <Setter Property="Opacity" TargetName="NormalText" Value="0.35"/>
                                                </Trigger>
                                                <Trigger Property="IsSelected" Value="True">
                                                    <Setter Property="Opacity" TargetName="SelectedBackground" Value="0.75"/>
                                                </Trigger>
                                                <DataTrigger Binding="{Binding IsSelected, RelativeSource={RelativeSource TemplatedParent}}" Value="True">
                                                    <Setter Property="Opacity" TargetName="SelectedBackground" Value="0.75"/>
                                                </DataTrigger>
                                                <MultiDataTrigger>
                                                    <MultiDataTrigger.Conditions>
                                                        <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource TemplatedParent}}" Value="True"/>
                                                        <Condition Binding="{Binding Today, RelativeSource={RelativeSource TemplatedParent}}" Value="True"/>
                                                    </MultiDataTrigger.Conditions>
                                                    <Setter Property="Opacity" TargetName="SelectedBackground" Value="0.75"/>
                                                    <Setter Property="Fill" TargetName="SelectedBackground" Value="#FFB6D0D9"/>
                                                </MultiDataTrigger>
                                                <DataTrigger Binding="{Binding IsBlackedout, RelativeSource={RelativeSource TemplatedParent}}" Value="True">
                                                    <Setter Property="Opacity" TargetName="Blackout" Value="0.2"/>
                                                </DataTrigger>
                                                <Trigger Property="IsToday" Value="True">
                                                    <Setter Property="Opacity" TargetName="TodayBackground" Value="0.75"/>
                                                    <Setter Property="Opacity" TargetName="SelectedBackground" Value="0.75"/>
                                                    <Setter Property="TextElement.Foreground" TargetName="NormalText" Value="White"/>
                                                </Trigger>
                                                <Trigger Property="IsFocused" Value="True">
                                                    <Setter Property="Visibility" TargetName="DayButtonFocusVisual" Value="Visible"/>
                                                </Trigger>
                                                <Trigger Property="IsFocused" Value="False">
                                                    <Setter Property="Visibility" TargetName="DayButtonFocusVisual" Value="Collapsed"/>
                                                </Trigger>
                                                <Trigger Property="IsInactive" Value="True">
                                                    <Setter Property="TextElement.Foreground" TargetName="NormalText" Value="#FF777777"/>
                                                </Trigger>
                                            </ControlTemplate.Triggers>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="CalendarButtonStyle">
                        <Setter.Value>
                            <Style TargetType="{x:Type Primitives:CalendarButton}">
                                <Setter Property="Background" Value="#FFBADDE9"/>
                                <Setter Property="MinWidth" Value="40"/>
                                <Setter Property="MinHeight" Value="5"/>
                                <Setter Property="FontSize" Value="10"/>
                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                <Setter Property="VerticalContentAlignment" Value="Center"/>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="{x:Type Primitives:CalendarButton}">
                                            <Grid>
                                                <Rectangle x:Name="SelectedBackground" Fill="#FFCBE5EE" Opacity="0" SnapsToDevicePixels="True" Stroke="#FF95E4F8"/>
                                                <Rectangle x:Name="Background" Fill="#FFDCEDF4" Opacity="0" SnapsToDevicePixels="True" StrokeThickness="0"/>
                                                <ContentPresenter x:Name="NormalText" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" TextElement.Foreground="#FF333333" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="1,0,1,1" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                <Rectangle x:Name="CalendarButtonFocusVisual" IsHitTestVisible="False" RadiusY="1" RadiusX="1" Stroke="#FFF49E5F" Visibility="Collapsed"/>
                                            </Grid>
                                            <ControlTemplate.Triggers>
                                                <Trigger Property="IsFocused" Value="True"/>
                                                <Trigger Property="IsFocused" Value="False">
                                                    <Setter Property="Visibility" TargetName="CalendarButtonFocusVisual" Value="Collapsed"/>
                                                </Trigger>
                                                <Trigger Property="IsMouseOver" Value="True">
                                                    <Setter Property="Opacity" TargetName="Background" Value="0.5"/>
                                                </Trigger>
                                                <Trigger Property="IsPressed" Value="True">
                                                    <Setter Property="Opacity" TargetName="Background" Value="0.5"/>
                                                </Trigger>
                                                <Trigger Property="IsEnabled" Value="False">
                                                    <Setter Property="Opacity" TargetName="Background" Value="0"/>
                                                    <Setter Property="Opacity" TargetName="NormalText" Value="0.35"/>
                                                </Trigger>
                                                <Trigger Property="HasSelectedDays" Value="True">
                                                    <Setter Property="Opacity" TargetName="SelectedBackground" Value="1"/>
                                                </Trigger>
                                                <Trigger Property="IsFocused" Value="True"/>
                                                <Trigger Property="IsFocused" Value="False">
                                                    <Setter Property="Visibility" TargetName="CalendarButtonFocusVisual" Value="Collapsed"/>
                                                </Trigger>
                                                <Trigger Property="IsInactive" Value="True">
                                                    <Setter Property="TextElement.Foreground" TargetName="NormalText" Value="#FF777777"/>
                                                </Trigger>
                                            </ControlTemplate.Triggers>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="CalendarItemStyle">
                        <Setter.Value>
                            <Style TargetType="{x:Type Primitives:CalendarItem}">
                                <Setter Property="Margin" Value="0,3"/>
                                <Setter Property="BorderBrush" Value="Transparent"/>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="{x:Type Primitives:CalendarItem}">
                                            <ControlTemplate.Resources>
                                                <DataTemplate x:Key="DayTitleTemplate">
                                                    <TextBlock Foreground="#FF333333" FontWeight="Bold" FontSize="9.5" FontFamily="Verdana" HorizontalAlignment="Center" Margin="0,6" Text="{Binding}" VerticalAlignment="Center"/>
                                                </DataTemplate>
                                            </ControlTemplate.Resources>
                                            <Grid x:Name="PART_Root">
                                                <Grid.Resources>
                                                    <SolidColorBrush x:Key="DisabledColor" Color="#A5FFFFFF"/>
                                                </Grid.Resources>
                                                <Border BorderThickness="{TemplateBinding BorderThickness}" Background="White" CornerRadius="1">
                                                    <Border.BorderBrush>
                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                            <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                                            <GradientStop Color="#FF617584" Offset="1"/>
                                                            <GradientStop Color="#FFCDD4DA" Offset="0.039"/>
                                                            <GradientStop Color="#FFB1BBC3" Offset="0.955"/>
                                                        </LinearGradientBrush>
                                                    </Border.BorderBrush>
                                                    <Border BorderBrush="White" BorderThickness="2" CornerRadius="1">
                                                        <Grid>
                                                            <Grid.Resources>
                                                                <ControlTemplate x:Key="PreviousButtonTemplate" TargetType="{x:Type Button}">
                                                                    <Grid Cursor="Hand">
                                                                        <Rectangle Fill="#11E5EBF1" Opacity="1" Stretch="Fill"/>
                                                                        <Grid>
                                                                            <Path x:Name="path" Data="M288.75,232.25L288.75,240.625 283,236.625z" Fill="#FF333333" HorizontalAlignment="Left" Height="10" Margin="14,-6,0,0" Stretch="Fill" VerticalAlignment="Center" Width="6"/>
                                                                        </Grid>
                                                                    </Grid>
                                                                    <ControlTemplate.Triggers>
                                                                        <Trigger Property="IsMouseOver" Value="True">
                                                                            <Setter Property="Fill" TargetName="path" Value="#FF73A9D8"/>
                                                                        </Trigger>
                                                                        <Trigger Property="IsEnabled" Value="False">
                                                                            <Setter Property="Opacity" TargetName="path" Value="0.5"/>
                                                                        </Trigger>
                                                                    </ControlTemplate.Triggers>
                                                                </ControlTemplate>
                                                                <ControlTemplate x:Key="HeaderButtonTemplate" TargetType="{x:Type Button}">
                                                                    <Grid Cursor="Hand">
                                                                        <ContentPresenter x:Name="buttonContent" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" TextElement.Foreground="#FF333333" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="1,4,1,9" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                    </Grid>
                                                                    <ControlTemplate.Triggers>
                                                                        <Trigger Property="IsMouseOver" Value="True">
                                                                            <Setter Property="TextElement.Foreground" TargetName="buttonContent" Value="#FF73A9D8"/>
                                                                        </Trigger>
                                                                        <Trigger Property="IsEnabled" Value="False">
                                                                            <Setter Property="Opacity" TargetName="buttonContent" Value="0.5"/>
                                                                        </Trigger>
                                                                    </ControlTemplate.Triggers>
                                                                </ControlTemplate>
                                                                <ControlTemplate x:Key="NextButtonTemplate" TargetType="{x:Type Button}">
                                                                    <Grid Cursor="Hand">
                                                                        <Rectangle Fill="#11E5EBF1" Opacity="1" Stretch="Fill"/>
                                                                        <Grid>
                                                                            <Path x:Name="path" Data="M282.875,231.875L282.875,240.375 288.625,236z" Fill="#FF333333" HorizontalAlignment="Right" Height="10" Margin="0,-6,14,0" Stretch="Fill" VerticalAlignment="Center" Width="6"/>
                                                                        </Grid>
                                                                    </Grid>
                                                                    <ControlTemplate.Triggers>
                                                                        <Trigger Property="IsMouseOver" Value="True">
                                                                            <Setter Property="Fill" TargetName="path" Value="#FF73A9D8"/>
                                                                        </Trigger>
                                                                        <Trigger Property="IsEnabled" Value="False">
                                                                            <Setter Property="Opacity" TargetName="path" Value="0.5"/>
                                                                        </Trigger>
                                                                    </ControlTemplate.Triggers>
                                                                </ControlTemplate>
                                                            </Grid.Resources>
                                                            <Grid.ColumnDefinitions>
                                                                <ColumnDefinition Width="Auto"/>
                                                                <ColumnDefinition Width="Auto"/>
                                                                <ColumnDefinition Width="Auto"/>
                                                            </Grid.ColumnDefinitions>
                                                            <Grid.RowDefinitions>
                                                                <RowDefinition Height="Auto"/>
                                                                <RowDefinition Height="*"/>
                                                            </Grid.RowDefinitions>
                                                            <Button x:Name="PART_PreviousButton" Grid.Column="0" Focusable="False" HorizontalAlignment="Left" Grid.Row="0" VerticalAlignment="Center" Width="28">
                                                                <Button.Template>
                                                                    <ControlTemplate TargetType="{x:Type Button}">
                                                                        <Grid Cursor="Hand">
                                                                            <Rectangle Fill="#11E5EBF1" Opacity="1" Stretch="Fill"/>
                                                                            <Grid>
                                                                                <Path x:Name="path" Data="M288.75,232.25L288.75,240.625 283,236.625z" Fill="#FF333333" HorizontalAlignment="Left" Height="10" Margin="14,-6,0,0" Stretch="Fill" VerticalAlignment="Center" Width="6"/>
                                                                            </Grid>
                                                                        </Grid>
                                                                        <ControlTemplate.Triggers>
                                                                            <Trigger Property="IsMouseOver" Value="True">
                                                                                <Setter Property="Fill" TargetName="path" Value="#FF73A9D8"/>
                                                                            </Trigger>
                                                                            <Trigger Property="IsEnabled" Value="False">
                                                                                <Setter Property="Opacity" TargetName="path" Value="0.5"/>
                                                                            </Trigger>
                                                                        </ControlTemplate.Triggers>
                                                                    </ControlTemplate>
                                                                </Button.Template>
                                                            </Button>
                                                            <Button x:Name="PART_HeaderButton" Grid.Column="1" FontWeight="Bold" Focusable="False" FontSize="10.5" HorizontalAlignment="Center" Grid.Row="0" VerticalAlignment="Center">
                                                                <Button.Template>
                                                                    <ControlTemplate TargetType="{x:Type Button}">
                                                                        <Grid Cursor="Hand">
                                                                            <ContentPresenter x:Name="buttonContent" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" TextElement.Foreground="#FF333333" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="1,4,1,9" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                        </Grid>
                                                                        <ControlTemplate.Triggers>
                                                                            <Trigger Property="IsMouseOver" Value="True">
                                                                                <Setter Property="TextElement.Foreground" TargetName="buttonContent" Value="#FF73A9D8"/>
                                                                            </Trigger>
                                                                            <Trigger Property="IsEnabled" Value="False">
                                                                                <Setter Property="Opacity" TargetName="buttonContent" Value="0.5"/>
                                                                            </Trigger>
                                                                        </ControlTemplate.Triggers>
                                                                    </ControlTemplate>
                                                                </Button.Template>
                                                            </Button>
                                                            <Button x:Name="PART_NextButton" Grid.Column="2" Focusable="False" HorizontalAlignment="Right" Grid.Row="0" VerticalAlignment="Center" Width="28">
                                                                <Button.Template>
                                                                    <ControlTemplate TargetType="{x:Type Button}">
                                                                        <Grid Cursor="Hand">
                                                                            <Rectangle Fill="#11E5EBF1" Opacity="1" Stretch="Fill"/>
                                                                            <Grid>
                                                                                <Path x:Name="path" Data="M282.875,231.875L282.875,240.375 288.625,236z" Fill="#FF333333" HorizontalAlignment="Right" Height="10" Margin="0,-6,14,0" Stretch="Fill" VerticalAlignment="Center" Width="6"/>
                                                                            </Grid>
                                                                        </Grid>
                                                                        <ControlTemplate.Triggers>
                                                                            <Trigger Property="IsMouseOver" Value="True">
                                                                                <Setter Property="Fill" TargetName="path" Value="#FF73A9D8"/>
                                                                            </Trigger>
                                                                            <Trigger Property="IsEnabled" Value="False">
                                                                                <Setter Property="Opacity" TargetName="path" Value="0.5"/>
                                                                            </Trigger>
                                                                        </ControlTemplate.Triggers>
                                                                    </ControlTemplate>
                                                                </Button.Template>
                                                            </Button>
                                                            <Grid x:Name="PART_MonthView" Grid.ColumnSpan="3" HorizontalAlignment="Center" Margin="6,-1,6,6" Grid.Row="1" Visibility="Visible">
                                                                <Grid.ColumnDefinitions>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                </Grid.ColumnDefinitions>
                                                                <Grid.RowDefinitions>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                </Grid.RowDefinitions>
                                                            </Grid>
                                                            <Grid x:Name="PART_YearView" Grid.ColumnSpan="3" Margin="6,-3,7,6" Grid.Row="1" Visibility="Hidden">
                                                                <Grid.ColumnDefinitions>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                    <ColumnDefinition Width="Auto"/>
                                                                </Grid.ColumnDefinitions>
                                                                <Grid.RowDefinitions>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                    <RowDefinition Height="Auto"/>
                                                                </Grid.RowDefinitions>
                                                            </Grid>
                                                        </Grid>
                                                    </Border>
                                                </Border>
                                                <Rectangle x:Name="PART_DisabledVisual" Fill="#A5FFFFFF" Opacity="0" RadiusY="2" RadiusX="2" Stretch="Fill" Stroke="#A5FFFFFF" StrokeThickness="1" Visibility="Collapsed"/>
                                            </Grid>
                                            <ControlTemplate.Triggers>
                                                <Trigger Property="IsEnabled" Value="False">
                                                    <Setter Property="Visibility" TargetName="PART_DisabledVisual" Value="Visible"/>
                                                    <Setter Property="Opacity" TargetName="PART_DisabledVisual" Value="1"/>
                                                </Trigger>
                                                <DataTrigger Binding="{Binding DisplayMode, RelativeSource={RelativeSource FindAncestor, AncestorLevel=1, AncestorType={x:Type Controls:Calendar}}}" Value="Year">
                                                    <Setter Property="Visibility" TargetName="PART_MonthView" Value="Collapsed"/>
                                                    <Setter Property="Visibility" TargetName="PART_YearView" Value="Visible"/>
                                                </DataTrigger>
                                                <DataTrigger Binding="{Binding DisplayMode, RelativeSource={RelativeSource FindAncestor, AncestorLevel=1, AncestorType={x:Type Controls:Calendar}}}" Value="Decade">
                                                    <Setter Property="Visibility" TargetName="PART_MonthView" Value="Collapsed"/>
                                                    <Setter Property="Visibility" TargetName="PART_YearView" Value="Visible"/>
                                                </DataTrigger>
                                            </ControlTemplate.Triggers>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="Foreground" Value="#FF333333"/>
                    <Setter Property="Background">
                        <Setter.Value>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFE4EAF0" Offset="0"/>
                                <GradientStop Color="#FFECF0F4" Offset="0.16"/>
                                <GradientStop Color="#FFFCFCFD" Offset="0.16"/>
                                <GradientStop Color="White" Offset="1"/>
                            </LinearGradientBrush>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="BorderBrush">
                        <Setter.Value>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                <GradientStop Color="#FF718597" Offset="0.375"/>
                                <GradientStop Color="#FF617584" Offset="1"/>
                            </LinearGradientBrush>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="BorderThickness" Value="1"/>
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="{x:Type Controls:Calendar}">
                                <StackPanel x:Name="PART_Root" HorizontalAlignment="Center">
                                    <Primitives:CalendarItem x:Name="PART_CalendarItem" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Style="{TemplateBinding CalendarItemStyle}"/>
                                </StackPanel>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="AllowDrop" Value="True"/>
        <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
        <Setter Property="MinHeight" Value="24"/>
        <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type syncfusion:DateTimeEdit}">
                    <Grid>
                        <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="1" Opacity="1">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Grid>
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="*"/>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition Width="Auto"/>
                                        <ColumnDefinition Width="Auto"/>
                                    </Grid.ColumnDefinitions>
                                    <Grid.RowDefinitions>
                                        <RowDefinition Height="*"/>
                                        <RowDefinition Height="0"/>
                                    </Grid.RowDefinitions>
                                    <ScrollViewer x:Name="PART_ContentHost" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Visibility="{TemplateBinding ContentElementVisibility}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                    <ContentControl x:Name="PART_EmptyContent" Background="{TemplateBinding Background}" Content="{TemplateBinding NoneDateText}" Foreground="{TemplateBinding Foreground}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontStretch="{TemplateBinding FontStretch}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="False" IsTabStop="False" Opacity="0.5" Padding="{TemplateBinding Padding}" Visibility="{TemplateBinding WatermarkVisibility}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                    <ToggleButton x:Name="PART_DropDown" BorderBrush="Black" BorderThickness="1" Grid.Column="2" HorizontalAlignment="Stretch" IsTabStop="False" Padding="1" Template="{TemplateBinding DropDownButtonTemplate}" Width="20">
                                        <ToggleButton.Style>
                                            <Style TargetType="{x:Type ToggleButton}">
                                                <Setter Property="OverridesDefaultStyle" Value="True"/>
                                                <Setter Property="Background">
                                                    <Setter.Value>
                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                            <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                                                            <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                                                            <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                                                        </LinearGradientBrush>
                                                    </Setter.Value>
                                                </Setter>
                                                <Setter Property="BorderBrush" Value="#FF6593CF"/>
                                                <Setter Property="Foreground" Value="Black"/>
                                                <Setter Property="BorderThickness" Value="1"/>
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                <Setter Property="VerticalContentAlignment" Value="Center"/>
                                                <Setter Property="Padding" Value="1"/>
                                                <Setter Property="Template">
                                                    <Setter.Value>
                                                        <ControlTemplate TargetType="{x:Type ToggleButton}">
                                                            <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                                                                <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                            </Border>
                                                            <!--<ControlTemplate.Triggers>
                                                                        <Trigger Property="IsMouseOver" Value="True">
                                                                            <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                        <GradientStop Color="#FFDBCE99" Offset="0"/>
                                                                                        <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                            <Setter Property="Background" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                        <GradientStop Color="#FFFFE69E" Offset="1"/>
                                                                                        <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFFFFCDE"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                        </Trigger>
                                                                        <Trigger Property="IsPressed" Value="True">
                                                                            <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                        <GradientStop Color="#FFA78E66" Offset="0"/>
                                                                                        <GradientStop Color="#FFB9AE93" Offset="1"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                            <Setter Property="Background" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                        <GradientStop Color="#FFF3B277" Offset="0"/>
                                                                                        <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFF37E24" Offset="1"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                        </Trigger>
                                                                        <Trigger Property="IsEnabled" Value="False">
                                                                            <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                                                                        </Trigger>
                                                                    </ControlTemplate.Triggers>-->
                                                        </ControlTemplate>
                                                    </Setter.Value>
                                                </Setter>
                                            </Style>
                                        </ToggleButton.Style>
                                        <ToggleButton.Visibility>
                                            <Binding Path="IsButtonPopUpEnabled" RelativeSource="{RelativeSource TemplatedParent}">
                                                <Binding.Converter>
                                                    <BooleanToVisibilityConverter/>
                                                </Binding.Converter>
                                            </Binding>
                                        </ToggleButton.Visibility>
                                        <Path Data="M1,0L4.5,5 8,0" Fill="Transparent" HorizontalAlignment="Center" Height="5" Stretch="Uniform" Stroke="White" StrokeThickness="2" VerticalAlignment="Center" Width="8"/>
                                    </ToggleButton>
                                    <Grid Grid.Column="3">
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="5*"/>
                                            <RowDefinition Height="5*"/>
                                        </Grid.RowDefinitions>
                                        <RepeatButton x:Name="PART_UpArrow" BorderThickness="{TemplateBinding RepeatButtonBorderThickness}" Background="{TemplateBinding RepeatButtonBackground}" Grid.Column="1" IsTabStop="False" IsEnabled="{TemplateBinding IsEnabledRepeatButton}" Margin="{TemplateBinding UpRepeatButtonMargin}" Padding="1" Grid.Row="0" Template="{TemplateBinding UpRepeatButtonTemplate}" Width="20">
                                            <RepeatButton.BorderBrush>
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                    <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                                    <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                                    <GradientStop Color="#FF718597" Offset="0.375"/>
                                                    <GradientStop Color="#FF617584" Offset="1"/>
                                                </LinearGradientBrush>
                                            </RepeatButton.BorderBrush>
                                            <RepeatButton.Style>
                                                <Style TargetType="{x:Type RepeatButton}">
                                                    <Setter Property="OverridesDefaultStyle" Value="True"/>
                                                    <Setter Property="Background">
                                                        <Setter.Value>
                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                                                                <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                                                                <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                                                            </LinearGradientBrush>
                                                        </Setter.Value>
                                                    </Setter>
                                                    <Setter Property="BorderBrush" Value="#FF6593CF"/>
                                                    <Setter Property="Foreground" Value="Black"/>
                                                    <Setter Property="BorderThickness" Value="1"/>
                                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                    <Setter Property="VerticalContentAlignment" Value="Center"/>
                                                    <Setter Property="Padding" Value="1"/>
                                                    <Setter Property="Template">
                                                        <Setter.Value>
                                                            <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                                <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                                                                    <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                </Border>
                                                                <ControlTemplate.Triggers>
                                                                    <Trigger Property="IsMouseOver" Value="True">
                                                                        <Setter Property="BorderBrush" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                    <GradientStop Color="#FFDBCE99" Offset="0"/>
                                                                                    <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                        <Setter Property="Background" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                    <GradientStop Color="#FFFFE69E" Offset="1"/>
                                                                                    <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFFFFCDE"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                    </Trigger>
                                                                    <Trigger Property="IsPressed" Value="True">
                                                                        <Setter Property="BorderBrush" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                    <GradientStop Color="#FFA78E66" Offset="0"/>
                                                                                    <GradientStop Color="#FFB9AE93" Offset="1"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                        <Setter Property="Background" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                    <GradientStop Color="#FFF3B277" Offset="0"/>
                                                                                    <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFF37E24" Offset="1"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                    </Trigger>
                                                                    <Trigger Property="IsEnabled" Value="False">
                                                                        <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                                                                    </Trigger>
                                                                </ControlTemplate.Triggers>
                                                            </ControlTemplate>
                                                        </Setter.Value>
                                                    </Setter>
                                                </Style>
                                            </RepeatButton.Style>
                                            <RepeatButton.Visibility>
                                                <Binding Path="IsVisibleRepeatButton" RelativeSource="{RelativeSource TemplatedParent}">
                                                    <Binding.Converter>
                                                        <BooleanToVisibilityConverter/>
                                                    </Binding.Converter>
                                                </Binding>
                                            </RepeatButton.Visibility>
                                            <Path Data="F1M541.537,173.589L531.107,173.589 536.322,167.49 541.537,173.589z" Fill="#FF4B4F55" HorizontalAlignment="Center" Height="4" Stretch="Uniform" VerticalAlignment="Center" Width="7"/>
                                        </RepeatButton>
                                        <RepeatButton x:Name="PART_DownArrow" BorderThickness="{TemplateBinding RepeatButtonBorderThickness}" Background="{TemplateBinding RepeatButtonBackground}" Grid.Column="1" IsTabStop="False" IsEnabled="{TemplateBinding IsEnabledRepeatButton}" Margin="{TemplateBinding DownRepeatButtonMargin}" Padding="1" Grid.Row="1" Template="{TemplateBinding DownRepeatButtonTemplate}" Width="20">
                                            <RepeatButton.BorderBrush>
                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                    <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                                    <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                                    <GradientStop Color="#FF718597" Offset="0.375"/>
                                                    <GradientStop Color="#FF617584" Offset="1"/>
                                                </LinearGradientBrush>
                                            </RepeatButton.BorderBrush>
                                            <RepeatButton.Style>
                                                <Style TargetType="{x:Type RepeatButton}">
                                                    <Setter Property="OverridesDefaultStyle" Value="True"/>
                                                    <Setter Property="Background">
                                                        <Setter.Value>
                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                                                                <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                                                                <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                                                            </LinearGradientBrush>
                                                        </Setter.Value>
                                                    </Setter>
                                                    <Setter Property="BorderBrush" Value="#FF6593CF"/>
                                                    <Setter Property="Foreground" Value="Black"/>
                                                    <Setter Property="BorderThickness" Value="1"/>
                                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                    <Setter Property="VerticalContentAlignment" Value="Center"/>
                                                    <Setter Property="Padding" Value="1"/>
                                                    <Setter Property="Template">
                                                        <Setter.Value>
                                                            <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                                <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                                                                    <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                </Border>
                                                                <ControlTemplate.Triggers>
                                                                    <Trigger Property="IsMouseOver" Value="True">
                                                                        <Setter Property="BorderBrush" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                    <GradientStop Color="#FFDBCE99" Offset="0"/>
                                                                                    <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                        <Setter Property="Background" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                    <GradientStop Color="#FFFFE69E" Offset="1"/>
                                                                                    <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFFFFCDE"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                    </Trigger>
                                                                    <Trigger Property="IsPressed" Value="True">
                                                                        <Setter Property="BorderBrush" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                    <GradientStop Color="#FFA78E66" Offset="0"/>
                                                                                    <GradientStop Color="#FFB9AE93" Offset="1"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                        <Setter Property="Background" TargetName="Chrome">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                    <GradientStop Color="#FFF3B277" Offset="0"/>
                                                                                    <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                                                                    <GradientStop Color="#FFF37E24" Offset="1"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                    </Trigger>
                                                                    <Trigger Property="IsEnabled" Value="False">
                                                                        <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                                                                    </Trigger>
                                                                </ControlTemplate.Triggers>
                                                            </ControlTemplate>
                                                        </Setter.Value>
                                                    </Setter>
                                                </Style>
                                            </RepeatButton.Style>
                                            <RepeatButton.Visibility>
                                                <Binding Path="IsVisibleRepeatButton" RelativeSource="{RelativeSource TemplatedParent}">
                                                    <Binding.Converter>
                                                        <BooleanToVisibilityConverter/>
                                                    </Binding.Converter>
                                                </Binding>
                                            </RepeatButton.Visibility>
                                            <Path Data="F1M531.107,321.943L541.537,321.943 536.322,328.042 531.107,321.943z" Fill="#FF4B4F55" HorizontalAlignment="Center" Height="4" Stretch="Uniform" VerticalAlignment="Center" Width="7"/>
                                        </RepeatButton>
                                    </Grid>
                                    <Popup x:Name="PART_Popup" IsOpen="False" Grid.Row="1" StaysOpen="False">
                                        <Grid Background="Transparent">
                                            <Grid x:Name="PART_PopupGrid_Classic" Background="Transparent">
                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition Width="5*"/>
                                                    <ColumnDefinition Width="5*"/>
                                                    <ColumnDefinition Width="5*"/>
                                                </Grid.ColumnDefinitions>
                                                <Grid.RowDefinitions>
                                                    <RowDefinition Height="*"/>
                                                    <RowDefinition Height="Auto"/>
                                                </Grid.RowDefinitions>
                                                
                                                <Border x:Name="CalendarBorder" Background="Transparent" Grid.Column="0" Height="190" Grid.Row="0">
                                                    <StackPanel Visibility="Visible">
                                                        <Controls:Calendar x:Name="Calendar" AbbreviatedMonthNames="{TemplateBinding AbbreviatedMonthNames}" Culture="{TemplateBinding CultureInfo}" DisplayDate="2017-12-11" FormatCalendar="{TemplateBinding FormatCalendar}" FirstDayOfWeek="Sunday" Margin="0,-3,0,0" ShortestDayNames="{TemplateBinding ShortestDayNames}" Style="{TemplateBinding CalendarStyle}"/>
                                                        <StackPanel Visibility="Visible">
                                                            <ToggleButton x:Name="Button_Today_Classic" Content="Today" FontSize="12"  Focusable="False" >
                                                                <ToggleButton.Style>
                                                                    <Style TargetType="{x:Type ToggleButton}">
                                                                        <Setter Property="OverridesDefaultStyle" Value="True"/>
                                                                        <Setter Property="Background">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                    <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                                                                                    <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                                                                                    <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                        <Setter Property="BorderBrush" Value="#FF6593CF"/>
                                                                        <Setter Property="Foreground" Value="Black"/>
                                                                        <Setter Property="BorderThickness" Value="1"/>
                                                                        <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                                        <Setter Property="VerticalContentAlignment" Value="Center"/>
                                                                        <Setter Property="Padding" Value="1"/>
                                                                        <Setter Property="Template">
                                                                            <Setter.Value>
                                                                                <ControlTemplate TargetType="{x:Type ToggleButton}">
                                                                                    <Border x:Name="Button_Today_Classic" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                                                                                        <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                                    </Border>
                                                                                    <ControlTemplate.Triggers>
                                                                                        <Trigger Property="IsMouseOver" Value="True">
                                                                                            <Setter Property="BorderBrush" TargetName="Button_Today_Classic">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                        <GradientStop Color="#FFDBCE99" Offset="0"/>
                                                                                                        <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                            <Setter Property="Background" TargetName="Button_Today_Classic">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                                        <GradientStop Color="#FFFFE69E" Offset="1"/>
                                                                                                        <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFFFFCDE"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                        </Trigger>
                                                                                        <Trigger Property="IsPressed" Value="True">
                                                                                            <Setter Property="BorderBrush" TargetName="Button_Today_Classic">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                        <GradientStop Color="#FFA78E66" Offset="0"/>
                                                                                                        <GradientStop Color="#FFB9AE93" Offset="1"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                            <Setter Property="Background" TargetName="Button_Today_Classic">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                                        <GradientStop Color="#FFF3B277" Offset="0"/>
                                                                                                        <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFF37E24" Offset="1"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                        </Trigger>
                                                                                        <Trigger Property="IsEnabled" Value="False">
                                                                                            <Setter Property="Opacity" TargetName="Button_Today_Classic" Value="0.5"/>
                                                                                        </Trigger>
                                                                                    </ControlTemplate.Triggers>
                                                                                </ControlTemplate>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                    </Style>
                                                                </ToggleButton.Style>
                                                            </ToggleButton>
                                                        </StackPanel>
                                                    </StackPanel>
                                                    
                                                </Border>
                                                <Popup x:Name="PART_WatchPopup" Grid.ColumnSpan="3" IsOpen="False" Grid.Row="1" StaysOpen="False">
                                                    <syncfusion:Clock x:Name="Clock" DateTime="12/11/2017 16:32:59"/>
                                                </Popup>
                                            </Grid>
                                           
                                        </Grid>
                                    </Popup>
                                </Grid>
                            </Grid>
                        </Border>
                        <Border x:Name="MouseOverBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1" Opacity="1" Visibility="Collapsed"/>
                        <Border x:Name="FocusBorder" BorderBrush="{TemplateBinding FocusedBorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1" Opacity="1" Visibility="Collapsed"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <!--<Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="Visibility" TargetName="MouseOverBorder" Value="Visible"/>
                            <Setter Property="Visibility" TargetName="FocusBorder" Value="Collapsed"/>
                        </Trigger>
                        <Trigger Property="IsFocused" Value="True">
                            <Setter Property="Visibility" TargetName="MouseOverBorder" Value="Collapsed"/>
                            <Setter Property="Visibility" TargetName="FocusBorder" Value="Visible"/>
                        </Trigger>-->
                        <Trigger Property="IsEnabled" Value="False">
                            <Setter TargetName="Border" Property="Background" Value="White"/>
                            <Setter TargetName="Border" Property="BorderBrush" Value="White"/>
                            <Setter Property="Foreground" Value="Black"/>
                        </Trigger>
                        <Trigger Property="IsReadOnly" Value="True">
                            <Setter TargetName="Border" Property="BorderBrush" Value="White"/>
                            <Setter Property="Foreground" Value="Black"/>
                            <Setter TargetName="Border" Property="Background" Value="White"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="EnableCombinedStyle" Value="True">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type syncfusion:DateTimeEdit}">
                            <Grid>
                                <Border x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="1" Opacity="1">
                                    <Grid>
                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition Height="Auto"/>
                                        </Grid.RowDefinitions>
                                        <Grid>
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="*"/>
                                                <ColumnDefinition Width="Auto"/>
                                                <ColumnDefinition Width="Auto"/>
                                                <ColumnDefinition Width="Auto"/>
                                            </Grid.ColumnDefinitions>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="*"/>
                                                <RowDefinition Height="0"/>
                                            </Grid.RowDefinitions>
                                            <ScrollViewer x:Name="PART_ContentHost" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Visibility="{TemplateBinding ContentElementVisibility}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                            <ContentControl x:Name="PART_EmptyContent" Background="{TemplateBinding Background}" Content="{TemplateBinding NoneDateText}" Foreground="{TemplateBinding Foreground}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontStretch="{TemplateBinding FontStretch}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="False" IsTabStop="False" Opacity="0.5" Padding="{TemplateBinding Padding}" Visibility="{TemplateBinding WatermarkVisibility}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                            <ToggleButton x:Name="PART_DropDown" BorderBrush="White" BorderThickness="1" Grid.Column="2" HorizontalAlignment="Stretch" IsTabStop="False" Padding="1" Template="{TemplateBinding DropDownButtonTemplate}" Width="20">
                                                <ToggleButton.Style>
                                                    <Style TargetType="{x:Type ToggleButton}">
                                                        <Setter Property="OverridesDefaultStyle" Value="True"/>
                                                        <Setter Property="Background">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                    <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                                                                    <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                                                                    <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="BorderBrush" Value="#FF6593CF"/>
                                                        <Setter Property="Foreground" Value="Black"/>
                                                        <Setter Property="BorderThickness" Value="1"/>
                                                        <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                        <Setter Property="VerticalContentAlignment" Value="Center"/>
                                                        <Setter Property="Padding" Value="1"/>
                                                        <Setter Property="Template">
                                                            <Setter.Value>
                                                                <ControlTemplate TargetType="{x:Type ToggleButton}">
                                                                    <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                                                                        <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                    </Border>
                                                                    <!--<ControlTemplate.Triggers>
                                                                        <Trigger Property="IsMouseOver" Value="True">
                                                                            <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                        <GradientStop Color="#FFDBCE99" Offset="0"/>
                                                                                        <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                            <Setter Property="Background" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                        <GradientStop Color="#FFFFE69E" Offset="1"/>
                                                                                        <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFFFFCDE"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                        </Trigger>
                                                                        <Trigger Property="IsPressed" Value="True">
                                                                            <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                        <GradientStop Color="#FFA78E66" Offset="0"/>
                                                                                        <GradientStop Color="#FFB9AE93" Offset="1"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                            <Setter Property="Background" TargetName="Chrome">
                                                                                <Setter.Value>
                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                        <GradientStop Color="#FFF3B277" Offset="0"/>
                                                                                        <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                                                                        <GradientStop Color="#FFF37E24" Offset="1"/>
                                                                                    </LinearGradientBrush>
                                                                                </Setter.Value>
                                                                            </Setter>
                                                                        </Trigger>
                                                                        <Trigger Property="IsEnabled" Value="False">
                                                                            <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                                                                        </Trigger>
                                                                    </ControlTemplate.Triggers>-->
                                                                </ControlTemplate>
                                                            </Setter.Value>
                                                        </Setter>
                                                    </Style>
                                                </ToggleButton.Style>
                                                <ToggleButton.Visibility>
                                                    <Binding Path="IsButtonPopUpEnabled" RelativeSource="{RelativeSource TemplatedParent}">
                                                        <Binding.Converter>
                                                            <BooleanToVisibilityConverter/>
                                                        </Binding.Converter>
                                                    </Binding>
                                                </ToggleButton.Visibility>
                                                <Path Data="M1,0L4.5,5 8,0" Fill="Transparent" HorizontalAlignment="Center" Height="5" Stretch="Uniform" Stroke="White" StrokeThickness="2" VerticalAlignment="Center" Width="8"/>
                                            </ToggleButton>
                                            <Grid Grid.Column="3">
                                                <Grid.RowDefinitions>
                                                    <RowDefinition Height="5*"/>
                                                    <RowDefinition Height="5*"/>
                                                </Grid.RowDefinitions>
                                                <RepeatButton x:Name="PART_UpArrow" BorderThickness="{TemplateBinding RepeatButtonBorderThickness}" Background="{TemplateBinding RepeatButtonBackground}" Grid.Column="1" IsTabStop="False" IsEnabled="{TemplateBinding IsEnabledRepeatButton}" Margin="{TemplateBinding UpRepeatButtonMargin}" Padding="1" Grid.Row="0" Width="20">
                                                    <RepeatButton.BorderBrush>
                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                            <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                                            <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                                            <GradientStop Color="#FF718597" Offset="0.375"/>
                                                            <GradientStop Color="#FF617584" Offset="1"/>
                                                        </LinearGradientBrush>
                                                    </RepeatButton.BorderBrush>
                                                    <RepeatButton.Visibility>
                                                        <Binding Path="IsVisibleRepeatButton" RelativeSource="{RelativeSource TemplatedParent}">
                                                            <Binding.Converter>
                                                                <BooleanToVisibilityConverter/>
                                                            </Binding.Converter>
                                                        </Binding>
                                                    </RepeatButton.Visibility>
                                                    <Path Data="F1M541.537,173.589L531.107,173.589 536.322,167.49 541.537,173.589z" Fill="#FF4B4F55" HorizontalAlignment="Center" Height="4" Stretch="Uniform" VerticalAlignment="Center" Width="7"/>
                                                </RepeatButton>
                                                <RepeatButton x:Name="PART_DownArrow" BorderThickness="{TemplateBinding RepeatButtonBorderThickness}" Background="{TemplateBinding RepeatButtonBackground}" Grid.Column="1" IsTabStop="False" IsEnabled="{TemplateBinding IsEnabledRepeatButton}" Margin="{TemplateBinding DownRepeatButtonMargin}" Padding="1" Grid.Row="1" Width="20">
                                                    <RepeatButton.BorderBrush>
                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                            <GradientStop Color="#FFA3AEB9" Offset="0"/>
                                                            <GradientStop Color="#FF8399A9" Offset="0.375"/>
                                                            <GradientStop Color="#FF718597" Offset="0.375"/>
                                                            <GradientStop Color="#FF617584" Offset="1"/>
                                                        </LinearGradientBrush>
                                                    </RepeatButton.BorderBrush>
                                                    <RepeatButton.Visibility>
                                                        <Binding Path="IsVisibleRepeatButton" RelativeSource="{RelativeSource TemplatedParent}">
                                                            <Binding.Converter>
                                                                <BooleanToVisibilityConverter/>
                                                            </Binding.Converter>
                                                        </Binding>
                                                    </RepeatButton.Visibility>
                                                    <Path Data="F1M531.107,321.943L541.537,321.943 536.322,328.042 531.107,321.943z" Fill="#FF4B4F55" HorizontalAlignment="Center" Height="4" Stretch="Uniform" VerticalAlignment="Center" Width="7"/>
                                                </RepeatButton>
                                            </Grid>
                                            <Popup x:Name="PART_Popup" IsOpen="False" Grid.Row="1" StaysOpen="False">
                                                <Grid Background="Transparent">
                                                    <Grid x:Name="PART_PopupGrid" Background="{TemplateBinding Background}">
                                                        <Grid.RowDefinitions>
                                                            <RowDefinition Height="*"/>
                                                            <RowDefinition Height="Auto"/>
                                                        </Grid.RowDefinitions>
                                                        <Grid>
                                                            <Grid.ColumnDefinitions>
                                                                <ColumnDefinition Width="5*"/>
                                                                <ColumnDefinition Width="5*"/>
                                                            </Grid.ColumnDefinitions>
                                                            <Border x:Name="CalendarBorder" Background="Transparent" Grid.Column="0" Height="190" Grid.Row="0">
                                                                <StackPanel Visibility="Visible">
                                                                    <Controls:Calendar x:Name="Calendar" AbbreviatedMonthNames="{TemplateBinding AbbreviatedMonthNames}" Culture="{TemplateBinding CultureInfo}" DisplayDate="2017-12-11" FormatCalendar="{TemplateBinding FormatCalendar}" FirstDayOfWeek="Sunday" ShortestDayNames="{TemplateBinding ShortestDayNames}" Style="{TemplateBinding CalendarStyle}"/>
                                                                    <ToggleButton x:Name="Button_Today" Content="Today" FontSize="12">
                                                                        <ToggleButton.Style>
                                                                            <Style TargetType="{x:Type ToggleButton}">
                                                                                <Setter Property="OverridesDefaultStyle" Value="True"/>
                                                                                <Setter Property="Background">
                                                                                    <Setter.Value>
                                                                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                            <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                                                                                            <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                                                                                            <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                                                                                        </LinearGradientBrush>
                                                                                    </Setter.Value>
                                                                                </Setter>
                                                                                <Setter Property="BorderBrush" Value="#FF6593CF"/>
                                                                                <Setter Property="Foreground" Value="Black"/>
                                                                                <Setter Property="BorderThickness" Value="1"/>
                                                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                                                <Setter Property="VerticalContentAlignment" Value="Center"/>
                                                                                <Setter Property="Padding" Value="1"/>
                                                                                <Setter Property="Template">
                                                                                    <Setter.Value>
                                                                                        <ControlTemplate TargetType="{x:Type ToggleButton}">
                                                                                            <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                                                                                                <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                                            </Border>
                                                                                            <ControlTemplate.Triggers>
                                                                                                <Trigger Property="IsMouseOver" Value="True">
                                                                                                    <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                                        <Setter.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFDBCE99" Offset="0"/>
                                                                                                                <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </Setter.Value>
                                                                                                    </Setter>
                                                                                                    <Setter Property="Background" TargetName="Chrome">
                                                                                                        <Setter.Value>
                                                                                                            <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                                                <GradientStop Color="#FFFFE69E" Offset="1"/>
                                                                                                                <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                                                                                                <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                                                                                                <GradientStop Color="#FFFFFCDE"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </Setter.Value>
                                                                                                    </Setter>
                                                                                                </Trigger>
                                                                                                <Trigger Property="IsPressed" Value="True">
                                                                                                    <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                                        <Setter.Value>
                                                                                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                                <GradientStop Color="#FFA78E66" Offset="0"/>
                                                                                                                <GradientStop Color="#FFB9AE93" Offset="1"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </Setter.Value>
                                                                                                    </Setter>
                                                                                                    <Setter Property="Background" TargetName="Chrome">
                                                                                                        <Setter.Value>
                                                                                                            <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                                                <GradientStop Color="#FFF3B277" Offset="0"/>
                                                                                                                <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                                                                                                <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                                                                                                <GradientStop Color="#FFF37E24" Offset="1"/>
                                                                                                            </LinearGradientBrush>
                                                                                                        </Setter.Value>
                                                                                                    </Setter>
                                                                                                </Trigger>
                                                                                                <Trigger Property="IsEnabled" Value="False">
                                                                                                    <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                                                                                                </Trigger>
                                                                                            </ControlTemplate.Triggers>
                                                                                        </ControlTemplate>
                                                                                    </Setter.Value>
                                                                                </Setter>
                                                                            </Style>
                                                                        </ToggleButton.Style>
                                                                    </ToggleButton>
                                                                </StackPanel>
                                                            </Border>
                                                            <Border x:Name="ClockBorder" Background="Transparent" Grid.Column="1" Height="190" Margin="2" Grid.Row="0">
                                                                <syncfusion:Clock x:Name="Clock" DateTime="12/11/2017 16:32:59"/>
                                                            </Border>
                                                        </Grid>
                                                        <Grid x:Name="PART_OptionGrid" Background="{TemplateBinding Background}" HorizontalAlignment="Center" Margin="4,4,0,0" Grid.Row="1">
                                                            <Grid.ColumnDefinitions>
                                                                <ColumnDefinition Width="70"/>
                                                                <ColumnDefinition Width="50"/>
                                                                <ColumnDefinition Width="50"/>
                                                            </Grid.ColumnDefinitions>
                                                            <CheckBox x:Name="Button_Calender" Content="Calender" Grid.Column="0" Foreground="Black" FontSize="12" IsChecked="{Binding IsCalendarEnabled, RelativeSource={RelativeSource TemplatedParent}}" Margin="0,0,0,2" Width="70"/>
                                                            <CheckBox x:Name="Button_Clock" Content="Clock" Grid.Column="1" Foreground="Black" FontSize="12" IsChecked="{Binding IsWatchEnabled, RelativeSource={RelativeSource TemplatedParent}}" Margin="0,0,0,2" Width="50"/>
                                                            <ToggleButton x:Name="Button_NoDate" Content="Reset" Grid.Column="2" FontSize="12" Margin="0,0,2,4" Width="50">
                                                                <ToggleButton.Style>
                                                                    <Style TargetType="{x:Type ToggleButton}">
                                                                        <Setter Property="OverridesDefaultStyle" Value="True"/>
                                                                        <Setter Property="Background">
                                                                            <Setter.Value>
                                                                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                    <GradientStop Color="#FFEFEFEF" Offset="0.432"/>
                                                                                    <GradientStop Color="#FFE5E5E5" Offset="0.516"/>
                                                                                    <GradientStop Color="#FFD9D9D9" Offset="0.526"/>
                                                                                </LinearGradientBrush>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                        <Setter Property="BorderBrush" Value="#FF6593CF"/>
                                                                        <Setter Property="Foreground" Value="Black"/>
                                                                        <Setter Property="BorderThickness" Value="1"/>
                                                                        <Setter Property="HorizontalContentAlignment" Value="Center"/>
                                                                        <Setter Property="VerticalContentAlignment" Value="Center"/>
                                                                        <Setter Property="Padding" Value="1"/>
                                                                        <Setter Property="Template">
                                                                            <Setter.Value>
                                                                                <ControlTemplate TargetType="{x:Type ToggleButton}">
                                                                                    <Border x:Name="Chrome" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0.5" Background="{TemplateBinding Background}" CornerRadius="0" SnapsToDevicePixels="True">
                                                                                        <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                                                                                    </Border>
                                                                                    <ControlTemplate.Triggers>
                                                                                        <Trigger Property="IsMouseOver" Value="True">
                                                                                            <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                        <GradientStop Color="#FFDBCE99" Offset="0"/>
                                                                                                        <GradientStop Color="#FFCEC0A4" Offset="0.996"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                            <Setter Property="Background" TargetName="Chrome">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                                        <GradientStop Color="#FFFFE69E" Offset="1"/>
                                                                                                        <GradientStop Color="#FFFFE8A7" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFFFD767" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFFFFCDE"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                        </Trigger>
                                                                                        <Trigger Property="IsPressed" Value="True">
                                                                                            <Setter Property="BorderBrush" TargetName="Chrome">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                                                                        <GradientStop Color="#FFA78E66" Offset="0"/>
                                                                                                        <GradientStop Color="#FFB9AE93" Offset="1"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                            <Setter Property="Background" TargetName="Chrome">
                                                                                                <Setter.Value>
                                                                                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                                                                                        <GradientStop Color="#FFF3B277" Offset="0"/>
                                                                                                        <GradientStop Color="#FFF4B378" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFF4A770" Offset="0.4"/>
                                                                                                        <GradientStop Color="#FFF37E24" Offset="1"/>
                                                                                                    </LinearGradientBrush>
                                                                                                </Setter.Value>
                                                                                            </Setter>
                                                                                        </Trigger>
                                                                                        <Trigger Property="IsEnabled" Value="False">
                                                                                            <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                                                                                        </Trigger>
                                                                                    </ControlTemplate.Triggers>
                                                                                </ControlTemplate>
                                                                            </Setter.Value>
                                                                        </Setter>
                                                                    </Style>
                                                                </ToggleButton.Style>
                                                                <ToggleButton.Visibility>
                                                                    <Binding Path="IsEmptyDateEnabled" RelativeSource="{RelativeSource TemplatedParent}">
                                                                        <Binding.Converter>
                                                                            <BooleanToVisibilityConverter/>
                                                                        </Binding.Converter>
                                                                    </Binding>
                                                                </ToggleButton.Visibility>
                                                            </ToggleButton>
                                                        </Grid>
                                                    </Grid>
                                                </Grid>
                                            </Popup>
                                        </Grid>
                                    </Grid>
                                </Border>
                                <Border x:Name="MouseOverBorder" BorderBrush="#FF99C1E2" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1" Opacity="1" Visibility="Collapsed"/>
                                <Border x:Name="FocusBorder" BorderBrush="#FF6DBDD1" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1" Opacity="1" Visibility="Collapsed"/>
                            </Grid>
                            <ControlTemplate.Triggers>
                                <Trigger Property="IsMouseOver" Value="True">
                                    <Setter Property="Visibility" TargetName="MouseOverBorder" Value="Visible"/>
                                    <Setter Property="Visibility" TargetName="FocusBorder" Value="Collapsed"/>
                                </Trigger>
                                <Trigger Property="IsFocused" Value="True">
                                    <Setter Property="Visibility" TargetName="MouseOverBorder" Value="Collapsed"/>
                                    <Setter Property="Visibility" TargetName="FocusBorder" Value="Visible"/>
                                </Trigger>
                                <Trigger Property="IsReadOnly" Value="True">
                                    <Setter Property="Background" Value="#FFF4F4F4"/>
                                    <Setter Property="BorderBrush" Value="#FFADB2B5"/>
                                    <Setter Property="Foreground" Value="#FF6D6D6D"/>
                                </Trigger>
                            </ControlTemplate.Triggers>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>

</ResourceDictionary>