This question is locked. New answers and comments are not allowed.
Purushothaman
Top achievements
Rank 2
Purushothaman
asked on 24 May 2012, 10:51 AM
Hi,
Please any one can tell How to remove white line in TimeRulerMonthViewGroupItem?.Here i attached the image for sample.
Please any one can tell How to remove white line in TimeRulerMonthViewGroupItem?.Here i attached the image for sample.
7 Answers, 1 is accepted
0
Hi,
Please, share your customized xaml.
Regards,
Dani
the Telerik team
Please, share your customized xaml.
Regards,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Purushothaman
Top achievements
Rank 2
answered on 28 May 2012, 10:30 AM
Thank-you for your replay,In my project i am using seprate xmal file for scheduleview style.Here i copy and paste full code of style.
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:tkControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
xmlns:tkScheduleView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView">
<?BODY BEGIN?>
<telerik:InvertedBooleanToVisibilityConverter
x:Key="InvertedBooleanToVisibilityConverter" />
<tkScheduleView:InvertedNullToVisibilityConverter
x:Key="InvertedNullToVisibilityConverter" />
<telerik:InvertedVisibilityConverter
x:Key="InvertedVisibilityConverter" />
<telerik:BooleanToVisibilityConverter
x:Key="BooleanToVisibilityConverter" />
<telerik:NullToVisibilityConverter
x:Key="NullToVisibilityConverter" />
<telerik:BoolToInputModeConverter
x:Key="BoolToInputModeConverter" />
<telerik:ResourcesSeparatorConverter
x:Key="ResourcesSeparatorConverter" />
<telerik:EnumToBooleanConverter
x:Key="EnumToBoolConverter" />
<telerik:EnumToVisibilityConverter
x:Key="EnumToVisibilityConverter" />
<tkScheduleView:InvertedBooleanConverter
x:Key="InvertedBooleanConverter" />
<telerik:RecurrenceStateIsExeptionToVisibilityConverter
x:Key="RecurrenceStateIsExeptionToVisibilityConverter" />
<telerik:RecurrenceStateIsOccurenceToVisibilityConverter
x:Key="RecurrenceStateIsOccurenceToVisibilityConverter" />
<telerik:DraggedAppointmentsToLocalizedStringConverter
x:Key="DraggedAppointmentsToLocalizedStringConverter" />
<telerik:EnumerableCountToVisibilityConverter
x:Key="EnumerableCountToVisibilityConverter" />
<telerik:LocalizationManager
x:Key="LocalizationManager" />
<!-- Styles and Templates -->
<!--Brushes-->
<telerik:Office_BlueTheme
x:Key="Theme" />
<!-- Drag Visual -->
<SolidColorBrush
x:Key="DragVisualForeground"
Color="Black" />
<SolidColorBrush
x:Key="DragVisualBorder"
Color="#FF848484" />
<LinearGradientBrush
x:Key="DragVisualBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="White"
Offset="0" />
<GradientStop
Color="#FFDEDEDE"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="DragVisualMultyItemBorder"
Color="#FF848484" />
<SolidColorBrush
x:Key="DragVisualMultyItemBackground"
Color="White" />
<SolidColorBrush
x:Key="DragVisualEffectNormal"
Color="#FF364F6F" />
<SolidColorBrush
x:Key="DragVisualEffectImportant"
Color="#FFDC000C" />
<!--ScheduleView-->
<SolidColorBrush
x:Key="RadScheduleForeground"
Color="Black" />
<!--<SolidColorBrush
x:Key="RadScheduleBackground"
Color="#FFFFFFFF" />-->
<SolidColorBrush
x:Key="RadScheduleBackground"
Color="#E6E6E6" />
<SolidColorBrush
x:Key="RadScheduleBorderBrush"
Color="#E6E6E6" />
<SolidColorBrush
x:Key="TimeRuleBackground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleBackground"
Color="#99FCE7AD" />
<!--<SolidColorBrush
x:Key="DecorationRectangleBackground_Selected"
Color="#AAFCE7AD" />-->
<SolidColorBrush
x:Key="DecorationRectangleBackground_Selected"
Color="#FFE7F1CC" />
<SolidColorBrush
x:Key="DecorationRectangleInnerBorder_Selected"
Color="#AAFFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleOuterBorder_Selected"
Color="Transparent" />
<SolidColorBrush
x:Key="DecorationRectangleBackground_MouseOver"
Color="#FFFFFBD1" />
<SolidColorBrush
x:Key="DecorationRectangleInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleOuterBorder_MouseOver"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="DecorationRectangleBackground_DragOver"
Color="#99FCE7AD" />
<SolidColorBrush
x:Key="DecorationRectangleInnerBorder_DragOver"
Color="#99FFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleOuterBorder_DragOver"
Color="#FF848484" />
<!-- Navigation Header -->
<LinearGradientBrush
x:Key="SchedulerHeaderOuterBorder"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF96B3DC"
Offset="0" />
<GradientStop
Color="#FF7CA1CD"
Offset="1" />
<GradientStop
Color="#FF6289B9"
Offset="0.5" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="SchedulerHeaderInnerBorder"
Color="#FFEFF6FF" />
<SolidColorBrush
x:Key="SchedulerHeaderBackground"
Color="#E6E6E6" />
<!--<LinearGradientBrush
x:Key="SchedulerHeaderBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
<GradientStop
Color="#FFABC9EE"
Offset="0.43" />
<GradientStop
Color="#FFC6DFFF"
Offset="0.42" />
</LinearGradientBrush>-->
<!--<SolidColorBrush
x:Key="ViewModeButtonForeground"
Color="#FFFFFFFF" />-->
<SolidColorBrush
x:Key="ViewModeButtonForeground"
Color="Black"/>
<SolidColorBrush
x:Key="ViewModeButtonOuterBorder"
Color="DarkGray" />
<SolidColorBrush
x:Key="ViewModeButtonInnerBorder"
Color="#00000000" />
<SolidColorBrush
x:Key="ViewModeButtonBackground"
Color="#FF8FC1C0" />
<!--<LinearGradientBrush
x:Key="ViewModeButtonBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF" />
<GradientStop
Color="#FFD0F3FF"
Offset="1" />
<GradientStop
Color="#FFA1C5F2"
Offset="0.43" />
<GradientStop
Color="#FFCAE1FF"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="NavigationIconBackground_Normal"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="NavigationIconForeground_Normal"
Color="#FF567DB1" />
<SolidColorBrush
x:Key="NavigationIconBackground_Highlighted"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="NavigationIconForeground_Highlighted"
Color="#FF567DB1" />
<SolidColorBrush
x:Key="NavigationButtonOverBackground"
Color="#989898" />
<SolidColorBrush
x:Key="NavigationButtonOverBorderBrush"
Color="#DBCE99" />
<SolidColorBrush
x:Key="NavigationButtonOverInnerBorderBrush"
Color="#FFFFFDE6" />
<SolidColorBrush
x:Key="NavigationButtonPressedBackground"
Color="#989898" />
<SolidColorBrush
x:Key="NavigationButtonPressedBorderBrush"
Color="#989898" />
<SolidColorBrush
x:Key="NavigationButtonPressedInnerBorderBrush"
Color="#F1F1F1" />
<SolidColorBrush
x:Key="ViewModeButtonForeground_MouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="ViewModeButtonOuterBorder_MouseOver"
Color="#FFFFC92B" />
<!--<SolidColorBrush
x:Key="ViewModeButtonBackground_MouseOver"
Color="Blue" />-->
<LinearGradientBrush
x:Key="ViewModeButtonBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#147EC1"
Offset="1" />
<GradientStop
Color="#147EC1"
Offset="0" />
<GradientStop
Color="#147EC1"
Offset="0.43" />
<GradientStop
Color="#147EC1"
Offset="0.42" />
</LinearGradientBrush>
<!--<LinearGradientBrush
x:Key="ViewModeButtonBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="ViewModeButtonInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<!--<SolidColorBrush
x:Key="ViewModeButtonForeground_Pressed"
Color="#FF000000" />-->
<SolidColorBrush
x:Key="ViewModeButtonForeground_Pressed"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="ViewModeButtonOuterBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="ViewModeButtonBackground_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#147EC1"
Offset="0.996" />
<GradientStop
Color="#147EC1"
Offset="0.17" />
<GradientStop
Color="#147EC1"
Offset="0.57" />
<GradientStop
Color="#147EC1"
Offset="0.56" />
<GradientStop
Color="#147EC1"
Offset="0" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="ViewModeButtonInnerBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<ControlTemplate
x:Key="CalendarIcon"
TargetType="ContentControl">
<Grid>
<Path
x:Name="CalendarIconBackground"
Width="7"
Height="7"
Margin="0 1 0 0"
Stroke="{TemplateBinding Background}"
Data="M0,0.5 L7,0.5 M0,2.5 L7,2.5 M0,4.5 L7,4.5 M0,6.5 L7,6.5 M0.5,0 L0.5,7 M2.5,0 L2.5,7 M4.5,0 L4.5,7 M6.5,0 L6.5,7" />
<Path
x:Name="CalendarIconForeground"
Width="7"
Height="7"
Margin="0 0 0 1"
Stroke="{TemplateBinding Foreground}"
Data="M0,0.5 L7,0.5 M0,2.5 L7,2.5 M0,4.5 L7,4.5 M0,6.5 L7,6.5 M0.5,0 L0.5,7 M2.5,0 L2.5,7 M4.5,0 L4.5,7 M6.5,0 L6.5,7" />
</Grid>
</ControlTemplate>
<SolidColorBrush
x:Key="NavigationIntervalForegroundRear"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="NavigationIntervalForegroundFront"
Color="#FF000000" />
<!--GroupHeader-->
<SolidColorBrush
x:Key="GroupHeaderBorderBrush"
Color="Transparent" />
<SolidColorBrush
x:Key="GroupHeaderHeaderBackground"
Color="#FFB6D963" />
<SolidColorBrush
x:Key="GroupHeaderVerticalBorderBrush"
Color="#FFB3D0F3" />
<!--<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
<GradientStop
Color="#FFC6DFFF"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="GroupHeaderHeaderInnerBorder"
Color="#FFB6D963" />
<SolidColorBrush
x:Key="GroupHeaderHeaderOuterBorder"
Color="#FFB6D963" />
<SolidColorBrush
x:Key="GroupHeaderHeaderBackground_Vertical"
Color="#FFB6D963" />
<!--<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground_Vertical"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
<GradientStop
Color="#FFC6DFFF"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="GroupHeaderHeaderInnerBorder_Vertical"
Color="#FFEFF6FF" />
<SolidColorBrush
x:Key="GroupHeaderHeaderOuterBorder_Vertical"
Color="#FF83A5D2" />
<SolidColorBrush
x:Key="MonthViewWeekHeaderBackground"
Color="#FFE2F0FD" />
<SolidColorBrush
x:Key="MonthViewWeekHeaderInnerBorder"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="MonthViewWeekHeaderOuterBorder"
Color="#FF83A5D2" />
<SolidColorBrush
x:Key="GroupHeaderBorderBrush_Today"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderInnerBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderOuterBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
<GradientStop
Color="#FF282828" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="GroupHeaderBorderBrush_VerticalToday"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground_VerticalToday"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderInnerBorder_VerticalToday"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderOuterBorder_VerticalToday"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
<GradientStop
Color="#FF282828" />
</LinearGradientBrush>
<Thickness
x:Key="HorizontalGroupHeaderTodayBorderThickness">2 0 2 2</Thickness>
<Thickness
x:Key="VerticalGroupHeaderTodayBorderThickness">0 2 2 2</Thickness>
<Thickness
x:Key="GroupHeaderTodayBorderThickness">2</Thickness>
<!--TimeRuler-->
<!--<SolidColorBrush
x:Key="TimeRulerGroupItemForeground"
Color="#FFFFFFFF" />-->
<SolidColorBrush
x:Key="TimeRulerMonthViewGroupItemStyleForeground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="TimeRulerMonthViewGroupItemStyleBackground"
Color="#147EC1" />
<SolidColorBrush
x:Key="TimeRulerGroupItemForeground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="TimeRulerItemMajorTickStroke"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerItemMinorTickStroke"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerItemMajorTickStroke_Vertical"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerItemMinorTickStroke_Vertical"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerLineStroke"
Color="DarkGray" />
<Thickness
x:Key="TimeRulerItemMargin_Vertical">5 0</Thickness>
<Thickness
x:Key="TimeRulerItemPadding_Vertical">0</Thickness>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemOuterBorder"
Color="#FF83A5D2" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorder"
Color="#FFEFF6FF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_Normal"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_MouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_Today"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_TodayMouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="HorizontalBottomLevelTodayForeground"
Color="#FF000000" />
<SolidColorBrush
x:Key="CurrentTimeFill"
Color="#FFFFC92B" />
<!--MonthViewExpandButton-->
<SolidColorBrush
x:Key="MonthViewExpandIconStroke"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewExpandIconStroke_MouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewExpandIconStroke_Pressed"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewExpandOuterBorder"
Color="#00000000" />
<SolidColorBrush
x:Key="MonthViewExpandButtonBackground"
Color="#00000000" />
<SolidColorBrush
x:Key="MonthViewExpandInnerBorder"
Color="#00000000" />
<SolidColorBrush
x:Key="MonthViewExpandOuterBorder_MouseOver"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="MonthViewExpandButtonBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewExpandInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewExpandOuterBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewExpandButtonBackground_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFE9227"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74"
Offset="0" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewExpandInnerBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemOuterBorder_MouseOver"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemOuterBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemOuterBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemOuterBorder_TodayMouseOver"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorder_TodayMouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_TodayMouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemOuterBorder_TodayPressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorder_TodayPressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_TodayPressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorderVertical_MouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackgroundVertical_MouseOver"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorderVertical_Pressed"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackgroundVertical_Pressed"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFE9227"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74"
Offset="0" />
</LinearGradientBrush>
<!-- Appointment -->
<SolidColorBrush
x:Key="AppointmentItemBackground"
Color="#FFDFE1E7" />
<!--<LinearGradientBrush
x:Key="AppointmentItemBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF" />
<GradientStop
Color="#FFCAE1FF"
Offset="1" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="AppointmentItemInnerBorder"
Color="#FFFFFFFF" />
<!--<SolidColorBrush
x:Key="AppointmentItemOuterBorder"
Color="#FF83A5D2" />-->
<LinearGradientBrush
x:Key="AppointmentItemOuterBorder"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF" />
<GradientStop
Color="#FFCAE1FF"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="AppointmentItemBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentItemInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemOuterBorder_MouseOver"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="AppointmentItemBackground_Selected"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFCE79F"
Offset="1" />
<GradientStop
Color="#FFFDD3A8" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentItemInnerBorder_Selected"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemOuterBorder_Selected"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="AppoinmtentItemBackground_ReadOnly"
Color="#99D0D8E2" />
<LinearGradientBrush
x:Key="AppointmentItemBackground_Drag"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#AAFFFFFF" />
<GradientStop
Color="#AAD4D4D4"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentItemInnerBorder_Drag"
Color="#AAFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemOuterBorder_Drag"
Color="#FF848484" />
<SolidColorBrush
x:Key="AppointmentItemResizeGripStroke"
Color="#FF444444" />
<SolidColorBrush
x:Key="AppointmentItemResizeGripBackground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemDeleteIconStroke"
Color="#FF444444" />
<LinearGradientBrush
x:Key="AppointmentResizeCueBackground"
StartPoint="0.5,0"
EndPoint="0.5,1">
<GradientStop
Color="#88FDD3A8" />
<GradientStop
Color="#88FCE79F"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentResizeCueBorderBrush"
Color="#FF83A5D2" />
<LinearGradientBrush
x:Key="AppointmentResizeCueTopLeftMarkStroke"
StartPoint="0 0"
EndPoint="1 1">
<GradientStop
Offset="0.33"
Color="#FF83A5D2" />
<GradientStop
Offset="1"
Color="#0083A5D2" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="AppointmentResizeCueBottomRightMarkStroke"
StartPoint="1 1"
EndPoint="0 0">
<GradientStop
Offset="0.33"
Color="#FF83A5D2" />
<GradientStop
Offset="1"
Color="#0083A5D2" />
</LinearGradientBrush>
<ImageSource
x:Key="AppointmentItem_Recurrence">/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png</ImageSource>
<ImageSource
x:Key="AppointmentItem_Exception">/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png</ImageSource>
<SolidColorBrush
x:Key="AppointmentItemIndicatorFill"
Color="#FF000000" />
<!-- Categories -->
<LinearGradientBrush
x:Key="RedCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFE8807D"
Offset="0" />
<GradientStop
Color="#FFF7D4D2"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GreenCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF99CC66"
Offset="0" />
<GradientStop
Color="#FFCCFF99"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="BlueCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF6C92BF"
Offset="0" />
<GradientStop
Color="#FFC3D6EC"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="PurpleCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB687B8"
Offset="0" />
<GradientStop
Color="#FFE9D7EB"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="YellowCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD351"
Offset="0" />
<GradientStop
Color="#FFFFFF99"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="OliveCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFA3AD70"
Offset="0" />
<GradientStop
Color="#FFE5F0CA"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="PinkCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFCE66A2"
Offset="0" />
<GradientStop
Color="#FFF8A2D3"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="OrangeCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFF57238"
Offset="0" />
<GradientStop
Color="#FFFFCC00"
Offset="1" />
</LinearGradientBrush>
<!-- Markers -->
<LinearGradientBrush
x:Key="FreeMarkerBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF00C800"
Offset="0" />
<GradientStop
Color="#FF1E841E"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
EndPoint="9,9"
x:Key="TentativeMarkerBrush"
StartPoint="2,2"
SpreadMethod="Repeat"
MappingMode="Absolute">
<GradientStop
Color="#FF05529D"
Offset="0" />
<GradientStop
Color="#FF05529D"
Offset="1" />
<GradientStop
Color="White"
Offset="0.25" />
<GradientStop
Color="#FF05529D"
Offset="0.5" />
<GradientStop
Color="White"
Offset="0.741" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="OutOfOfficeMarkerBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFF1A202"
Offset="1" />
<GradientStop
Color="#FFFFF502" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="BusyMarkerBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFF0606" />
<GradientStop
Color="#FFBF0303"
Offset="1" />
</LinearGradientBrush>
<!-- HighlightItems -->
<!--<SolidColorBrush
x:Key="SpecialSlotBackground"
Color="#19153D6E" />-->
<SolidColorBrush
x:Key="SpecialSlotBackground"
Color="LightGray" />
<SolidColorBrush
x:Key="SpecialSlotBackgroundDragEligible"
Color="LightGreen" />
<SolidColorBrush
x:Key="SpecialSlotBackground_MouseOver"
Color="Green" />
<!--<SolidColorBrush
x:Key="SpecialSlotBackground_ReadOnly"
Color="#33153D6E" />-->
<SolidColorBrush
x:Key="SpecialSlotBackground_ReadOnly"
Color="LightGreen" />
<!--Dialogs-->
<!--<ImageSource
x:Key="EditAppointmentTemplate_Recurrence">/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/Recurrence.png</ImageSource>-->
<!-- DIALOGS >> -->
<!--EditAppointmentStyle-->
<tkScheduleView:ResourceTypeTemplateSelector
x:Key="ResourcesEditorItemTemplateSelector">
<tkScheduleView:ResourceTypeTemplateSelector.SingleSelectionTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="120" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<TextBlock
Text="{Binding ResourceType.DisplayName}"
Margin="6" />
<telerik:RadComboBox
Grid.Column="1"
Margin="3"
ItemsSource="{Binding ResourceItems}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearAllButtonContent}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
DisplayMemberPath="Resource.DisplayName"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
</DataTemplate>
</tkScheduleView:ResourceTypeTemplateSelector.SingleSelectionTemplate>
<tkScheduleView:ResourceTypeTemplateSelector.MultipleSelectionTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="120" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<TextBlock
Text="{Binding ResourceType.DisplayName}"
Margin="6" />
<telerik:RadComboBox
Grid.Column="1"
Margin="3"
ItemsSource="{Binding ResourceItems}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearAllButtonContent}"
SelectedIndex="{Binding SelectedIndex, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadComboBox.ItemContainerStyle>
<Style
TargetType="telerik:RadComboBoxItem">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<CheckBox
IsChecked="{Binding IsChecked, Mode=TwoWay}"
Content="{Binding Resource.DisplayName}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:RadComboBox.ItemContainerStyle>
<telerik:RadComboBox.SelectionBoxTemplate>
<DataTemplate>
<TextBlock
Text="{Binding Owner.CheckedItems, Converter={StaticResource ResourcesSeparatorConverter}}" />
</DataTemplate>
</telerik:RadComboBox.SelectionBoxTemplate>
</telerik:RadComboBox>
</Grid>
</DataTemplate>
</tkScheduleView:ResourceTypeTemplateSelector.MultipleSelectionTemplate>
</tkScheduleView:ResourceTypeTemplateSelector>
<DataTemplate
x:Key="TimeMarkerComboBoxItemContentTemplate">
<StackPanel
Orientation="Horizontal">
<Rectangle
Fill="{Binding TimeMarkerBrush}"
Margin="2 0"
Width="12"
Height="12" />
<TextBlock
telerik:LocalizationManager.ResourceKey="{Binding TimeMarkerName}"
Margin="2 0" />
</StackPanel>
</DataTemplate>
<DataTemplate
x:Key="CategoryComboBoxItemContentTemplate">
<StackPanel
Orientation="Horizontal">
<Rectangle
Fill="{Binding CategoryBrush}"
Margin="2 0"
Width="12"
Height="12" />
<TextBlock
Text="{Binding DisplayName}"
Margin="2 0" />
</StackPanel>
</DataTemplate>
<ControlTemplate
x:Key="EditAppointmentTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<telerik:RadToolBar
x:Name="AppointmentToolbar"
GripVisibility="Collapsed"
Grid.Row="0"
Margin="-1 -1 -1 3"
telerik:StyleManager.Theme="{StaticResource Theme}">
<!--<telerik:RadButton
x:Name="EditRecurrenceButton"
Command="tkScheduleView:RadScheduleViewCommands.EditRecurrenceRule"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
JN 03132012 will probably need to remove this button entirely but we'll see later-->
<telerik:RadButton
x:Name="EditRecurrenceButton"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<ToolTipService.ToolTip>
<ToolTip
telerik:LocalizationManager.ResourceKey="EditRecurrence"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<StackPanel
Orientation="Horizontal"
Margin="2 0">
<Image
Margin="2 0"
Stretch="None"
Source="{StaticResource EditAppointmentTemplate_Recurrence}" />
<TextBlock
Margin="4 0"
telerik:LocalizationManager.ResourceKey="EditRecurrence"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
</telerik:RadButton>
<!--<telerik:RadButton
x:Name="EditParentAppointmentButton"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Command="tkScheduleView:RadScheduleViewCommands.EditParentAppointment"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource BooleanToVisibilityConverter}}">-->
<telerik:RadButton
x:Name="EditParentAppointmentButton"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource BooleanToVisibilityConverter}}">
<ToolTipService.ToolTip>
<TextBlock
telerik:LocalizationManager.ResourceKey="EditParentAppointment"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<TextBlock
Margin="4 0"
telerik:LocalizationManager.ResourceKey="EditParentAppointment"
Foreground="{StaticResource RadScheduleForeground}" />
</telerik:RadButton>
<telerik:RadToolBarSeparator />
<TextBlock
x:Name="ShowAs"
telerik:LocalizationManager.ResourceKey="ShowAs"
Margin="1 0 1 1"
VerticalAlignment="Center"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadComboBox
x:Name="PART_TimeMarkers"
Margin="2 1"
Width="110"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
EmptyText="{Binding TimeMarkersEmptyText}"
ItemsSource="{Binding TimeMarkers}"
SelectedItem="{Binding Occurrence.Appointment.TimeMarker, Mode=TwoWay}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearSelectionButtonContent}"
ItemTemplate="{StaticResource TimeMarkerComboBoxItemContentTemplate}"
SelectionBoxTemplate="{StaticResource TimeMarkerComboBoxItemContentTemplate}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="PART_Categories"
Margin="2 1"
Width="120"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
EmptyText="{Binding CategoriesEmptyText}"
ItemsSource="{Binding Categories}"
SelectedItem="{Binding Occurrence.Appointment.Category, Mode=TwoWay}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearSelectionButtonContent}"
ItemTemplate="{StaticResource CategoryComboBoxItemContentTemplate}"
SelectionBoxTemplate="{StaticResource CategoryComboBoxItemContentTemplate}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadToggleButton
x:Name="HighImportaceButton"
Width="22"
Height="22"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsChecked="{Binding IsHighImportance, Mode=TwoWay}">
<ToolTipService.ToolTip>
<ToolTip
telerik:LocalizationManager.ResourceKey="HighImportance"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<StackPanel
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Path
Stretch="Fill"
Height="10"
HorizontalAlignment="Center"
Width="5.451"
Data="M200.39647,58.840393 C200.39337,58.336426 201.14566,57.683922 202.56244,57.684292 C204.06589,57.684685 204.73764,58.357765 204.72783,58.992363 C205.04649,61.795574 203.04713,64.181099 202.47388,66.133446 C201.93753,64.154961 199.9471,61.560352 200.39647,58.840393 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFFF0606"
Offset="0.609" />
<GradientStop
Color="#FFBF0303"
Offset="0.927" />
</LinearGradientBrush>
</Path.Fill>
</Path>
<Ellipse
Width="3"
Height="3"
HorizontalAlignment="Center">
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop
Color="#FFFF0606"
Offset="0" />
<GradientStop
Color="#FFBF0303"
Offset="1" />
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
</StackPanel>
</telerik:RadToggleButton>
<telerik:RadToggleButton
x:Name="LowImportaceButton"
Width="22"
Height="22"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsChecked="{Binding IsLowImportance, Mode=TwoWay}">
<ToolTipService.ToolTip>
<ToolTip
telerik:LocalizationManager.ResourceKey="LowImportance"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<Path
Stretch="Fill"
Height="12"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="9"
Stroke="#FF0365A7"
Data="M222.40353,60.139881 L226.65768,60.139843 L226.63687,67.240196 L229.15347,67.240196 L224.37816,71.394943 L219.65274,67.240196 L222.37572,67.219345 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFBBE4FF" />
<GradientStop
Color="#FF024572"
Offset="0.836" />
<GradientStop
Color="#FF43ADF4"
Offset="0.466" />
</LinearGradientBrush>
</Path.Fill>
</Path>
</telerik:RadToggleButton>
</telerik:RadToolBar>
<Border
x:Name="AppointmentCategory"
Grid.Row="1"
Height="20"
Margin="6 6"
CornerRadius="3"
Background="{Binding SelectedItem.CategoryBrush, ElementName=PART_Categories}"
Visibility="{Binding SelectedItem, ElementName=PART_Categories,Converter={StaticResource NullToVisibilityConverter}}">
<TextBlock
Margin="6 0"
Text="{Binding SelectedItem.DisplayName, ElementName=PART_Categories}"
VerticalAlignment="Center" />
</Border>
<Grid
x:Name="Details"
Grid.Row="2"
Margin="6">
<Grid.Resources>
<telerik:InputMode
x:Key="RadDateTimePickerInputModeDatePicker">DatePicker</telerik:InputMode>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="120" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<TextBlock
Grid.Row="0"
Grid.Column="0"
Margin="6"
telerik:LocalizationManager.ResourceKey="Subject" />
<TextBox
Grid.Row="0"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="3"
IsReadOnly="{Binding IsReadOnly}"
Text="{Binding Occurrence.Appointment.Subject, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Grid.Row="1"
Grid.Column="0"
Margin="6"
telerik:LocalizationManager.ResourceKey="Body" />
<TextBox
Grid.Row="1"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="3"
Height="70"
IsReadOnly="{Binding IsReadOnly}"
VerticalAlignment="Stretch"
VerticalContentAlignment="Stretch"
VerticalScrollBarVisibility="Visible"
Text="{Binding Occurrence.Appointment.Body,ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"
TextWrapping="Wrap"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Grid.Row="2"
Grid.Column="0"
Margin="6"
telerik:LocalizationManager.ResourceKey="StartTime" />
<telerik:RadDateTimePicker
Grid.Row="2"
Grid.Column="1"
Margin="3"
IsReadOnly="{Binding IsReadOnly}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
SelectedValue="{Binding ActualStart, Mode=TwoWay, ValidatesOnDataErrors=true, NotifyOnValidationError=true}"
IsEnabled="{Binding IsNotRecurrent}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadDateTimePicker.InputMode>
<Binding
Path="IsAllDayEvent"
Converter="{StaticResource BoolToInputModeConverter}">
<Binding.ConverterParameter>
<telerik:InputMode>DatePicker</telerik:InputMode>
</Binding.ConverterParameter>
</Binding>
</telerik:RadDateTimePicker.InputMode>
</telerik:RadDateTimePicker>
<TextBlock
Grid.Row="3"
Grid.Column="0"
Margin="6"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="EndTime"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDateTimePicker
Grid.Row="3"
Grid.Column="1"
Margin="3"
IsReadOnly="{Binding IsReadOnly}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
SelectedValue="{Binding ActualEnd,ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}"
IsEnabled="{Binding IsNotRecurrent}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadDateTimePicker.InputMode>
<Binding
Path="IsAllDayEvent"
Converter="{StaticResource BoolToInputModeConverter}">
<Binding.ConverterParameter>
<telerik:InputMode>DatePicker</telerik:InputMode>
</Binding.ConverterParameter>
</Binding>
</telerik:RadDateTimePicker.InputMode>
</telerik:RadDateTimePicker>
<CheckBox
x:Name="AllDayEventCheckbox"
Grid.Row="4"
Grid.Column="1"
Margin="3"
VerticalAlignment="Center"
IsChecked="{Binding Path=IsAllDayEvent, Mode=TwoWay}"
IsEnabled="{Binding IsNotRecurrent}"
telerik:LocalizationManager.ResourceKey="AllDayEvent"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
<!-- Resource Editor -->
<Grid
Grid.Row="3"
Margin="3"
Visibility="{Binding ResourceTypesVisibility}">
<telerik:ItemsControl
x:Name="PART_Resources"
Margin="3"
IsTabStop="false"
BorderBrush="{x:Null}"
BorderThickness="0"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
ItemsSource="{Binding ResourceTypes}"
ItemTemplateSelector="{StaticResource ResourcesEditorItemTemplateSelector}"
Visibility="{Binding ResourceTypesVisibility}" />
<TextBlock
HorizontalAlignment="Center"
Text="You can only change the resources by opening the series"
Margin="3"
Visibility="{Binding ResourceTypesVisibility, Converter={StaticResource InvertedVisibilityConverter}}" />
</Grid>
<StackPanel
Grid.Row="4"
Margin="13 6"
HorizontalAlignment="Right"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
Command="telerik:WindowCommands.Confirm"
telerik:LocalizationManager.ResourceKey="Ok"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
<ToolTipService.ToolTip>
<TextBlock
telerik:LocalizationManager.ResourceKey="SaveAndClose"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
Command="telerik:WindowCommands.Cancel"
telerik:LocalizationManager.ResourceKey="Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
</ControlTemplate>
<Style
x:Key="EditAppointmentDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="560" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Template"
Value="{StaticResource EditAppointmentTemplate}" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel
Orientation="Horizontal"
MaxWidth="400"
HorizontalAlignment="Left">
<TextBlock
telerik:LocalizationManager.ResourceKey="Event"
Visibility="{Binding Occurrence.Appointment.IsAllDayEvent, Converter={StaticResource BooleanToVisibilityConverter}}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Appointment"
Visibility="{Binding Occurrence.Appointment.IsAllDayEvent, Converter={StaticResource InvertedBooleanToVisibilityConverter}}" />
<TextBlock
Text=" - " />
<TextBlock
x:Name="SubjectTextBlock"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="IconTemplate">
<Setter.Value>
<DataTemplate>
<Image
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png" />
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<!--EditRecurrenceStyle-->
<Style
x:Key="RepeatSelectionTabItemControlStyle"
TargetType="telerik:RadTabItem">
<Setter
Property="Margin"
Value="3" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadTabItem">
<RadioButton
IsChecked="{Binding IsSelected, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<ContentPresenter
telerik:LocalizationManager.ResourceKey="{TemplateBinding Header}" />
</RadioButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="RepeatSelectionTabControlStyle"
TargetType="telerik:RadTabControl">
<Setter
Property="TabStripPlacement"
Value="Top" />
<Setter
Property="ItemContainerStyle"
Value="{StaticResource RepeatSelectionTabItemControlStyle}" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadTabControl">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<ItemsPresenter
Grid.Column="0"
Margin="3 6 30 6"
VerticalAlignment="Center" />
<telerik:RadTransitionControl
x:Name="ContentElement"
Grid.Column="1"
IsTabStop="False"
Duration="0:0:0.200"
Content="{TemplateBinding SelectedContent}"
ContentTemplate="{TemplateBinding SelectedContentTemplate}">
<telerik:RadTransitionControl.Transition>
<telerik:SlideAndZoomTransition />
</telerik:RadTransitionControl.Transition>
</telerik:RadTransitionControl>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
<Setter
Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<StackPanel />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
</Style>
<ControlTemplate
x:Key="EditRecurrenceTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<telerik:GroupBox
x:Name="StartEndTimes"
Margin="3"
telerik:LocalizationManager.ResourceKey="AppointmentTime"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid
HorizontalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
</Grid.ColumnDefinitions>
<telerik:Label
Grid.Row="0"
Grid.Column="0"
MinWidth="65"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=StartTimePicker}"
telerik:LocalizationManager.ResourceKey="StartColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDateTimePicker
x:Name="StartTimePicker"
Grid.Row="0"
Grid.Column="1"
Margin="3"
Width="120"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding Start, Mode=TwoWay}"
InputMode="TimePicker"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:Label
Grid.Row="1"
Grid.Column="0"
MinWidth="65"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=EndTimePicker}"
telerik:LocalizationManager.ResourceKey="EndColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDateTimePicker
x:Name="EndTimePicker"
Grid.Row="1"
Grid.Column="1"
Margin="3"
Width="120"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding End, Mode=TwoWay}"
InputMode="TimePicker"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:Label
Grid.RowSpan="2"
Grid.Column="2"
MinWidth="65"
VerticalAlignment="Center"
Margin="18 0 0 0"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=DurationPicker}"
telerik:LocalizationManager.ResourceKey="DurationColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<tkScheduleView:DurationPicker
x:Name="DurationPicker"
Grid.RowSpan="2"
Grid.Column="3"
Margin="3"
Width="120"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
VerticalAlignment="Center"
SelectedDuration="{Binding Path=Duration, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
</telerik:GroupBox>
<telerik:GroupBox
x:Name="RepeatsGroup"
Margin="3"
Grid.Row="1"
telerik:LocalizationManager.ResourceKey="RecurrencePattern"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadTabControl
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsDefaultItemSelected="False"
Style="{StaticResource RepeatSelectionTabControlStyle}">
<telerik:RadTabItem
x:Name="RepeatDaily"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Daily"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Daily;WeekDays, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="*" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<RadioButton
x:Name="DailyRB"
Margin="3"
VerticalAlignment="Center"
GroupName="DailyGroup"
telerik:LocalizationManager.ResourceKey="Every"
IsChecked="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Daily, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="DailyDetailsUpDown"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="999"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Days"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<RadioButton
x:Name="WorkdaysRB"
Grid.Row="1"
Margin="3"
VerticalAlignment="Center"
GroupName="DailyGroup"
telerik:LocalizationManager.ResourceKey="EveryWeekday"
IsChecked="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=WeekDays, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
</telerik:RadTabItem>
<telerik:RadTabItem
x:Name="RepeatWeekly"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Weekly"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Weekly, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<telerik:Label
Margin="3"
VerticalAlignment="Center"
Target="{Binding ElementName=EveryWeekUpDown}"
telerik:LocalizationManager.ResourceKey="RecurEvery"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="EveryWeekUpDown"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="99"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadNumericUpDown>
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="WeeksOn"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<ItemsControl
Grid.Row="1"
ItemsSource="{Binding WeekDays}"
IsTabStop="False">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<telerik:RadUniformGrid
Rows="2" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<CheckBox
Margin="3 3 12 3"
Content="{Binding Name}"
IsChecked="{Binding IsSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</telerik:RadTabItem>
<telerik:RadTabItem
x:Name="RepeatMonthly"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Monthly"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Monthly;MonthlyNth, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="*" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<RadioButton
x:Name="MonthlyRB"
Margin="3"
VerticalAlignment="Center"
GroupName="MonthlyButtons"
telerik:LocalizationManager.ResourceKey="Day"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Monthly, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="MonthlyDetailsUpDown1"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="31"
Value="{Binding DayOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="OfEvery"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadNumericUpDown
Name="MonthlyDetailsUpDown2"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="99"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Months"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Orientation="Horizontal">
<RadioButton
x:Name="MonthlyNthRB"
Margin="3"
VerticalAlignment="Center"
GroupName="MonthlyButtons"
telerik:LocalizationManager.ResourceKey="The"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=MonthlyNth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
Margin="3"
VerticalAlignment="Center"
Width="70"
ItemsSource="{Binding WeekOfMonths}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding WeekOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NthRecurrenceDays}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding NthRecurrenceDay, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="OfEvery"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadNumericUpDown
Name="MonthlyDetailsUpDown3"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="99"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Months"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
</Grid>
</telerik:RadTabItem>
<telerik:RadTabItem
x:Name="RepeatYearly"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Yearly"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Yearly;YearlyNth, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="50*" />
<RowDefinition
Height="50*" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<RadioButton
x:Name="YearlyRB"
GroupName="YearlyGroup"
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Every"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Yearly, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="YearlyDetails12"
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NamesOfMonths}"
DisplayMemberPath="Value"
SelectedValuePath="Key"
SelectedValue="{Binding MonthOfYear, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="YearlyDetailsUpDown3"
Margin="3"
VerticalAlignment="Center"
Width="70"
IsInteger="True"
Maximum="31"
Value="{Binding DayOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Orientation="Horizontal">
<RadioButton
x:Name="YearlyNthRB"
GroupName="YearlyGroup"
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="The"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=YearlyNth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="YearlyDetails21"
Margin="3"
VerticalAlignment="Center"
Width="80"
ItemsSource="{Binding WeekOfMonths}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding WeekOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="YearlyDetails22"
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NthRecurrenceDays}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding NthRecurrenceDay, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Of"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadComboBox
x:Name="YearlyDetails23"
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NamesOfMonths}"
DisplayMemberPath="Value"
SelectedValuePath="Key"
SelectedValue="{Binding MonthOfYear, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
</telerik:RadTabItem>
</telerik:RadTabControl>
</telerik:GroupBox>
<telerik:GroupBox
x:Name="RangeGroup"
Margin="3"
Grid.Row="2"
telerik:LocalizationManager.ResourceKey="RangeOfRecurrence"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="1*" />
<ColumnDefinition
Width="2*" />
</Grid.ColumnDefinitions>
<StackPanel
Grid.Column="0"
Orientation="Horizontal">
<telerik:Label
Margin="3"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=StartDate}"
telerik:LocalizationManager.ResourceKey="StartColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDatePicker
x:Name="StartDate"
Margin="3"
VerticalAlignment="Center"
Width="100"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding Start, Mode=TwoWay}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<telerik:RadUniformGrid
Grid.Column="1"
Columns="1">
<RadioButton
x:Name="NoEndDate"
Margin="3"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
telerik:LocalizationManager.ResourceKey="NoEndDate"
IsChecked="{Binding RecurrenceRangeType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=NoEndDate, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<StackPanel
Orientation="Horizontal">
<RadioButton
x:Name="EndAfter"
Margin="3"
MinWidth="100"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
telerik:LocalizationManager.ResourceKey="EndAfter"
IsChecked="{Binding Path=RecurrenceRangeType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=MaxOccurrences, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="OccurencesUpDown"
Margin="3"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsInteger="True"
MinWidth="70"
Maximum="9999"
Value="{Binding MaxOccurrences, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Occurrences"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<StackPanel
Orientation="Horizontal">
<RadioButton
x:Name="EndBy"
Margin="3"
MinWidth="70"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
telerik:StyleManager.Theme="{StaticResource Theme}"
telerik:LocalizationManager.ResourceKey="EndBy"
IsChecked="{Binding Path=RecurrenceRangeType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=RepeatUntil, Mode=TwoWay}" />
<telerik:RadDatePicker
Margin="3"
VerticalAlignment="Center"
Width="120"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding RecursUntil, Mode=TwoWay}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</telerik:RadUniformGrid>
</Grid>
</telerik:GroupBox>
<StackPanel
x:Name="WindowButtons"
Grid.Row="3"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<!--<telerik:RadButton
x:Name="RemoveRecurrenceBtn"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="RemoveRecurrence"
Command="tkScheduleView:RadScheduleViewCommands.DeleteRecurrenceRule"
Visibility="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />-->
<telerik:RadButton
x:Name="RemoveRecurrenceBtn"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="RemoveRecurrence"
Visibility="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadButton
x:Name="OKButton"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadButton
x:Name="CancelButton"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
</ControlTemplate>
<Style
x:Key="EditRecurrenceDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="550" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Template"
Value="{StaticResource EditRecurrenceTemplate}" />
<Setter
Property="IconTemplate">
<Setter.Value>
<DataTemplate>
<Image
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel
Orientation="Horizontal"
MaxWidth="450"
HorizontalAlignment="Left">
<TextBlock
telerik:LocalizationManager.ResourceKey="Event"
Visibility="{Binding Appointment.IsAllDayEvent, Converter={StaticResource BooleanToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Appointment"
Visibility="{Binding Appointment.IsAllDayEvent, Converter={StaticResource InvertedBooleanToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
Text=" - "
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
x:Name="SubjectTextBlock"
Text="{Binding Appointment.Subject}"
Visibility="{Binding Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- DeleteAppointmentConfirmStyle-->
<ControlTemplate
x:Key="DeleteAppointmentConfirmTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<Grid>
<Image
Margin="15"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png" />
<TextBlock
Margin="85 15 15 15"
TextWrapping="Wrap"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="DeleteItemQuestion" />
</Grid>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</StackPanel>
</ControlTemplate>
<Style
x:Key="DeleteAppointmentConfirmDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="300" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="DeleteItem" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource DeleteAppointmentConfirmTemplate}" />
</Style>
<!--RecurrenceChoiceStyle-->
<ControlTemplate
x:Key="RecurrenceChoiceTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<Grid>
<Image
Margin="15"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png" />
<StackPanel
Margin="85 15 15 15"
VerticalAlignment="Top">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="OpenOccurrence"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="OpenSeries"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<ControlTemplate
x:Key="RecurrenceChoiceDeletingTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<Grid>
<Image
Margin="15"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png" />
<StackPanel
Margin="85 15 15 15"
VerticalAlignment="Top">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<RadioButton
Margin="3 9 3 3"
telerik:LocalizationManager.ResourceKey="DeleteOccurrence"
GroupName="RecurrenceModeChoiceDel"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="DeleteSeries"
GroupName="RecurrenceModeChoiceDel"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<ControlTemplate
x:Key="RecurrenceChoiceResizeTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<StackPanel
Margin="15 15 15 15"
VerticalAlignment="Top">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<TextBlock
Margin="3"
telerik:LocalizationManager.ResourceKey="ResizeRecurringItemQuestion"
TextWrapping="Wrap" />
<RadioButton
Margin="3 9 3 3"
telerik:LocalizationManager.ResourceKey="ResizeOccurrence"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="ResizeSeries"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<ControlTemplate
x:Key="RecurrenceChoiceDragDropTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<StackPanel
Margin="15 15 15 15">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<TextBlock
Margin="3"
telerik:LocalizationManager.ResourceKey="DragRecurringItemQuestion"
TextWrapping="Wrap" />
<RadioButton
Margin="3 9 3 3"
telerik:LocalizationManager.ResourceKey="DragDropOccurrence"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="DragDropSeries"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<Style
x:Key="RecurrenceChoiceDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="300" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceTemplate}" />
</Style>
<Style
x:Key="RecurrenceChoiceDeleteDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="300" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceDeletingTemplate}" />
</Style>
<Style
x:Key="RecurrenceChoiceResizeDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="350" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceResizeTemplate}" />
</Style>
<Style
x:Key="RecurrenceChoiceDragDropDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="350" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceDragDropTemplate}" />
</Style>
<!-- << DIALOGS -->
<!-- TimeRuler -->
<Style
x:Key="GoToDayButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="FontWeight"
Value="Bold" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="FontSize"
Value="9" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderOuterBorder}"
Background="{StaticResource GroupHeaderHeaderBackground}"
BorderThickness="0">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderThickness="0"
Padding="{TemplateBinding Padding}">
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
Margin="0,3,0,0"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Foreground="{TemplateBinding Foreground}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="GoToDayVerticalButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderOuterBorder_Vertical}"
Background="{StaticResource GroupHeaderHeaderBackground_Vertical}"
BorderThickness="1">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderBrush="{StaticResource GroupHeaderHeaderInnerBorder_Vertical}"
BorderThickness="1"
Padding="{TemplateBinding Padding}">
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
Margin="-2"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Foreground="{TemplateBinding Foreground}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="GoToDayTodayButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Today}" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="FontSize"
Value="9" />
<Setter
Property="FontWeight"
Value="Bold" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderBackground}"
Background="{StaticResource GroupHeaderHeaderBackground}"
BorderThickness="0">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackground_TodayPressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorder_TodayPressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderThickness="0"
Padding="{TemplateBinding Padding}">
<StackPanel>
<ContentPresenter
Margin="0,3,0,0" />
<Image
Name="imgCircleDay"
HorizontalAlignment="Left"
Margin="0,-21,0,0"
Stretch="Fill"
Width="22"
Source="/RAMWare.Controls.TimeAttendance.Silverlight;Component/Images/Circle_Today.png" />
</StackPanel>
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="GoToDayTodayVerticalButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Today}" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderOuterBorder_VerticalToday}"
Background="{StaticResource GroupHeaderHeaderBackground_VerticalToday}"
BorderThickness="1">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderBrush="{StaticResource GroupHeaderHeaderInnerBorder_VerticalToday}"
BorderThickness="1"
Padding="{TemplateBinding Padding}">
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
Margin="-2"
Foreground="{TemplateBinding Foreground}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="ExpandMonthViewButtonStyle"
TargetType="telerik:RadToggleButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Margin"
Value="3 2 3 4" />
<Setter
Property="MinWidth"
Value="13" />
<Setter
Property="MinHeight"
Value="13" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadToggleButton">
<Grid
x:Name="Root">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Expand"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Collapse"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Expand"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Collapse"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup
x:Name="CheckStates">
<VisualState
x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="Collapse"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="Expand"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Unchecked" />
<VisualState
x:Name="Indeterminate">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="Root"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
CornerRadius="1"
BorderThickness="1"
BorderBrush="{StaticResource MonthViewExpandOuterBorder}"
Background="{StaticResource MonthViewExpandButtonBackground}">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource MonthViewExpandInnerBorder}" />
</Border>
<Path
x:Name="Expand"
Data="M0,0 L7,0 L3.5,4 Z"
Fill="{StaticResource MonthViewExpandIconStroke}"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
<Path
x:Name="Collapse"
Visibility="Collapsed"
Data="M0,4 L7,4 L3.5,0 Z"
Fill="{StaticResource MonthViewExpandIconStroke}"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerGroupItemStyle"
TargetType="tkScheduleView:TimeRulerGroupItem">
<Setter
Property="Foreground"
Value="{StaticResource TimeRulerGroupItemForeground}" />
<Setter
Property="Background"
Value="{StaticResource GroupHeaderHeaderBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderHeaderOuterBorder}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="HorizontalContentAlignment"
Value="Left" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="Margin"
Value="0 0 -1 -1" />
<Setter
Property="Padding"
Value="4 2" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerGroupItem">
<telerik:RadButton
Style="{StaticResource GoToDayButtonStyle}"
Padding="{TemplateBinding Padding}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
x:Name="Content" />
</telerik:RadButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerGroupItemStyle_Vertical"
TargetType="tkScheduleView:TimeRulerGroupItem"
BasedOn="{StaticResource TimeRulerGroupItemStyle}">
<Setter
Property="Background"
Value="{StaticResource GroupHeaderHeaderBackground_Vertical}" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderHeaderOuterBorder_Vertical}" />
<Setter
Property="VerticalAlignment"
Value="Stretch" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="HorizontalContentAlignment"
Value="Left" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="Orientation"
Value="Vertical" />
<Setter
Property="Margin"
Value="0 0 -1 -1" />
<Setter
Property="Padding"
Value="2 4" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerGroupItem">
<telerik:RadButton
Style="{StaticResource GoToDayVerticalButtonStyle}"
Padding="{TemplateBinding Padding}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
x:Name="Content" />
</telerik:RadButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MajorHorizontalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMajorTickStroke}" />
<Setter
Property="BorderThickness"
Value="1 0 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Border
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}">
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MinorHorizontalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMinorTickStroke}" />
<Setter
Property="BorderThickness"
Value="1 0 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Grid>
<Border
Height="5"
VerticalAlignment="Bottom"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}" />
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MajorVerticalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="FontSize"
Value="14" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMajorTickStroke_Vertical}" />
<Setter
Property="BorderThickness"
Value="0 1 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Right" />
<Setter
Property="Padding"
Value="3,0,23,0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Border
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}">
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MinorVerticalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMinorTickStroke_Vertical}" />
<Setter
Property="BorderThickness"
Value="0 1 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Grid>
<Border
Width="20"
HorizontalAlignment="Right"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}" />
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerLineStyle"
TargetType="tkScheduleView:TimeRulerLine">
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerLineStroke}" />
<Setter
Property="Background"
Value="White" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerLine">
<Border
x:Name="LineVisual"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}"
BorderThickness="0 1 0 0">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="OrientationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="LineVisual"
Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Thickness>1 0 0 0</Thickness>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerMonthViewGroupItemStyle"
TargetType="tkScheduleView:TimeRulerMonthViewGroupItem">
<Setter
Property="Foreground"
Value="{StaticResource TimeRulerMonthViewGroupItemStyleForeground}" />
<Setter
Property="Background"
Value="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerMonthViewGroupItem">
<Border
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerMonthViewItemStyle"
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="Margin"
Value="0 -1 -1 0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Grid>
<telerik:RadButton
Padding="0"
VerticalAlignment="Top"
Height="22"
Style="{StaticResource GoToDayButtonStyle}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
Margin="{TemplateBinding Padding}" />
</telerik:RadButton>
<telerik:RadToggleButton
Visibility="{Binding ExpandButtonVisibility}"
IsChecked="{Binding IsExpanded, Mode=TwoWay}"
Style="{StaticResource ExpandMonthViewButtonStyle}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerMonthViewTodayItemStyle"
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="Margin"
Value="0 -1 -1 0" />
<Setter
Property="Canvas.ZIndex"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Grid>
<telerik:RadButton
Padding="0"
VerticalAlignment="Top"
Height="22"
Style="{StaticResource GoToDayTodayButtonStyle}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
Margin="{TemplateBinding Padding}" />
</telerik:RadButton>
<telerik:RadToggleButton
Visibility="{Binding ExpandButtonVisibility}"
IsChecked="{Binding IsExpanded, Mode=TwoWay}"
Style="{StaticResource ExpandMonthViewButtonStyle}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<tkScheduleView:TimeRulerItemTemplateSelector
x:Key="TimeRulerItemTemplateSelector">
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2 1"
TextAlignment="Left" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2"
TextAlignment="Left" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2"
TextAlignment="Left" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate>
<DataTemplate>
<telerikPrimitives:LayoutTransformControl
VerticalAlignment="Top">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2 1"
Height="16"
TextAlignment="Right" />
</telerikPrimitives:LayoutTransformControl>
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.MonthGroupTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="6 2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.MonthGroupTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.MonthItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="6 2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.MonthItemTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector>
<tkScheduleView:OrientedTimeRulerItemStyleSelector
x:Key="TimeRulerItemStyleSelector"
MonthViewGroupStyle="{StaticResource TimeRulerMonthViewGroupItemStyle}"
MonthViewTickStyle="{StaticResource TimeRulerMonthViewItemStyle}"
MonthViewTodayTickStyle="{StaticResource TimeRulerMonthViewTodayItemStyle}"
HorizontalGroupItemStyle="{StaticResource TimeRulerGroupItemStyle}"
VerticalGroupItemStyle="{StaticResource TimeRulerGroupItemStyle_Vertical}"
MajorHorizontalTickStyle="{StaticResource MajorHorizontalTimeRulerItemStyle}"
MajorVerticalTickStyle="{StaticResource MajorVerticalTimeRulerItemStyle}"
MinorHorizontalTickStyle="{StaticResource MinorHorizontalTimeRulerItemStyle}"
MinorVerticalTickStyle="{StaticResource MinorVerticalTimeRulerItemStyle}"
HorizontalLineStyle="{StaticResource TimeRulerLineStyle}"
VerticalLineStyle="{StaticResource TimeRulerLineStyle}">
</tkScheduleView:OrientedTimeRulerItemStyleSelector>
<!-- Group headers -->
<ControlTemplate
x:Key="GroupHeaderButtonControlTemplate"
TargetType="tkScheduleView:GroupHeaderButton">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="CommandMouseOver">
<!--<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverOuterBorderVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>-->
</VisualState>
<VisualState
x:Name="CommandPressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverOuterBorderVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverOuterBorderVisual"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverInnerBorderVisual"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup
x:Name="TodayStates">
<VisualState
x:Name="NotToday" />
<VisualState
x:Name="Today">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="TodayVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup
x:Name="OrientationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Visuals"
Storyboard.TargetProperty="LayoutTransform">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<RotateTransform
Angle="-90" />
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<telerik:LayoutTransformControl
x:Name="Visuals">
<Grid>
<Border
x:Name="OuterBorder"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
x:Name="InnerBorder"
BorderBrush="{StaticResource MonthViewTimeRulerItemInnerBorder}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="TodayVisual"
Visibility="Collapsed"
BorderBrush="{StaticResource MonthViewTimeRulerItemOuterBorder_Today}"
Background="{StaticResource MonthViewTimeRulerItemBackground_Today}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
BorderBrush="{StaticResource MonthViewTimeRulerItemInnerBorder_Today}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="MouseOverOuterBorderVisual"
Visibility="Collapsed"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{StaticResource MonthViewTimeRulerItemBackground_MouseOver}">
<Border
x:Name="MouseOverInnerBorderVisual"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{StaticResource MonthViewTimeRulerItemInnerBorder_MouseOver}" />
</Border>
</Grid>
</telerik:LayoutTransformControl>
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="-1"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Foreground="{TemplateBinding Foreground}" />
</Grid>
</ControlTemplate>
<Style
x:Key="GroupHeaderButtonStyle"
TargetType="tkScheduleView:GroupHeaderButton">
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderHeaderOuterBorder}" />
<Setter
Property="Background"
Value="{StaticResource GroupHeaderHeaderBackground}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="Margin"
Value="0" />
<Setter
Property="Template"
Value="{StaticResource GroupHeaderButtonControlTemplate}" />
</Style>
<tkScheduleView:NullToBooleanConverter
x:Key="NullToBooleanConverter" />
<ControlTemplate
x:Key="GroupHeaderTemplate"
TargetType="tkScheduleView:GroupHeader">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="OrientationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="VerticalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<VerticalAlignment>Stretch</VerticalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="HorizontalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<HorizontalAlignment>Left</HorizontalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical" />
</VisualStateGroup>
<VisualStateGroup
x:Name="DayStates">
<VisualState
x:Name="NormalDay">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource TimeRulerItemMinorTickStroke_Vertical}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="1 0 0 0" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="NormalDayHorizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="VerticalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<VerticalAlignment>Stretch</VerticalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="HorizontalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<HorizontalAlignment>Left</HorizontalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Today">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource TimeRulerItemMinorTickStroke_Vertical}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="1 0 0 0" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="TodayHorizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="VerticalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<VerticalAlignment>Stretch</VerticalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="HorizontalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<HorizontalAlignment>Left</HorizontalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="Border"
IsHitTestVisible="False"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
BorderThickness="1"
Background="{TemplateBinding Background}">
</Border>
<tkScheduleView:GroupHeaderButton
x:Name="Header"
VerticalAlignment="Top"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Command="{TemplateBinding Command}"
CommandParameter="{TemplateBinding CommandParameter}"
Orientation="{TemplateBinding Orientation}"
telerik:StyleManager.Theme="{StaticResource Theme}"
Foreground="{TemplateBinding Foreground}" />
</Grid>
</ControlTemplate>
<Style
x:Key="GroupHeaderBaseStyle"
TargetType="tkScheduleView:GroupHeader">
<Setter
Property="Foreground"
Value="{StaticResource TimeRulerGroupItemForeground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush}" />
<Setter
Property="Background"
Value="{x:Null}" />
<Setter
Property="BorderThickness"
Value="1,0,1,1" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
<Setter
Property="Template"
Value="{StaticResource GroupHeaderTemplate}" />
</Style>
<Style
x:Key="HorizontalGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="-1 0 0 0" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="HorizontalTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="-1 0 0 0" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
</Style>
<Style
x:Key="HorizontalBottomLevelGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="0 0 5 0" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="HorizontalBottomLevelTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="1 0 5 0" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
<Setter
Property="Foreground"
Value="{StaticResource HorizontalBottomLevelTodayForeground}" />
</Style>
<Style
x:Key="VerticalGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 -1 0 0" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="VerticalTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
</Style>
<Style
x:Key="VerticalBottomLevelGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 0 0 5" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="VerticalBottomLevelTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 1 0 5" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
</Style>
<Style
x:Key="MonthViewWeekGroupStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 -1 0 0" />
</Style>
<Style
x:Key="MonthViewBottomLevelWeekGroupStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 21 0 18" />
<Setter
Property="MinHeight"
Value="85" />
</Style>
<tkScheduleView:OrientedGroupHeaderStyleSelector
x:Key="GroupHeaderStyleSelector"
HorizontalStyle="{StaticResource HorizontalGroupHeaderStyle}"
HorizontalTodayStyle="{StaticResource HorizontalTodayGroupHeaderStyle}"
HorizontalBottomLevelStyle="{StaticResource HorizontalBottomLevelGroupHeaderStyle}"
HorizontalTodayBottomLevelStyle="{StaticResource HorizontalBottomLevelTodayGroupHeaderStyle}"
VerticalStyle="{StaticResource VerticalGroupHeaderStyle}"
VerticalTodayStyle="{StaticResource VerticalTodayGroupHeaderStyle}"
VerticalBottomLevelStyle="{StaticResource VerticalBottomLevelGroupHeaderStyle}"
VerticalTodayBottomLevelStyle="{StaticResource VerticalBottomLevelTodayGroupHeaderStyle}"
MonthViewWeekGroupStyle="{StaticResource MonthViewWeekGroupStyle}"
MonthViewBottomLevelWeekGroupStyle="{StaticResource MonthViewBottomLevelWeekGroupStyle}">
</tkScheduleView:OrientedGroupHeaderStyleSelector>
<tkScheduleView:GroupHeaderTemplateSelector
x:Key="GroupHeaderContentTemplateSelector">
<tkScheduleView:GroupHeaderTemplateSelector.HorizontalTemplate>
<DataTemplate>
<StackPanel>
<ContentPresenter
Content="{Binding FormattedName}"
Height="16"
Margin="4" />
<Border
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}"
BorderThickness="1"
BorderBrush="DarkGray"
Height="22" />
</StackPanel>
</DataTemplate>
</tkScheduleView:GroupHeaderTemplateSelector.HorizontalTemplate>
<tkScheduleView:GroupHeaderTemplateSelector.VerticalTemplate>
<DataTemplate>
<Grid
Width="25"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}">
<Grid.RowDefinitions>
<RowDefinition
Height="21">
</RowDefinition>
<RowDefinition
Height="*">
</RowDefinition>
</Grid.RowDefinitions>
<Border
Grid.Row="0"
Background="{StaticResource GroupHeaderHeaderBackground}" />
<StackPanel
Grid.Row="1"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<telerikPrimitives:LayoutTransformControl>
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<TextBlock
FontSize="9"
Text="{Binding FormattedName}" />
</telerikPrimitives:LayoutTransformControl>
</StackPanel>
</Grid>
</DataTemplate>
</tkScheduleView:GroupHeaderTemplateSelector.VerticalTemplate>
</tkScheduleView:GroupHeaderTemplateSelector>
<!-- AppointmentItem -->
<ControlTemplate
x:Key="AppointmentItemHorizontalControlTemplate"
TargetType="tkScheduleView:AppointmentItem">
<Grid
x:Name="Root">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Disabled" />
<VisualState
x:Name="Normal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.200"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.200">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.0"
Duration="0:0:0.200"
To="0"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.400"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.200"
Duration="0:0:0.200"
To="1"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="ReadOnly">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="ReadOnlyVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="InlineEditing" />
</VisualStateGroup>
<VisualStateGroup
x:Name="SelectionStates">
<VisualState
x:Name="Unselected" />
<VisualState
x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemBackground_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemOuterBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisualInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemInnerBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<!-- small appointment rending visual-->
<Border
x:Name="DurationMarkerVisual"
Visibility="{TemplateBinding DurationMarkerVisibility}"
Margin="{TemplateBinding DurationMarkerMargin}">
<Border
Background="{StaticResource AppointmentItemOuterBorder}"
Margin="0 0 0 -1"
CornerRadius="1 1 0 0"
Height="4" />
</Border>
<Grid
Grid.Row="1">
<!--JN 03132012 remove button functionality to use our own<?SILVERLIGHT BEGIN?>
<telerik:CommandManager.InputBindings>
<telerik:InputBindingCollection>
<telerik:MouseBinding
Gesture="LeftDoubleClick"
Command="tkScheduleView:RadScheduleViewCommands.EditAppointment" />
</telerik:InputBindingCollection>
</telerik:CommandManager.InputBindings>
<?SILVERLIGHT END?>-->
<Border
CornerRadius="2"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="CommonStatesVisual"
Visibility="Collapsed"
CornerRadius="2"
Background="{StaticResource AppointmentItemBackground_MouseOver}"
BorderBrush="{StaticResource AppointmentItemOuterBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
x:Name="CommonStatesVisualInnerBorder"
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="PART_Category"
Margin="2"
Background="{Binding Path=Category.CategoryBrush}" />
<Rectangle
x:Name="ReadOnlyVisual"
Margin="2"
Visibility="Collapsed"
Fill="{StaticResource AppoinmtentItemBackground_ReadOnly}" />
<Grid
Margin="2">
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="Auto" />
</Grid.ColumnDefinitions>
<Border
x:Name="PART_TimeMarker"
Grid.Column="0"
Width="5"
HorizontalAlignment="Left"
Background="{Binding Path=TimeMarker.TimeMarkerBrush}"
Visibility="{Binding Path=TimeMarker, Converter={StaticResource NullToVisibilityConverter}}" />
<Path
Grid.Column="1"
Data="M-919.69031,2003.9496 L-919.69031,2010.7375 L-923.7619,2007.4564 z"
Fill="{StaticResource AppointmentItemIndicatorFill}"
Margin="4 0 2 0"
HorizontalAlignment="Left"
Height="7"
Stretch="Fill"
VerticalAlignment="Center"
Width="4"
Visibility="{TemplateBinding StartIndicatorVisibility}" />
<StackPanel
Grid.Column="2"
VerticalAlignment="Top"
Margin="0 3 0 0">
<Image
x:Name="RecurrenceMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsExeptionToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Recurrence}" />
<Image
x:Name="ExceptionMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsOccurenceToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Exception}" />
</StackPanel>
<ContentPresenter
Grid.Column="3"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
<Path
Grid.Column="4"
Data="M1109.0469,332.70313 L1113.0469,336.29663 L1109.0469,339.68823 z"
Margin="2 0 4 0"
Fill="{StaticResource AppointmentItemIndicatorFill}"
HorizontalAlignment="Right"
Height="6.984"
Stretch="Fill"
VerticalAlignment="Center"
Width="4"
Visibility="{TemplateBinding EndIndicatorVisibility}" />
</Grid>
<Grid
x:Name="MouseOverOverlay"
Visibility="Collapsed"
Opacity="0">
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
Cursor="SizeWE"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
Cursor="SizeWE"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="StartResizeGrip"
Margin="1"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Right"
VerticalAlignment="Stretch"
Cursor="SizeWE"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Right"
VerticalAlignment="Stretch"
Cursor="SizeWE"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="EndResizeGrip"
Margin="1"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Command="tkScheduleView:RadScheduleViewCommands.DeleteAppointment"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Path
Stroke="{StaticResource AppointmentItemDeleteIconStroke}"
Data="M0,0 L5,5 M5,0 L0,5" />
</telerik:RadButton>-->
</Grid>
</Grid>
</Grid>
</ControlTemplate>
<ControlTemplate
x:Key="AppointmentItemVerticalControlTemplate"
TargetType="tkScheduleView:AppointmentItem">
<Grid
x:Name="Root">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Disabled" />
<VisualState
x:Name="Normal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.200"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.200">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.0"
Duration="0:0:0.200"
To="0"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.400"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.200"
Duration="0:0:0.200"
To="1"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="ReadOnly">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="ReadOnlyVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="InlineEditing" />
</VisualStateGroup>
<VisualStateGroup
x:Name="SelectionStates">
<VisualState
x:Name="Unselected" />
<VisualState
x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemBackground_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemOuterBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisualInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemInnerBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<!-- small appointment rending visual-->
<Border
x:Name="DurationMarkerVisual"
Visibility="{TemplateBinding DurationMarkerVisibility}"
Margin="{TemplateBinding DurationMarkerMargin}">
<Border
Background="{StaticResource AppointmentItemOuterBorder}"
Margin="0 0 -1 0"
CornerRadius="1 0 0 1"
Width="4" />
</Border>
<Grid
Grid.Column="1">
<!--JN -03132012 removing button functionality to use our own<?SILVERLIGHT BEGIN?>
<telerik:CommandManager.InputBindings>
<telerik:InputBindingCollection>
<telerik:MouseBinding
Gesture="LeftDoubleClick"
Command="tkScheduleView:RadScheduleViewCommands.EditAppointment" />
</telerik:InputBindingCollection>
</telerik:CommandManager.InputBindings>
<?SILVERLIGHT END?>-->
<Border
CornerRadius="2"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="CommonStatesVisual"
Visibility="Collapsed"
CornerRadius="2"
Background="{StaticResource AppointmentItemBackground_MouseOver}"
BorderBrush="{StaticResource AppointmentItemOuterBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
x:Name="CommonStatesVisualInnerBorder"
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="PART_Category"
Margin="2"
Background="{Binding Path=Category.CategoryBrush}" />
<Rectangle
x:Name="ReadOnlyVisual"
Margin="2"
Visibility="Collapsed"
Fill="{StaticResource AppoinmtentItemBackground_ReadOnly}" />
<Grid
Margin="2">
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<Border
x:Name="PART_TimeMarker"
Grid.Column="0"
Grid.RowSpan="3"
Width="5"
HorizontalAlignment="Left"
Background="{Binding Path=TimeMarker.TimeMarkerBrush}"
Visibility="{Binding Path=TimeMarker, Converter={StaticResource NullToVisibilityConverter}}" />
<Path
Grid.ColumnSpan="3"
Grid.Row="0"
Data="M3.5,0 L7,4 L0,4 z"
Fill="{StaticResource AppointmentItemIndicatorFill}"
Margin="2 4 2 2"
Height="4"
Width="7"
VerticalAlignment="Top"
Stretch="Fill"
HorizontalAlignment="Center"
Visibility="{TemplateBinding StartIndicatorVisibility}" />
<StackPanel
Grid.Column="1"
Grid.Row="1"
VerticalAlignment="Top"
Margin="0 3 0 0">
<Image
x:Name="RecurrenceMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsExeptionToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Recurrence}" />
<Image
x:Name="ExceptionMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsOccurenceToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Exception}" />
</StackPanel>
<ContentPresenter
Grid.Column="2"
Grid.Row="1"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
<Path
Grid.ColumnSpan="3"
Grid.Row="2"
Data="M7,0 L3.5,4 L0,0 z"
Height="4"
Width="7"
Stretch="Fill"
Fill="{StaticResource AppointmentItemIndicatorFill}"
Margin="2 2 2 4"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"
Visibility="{TemplateBinding EndIndicatorVisibility}" />
</Grid>
<Grid
x:Name="MouseOverOverlay"
Visibility="Collapsed"
Opacity="0">
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Cursor="SizeNS"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Cursor="SizeNS"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="StartResizeGrip"
Margin="1"
Orientation="Horizontal"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Bottom"
Cursor="SizeNS"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Bottom"
Cursor="SizeNS"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="EndResizeGrip"
Margin="1"
Orientation="Horizontal"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Command="tkScheduleView:RadScheduleViewCommands.DeleteAppointment"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Path
Stroke="{StaticResource AppointmentItemDeleteIconStroke}"
Data="M0,0 L5,5 M5,0 L0,5" />
</telerik:RadButton>-->
</Grid>
</Grid>
</Grid>
</ControlTemplate>
<!--<DataTemplate
x:Key="AppointmentItemTemplate">
<TextBlock
Text="{Binding Subject}"
TextWrapping="Wrap"
TextTrimming="WordEllipsis"
dragDrop:DragDropManager.AllowDrag="False" />-->
<DataTemplate
x:Key="AppointmentItemTemplate">
<TextBlock
Text="{Binding Subject}"
TextWrapping="Wrap"
TextTrimming="WordEllipsis" />
</DataTemplate>
<DataTemplate
x:Key="InlineEditTemplate">
<TextBox
VerticalContentAlignment="Stretch"
VerticalAlignment="Stretch"
Text="{Binding Appointment.Subject, Mode=TwoWay}"
TextWrapping="Wrap"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</DataTemplate>
<DataTemplate
x:Key="ToolTipTemplate">
<StackPanel
Visibility="Collapsed"
Orientation="Horizontal">
<StackPanel
x:Name="HighImportanceMark"
Grid.Column="1"
VerticalAlignment="Top"
Visibility="{Binding Importance, Converter={StaticResource EnumToVisibilityConverter}, ConverterParameter=High}"
Margin="0 1 3 1">
<Path
Stretch="Fill"
Width="5.451"
Height="10"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Data="M200.39647,58.840393 C200.39337,58.336426 201.14566,57.683922 202.56244,57.684292 C204.06589,57.684685 204.73764,58.357765 204.72783,58.992363 C205.04649,61.795574 203.04713,64.181099 202.47388,66.133446 C201.93753,64.154961 199.9471,61.560352 200.39647,58.840393 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFFF0606"
Offset="0.609" />
<GradientStop
Color="#FFBF0303"
Offset="0.927" />
</LinearGradientBrush>
</Path.Fill>
</Path>
<Ellipse
Height="3"
HorizontalAlignment="Center"
Margin="0,-1,0,0"
VerticalAlignment="Top"
Width="3">
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop
Color="#FFFF0606"
Offset="0" />
<GradientStop
Color="#FFBF0303"
Offset="1" />
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
</StackPanel>
<Path
x:Name="LowImportanceMark"
Margin="0 1 3 1"
Grid.Column="1"
Width="9"
Height="12"
VerticalAlignment="Top"
Stretch="Fill"
Stroke="#FF0365A7"
Visibility="{Binding Importance, Converter={StaticResource EnumToVisibilityConverter}, ConverterParameter=Low}"
Data="M222.40353,60.139881 L226.65768,60.139843 L226.63687,67.240196 L229.15347,67.240196 L224.37816,71.394943 L219.65274,67.240196 L222.37572,67.219345 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFBBE4FF" />
<GradientStop
Color="#FF024572"
Offset="0.836" />
<GradientStop
Color="#FF43ADF4"
Offset="0.466" />
</LinearGradientBrush>
</Path.Fill>
</Path>
<TextBlock
Text="{Binding Subject}"
TextWrapping="Wrap"
MaxWidth="200" />
</StackPanel>
</DataTemplate>
<tkScheduleView:AppointmentItemContentTemplateSelector
x:Key="AppointmentItemTemplateSelector"
DefaultTemplate="{StaticResource AppointmentItemTemplate}" />
<Style
x:Key="AppointmentItemBaseStyle"
TargetType="tkScheduleView:AppointmentItem">
<Setter
Property="Background"
Value="{StaticResource AppointmentItemBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource AppointmentItemOuterBorder}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Padding"
Value="2 0 0 0" />
<Setter
Property="ContentTemplate"
Value="{StaticResource AppointmentItemTemplate}" />
<Setter
Property="Template"
Value="{StaticResource AppointmentItemHorizontalControlTemplate}" />
<Setter
Property="Canvas.ZIndex"
Value="1" />
</Style>
<tkScheduleView:OrientedAppointmentItemStyleSelector
x:Key="AppointmentItemStyleSelector">
<tkScheduleView:OrientedAppointmentItemStyleSelector.MonthViewStyle>
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}">
<Setter
Property="Margin"
Value="2 20 2 -16" />
</Style>
</tkScheduleView:OrientedAppointmentItemStyleSelector.MonthViewStyle>
<tkScheduleView:OrientedAppointmentItemStyleSelector.HorizontalStyle>
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}">
<Setter
Property="Margin"
Value="0 1 0 0" />
</Style>
</tkScheduleView:OrientedAppointmentItemStyleSelector.HorizontalStyle>
<tkScheduleView:OrientedAppointmentItemStyleSelector.VerticalStyle>
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}">
<Setter
Property="Template"
Value="{StaticResource AppointmentItemVerticalControlTemplate}" />
<Setter
Property="Margin"
Value="1 0 0 0" />
</Style>
</tkScheduleView:OrientedAppointmentItemStyleSelector.VerticalStyle>
</tkScheduleView:OrientedAppointmentItemStyleSelector>
<DataTemplate
x:Key="DragVisualCueItemTemplate">
<Grid>
<Border
Background="{StaticResource AppointmentItemBackground_Drag}"
BorderBrush="{StaticResource AppointmentItemOuterBorder_Drag}"
BorderThickness="1"
CornerRadius="2">
<Border
BorderBrush="{StaticResource AppointmentItemInnerBorder_Drag}"
BorderThickness="1" />
</Border>
<TextBlock
Margin="8 2 8 2"
Text="{Binding Subject}"
Foreground="{StaticResource RadScheduleForeground}"
TextWrapping="Wrap"
TextTrimming="WordEllipsis" />
</Grid>
</DataTemplate>
<!-- Highlights -->
<Style
x:Key="HighlightItemStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground}" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:HighlightItem">
<Border
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}">
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="HighlightItemStyle_DragDefault"
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground}" />
</Style>
<Style
x:Key="HighlightItemStyle_DragMouseOver"
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<!--<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground_MouseOver}" />-->
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:HighlightItem">
<Border
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}">
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="ResizeHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_DragOver}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_DragOver}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Border
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Grid>
<Border
BorderBrush="{StaticResource DecorationRectangleInnerBorder_DragOver}"
BorderThickness="1" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Stroke="{StaticResource AppointmentResizeCueTopLeftMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="2 2" />
<LineGeometry
StartPoint="3 3"
EndPoint="8 8" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="StartTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Text="{Binding ActualStart,StringFormat=t}" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Stroke="{StaticResource AppointmentResizeCueBottomRightMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="6 6" />
<LineGeometry
StartPoint="0 0"
EndPoint="5 5" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="EndTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Text="{Binding ActualEnd,StringFormat=t}" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="DragDropHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_DragOver}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_DragOver}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Border
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Grid>
<Border
BorderBrush="{StaticResource DecorationRectangleInnerBorder_DragOver}"
BorderThickness="1" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Stroke="{StaticResource AppointmentResizeCueTopLeftMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="2 2" />
<LineGeometry
StartPoint="3 3"
EndPoint="8 8" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="StartTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Text="{Binding ActualStart,StringFormat=t}" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Stroke="{StaticResource AppointmentResizeCueBottomRightMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="6 6" />
<LineGeometry
StartPoint="0 0"
EndPoint="5 5" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="EndTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Text="{Binding ActualEnd,StringFormat=t}" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MouseOverHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<!--JN 040402012 removing this stuff to take out the highlighting on mouse over-->
<!--<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_MouseOver}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_MouseOver}" />-->
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<!--<Border
Background="#FFE7F1CC"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
BorderBrush="{StaticResource DecorationRectangleInnerBorder_MouseOver}"
BorderThickness="1" />
</Border>-->
<Border
Background="#FFE7F1CC"
BorderBrush="Transparent"
BorderThickness="1">
<Border
Background="#FFE7F1CC"
BorderBrush="Transparent"
BorderThickness="1" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="SelectionHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_Selected}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_Selected}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Border
Background="#FFE7F1CC"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<tkScheduleView:SpecialSlotStyleSelector
x:Key="SpecialSlotStyleSelector">
<tkScheduleView:SpecialSlotStyleSelector.DefaultStyle>
<Style
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground}" />
</Style>
</tkScheduleView:SpecialSlotStyleSelector.DefaultStyle>
<tkScheduleView:SpecialSlotStyleSelector.ReadOnlyStyle>
<Style
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground_ReadOnly}" />
</Style>
</tkScheduleView:SpecialSlotStyleSelector.ReadOnlyStyle>
</tkScheduleView:SpecialSlotStyleSelector>
<!-- ViewModeSelection -->
<Style
x:Key="ViewModeSelectionListBoxItemStyle"
TargetType="ListBoxItem">
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Margin"
Value="4,0,0,-7" />
<Setter
Property="FontSize"
Value="10" />
<Setter
Property="Padding"
Value="2,10,2,10" />
<Setter
Property="Foreground"
Value="{StaticResource ViewModeButtonForeground}" />
<Setter
Property="HorizontalContentAlignment"
Value="Center" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="ListBoxItem">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="(ContentControl.Foreground)">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>-->
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>-->
</Storyboard>
</VisualState>
<VisualState
x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="(ContentControl.Foreground)">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonForeground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>-->
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>-->
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
CornerRadius="5"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
Background="#89BEBD">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource ViewModeButtonInnerBorder}" />
</Border>
<ContentControl
x:Name="Content"
Foreground="{TemplateBinding Foreground}"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}"
telerik:LocalizationManager.ResourceKey="{Binding Title}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="ViewModeSelectionListBoxStyle"
TargetType="ListBox">
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<Setter
Property="Background"
Value="{x:Null}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Margin"
Value="2" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="ItemContainerStyle"
Value="{StaticResource ViewModeSelectionListBoxItemStyle}" />
<Setter
Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<telerikPrimitives:RadUniformGrid
Rows="1" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- ScheduleView -->
<!-- Navigation -->
<Style
x:Key="NavigationButtonBaseStyle"
TargetType="FrameworkElement">
<Setter
Property="Margin"
Value="2" />
<Setter
Property="Width"
Value="22" />
<Setter
Property="Height"
Value="22" />
<Setter
Property="HorizontalAlignment"
Value="Center" />
<Setter
Property="VerticalAlignment"
Value="Center" />
</Style>
<Style
x:Key="NavigationButtonBackStyle"
TargetType="telerik:RadButton"
BasedOn="{StaticResource NavigationButtonBaseStyle}">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Grid>
<Border
x:Name="silver_normal"
VerticalAlignment="Stretch"
Width="20"
Height="20"
Background="#FFFFFFFF"
BorderBrush="#FF9199A4"
BorderThickness="1"
CornerRadius="11">
<Border
x:Name="Chevron"
Margin="1"
CornerRadius="10">
<Border.Background>
<LinearGradientBrush
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFDADAE8"
Offset="1" />
<GradientStop
Color="#FFFFFFFF"
Offset="0" />
<GradientStop
Color="#FFB3B9CC"
Offset="0.51" />
<GradientStop
Color="#FFDADCEB"
Offset="0.5" />
</LinearGradientBrush>
</Border.Background>
<Path
Fill="#FF000000"
Stretch="Fill"
Stroke="{x:Null}"
Margin="3,3,3,3"
Data="M4.0000001,0 L5,0 5,1 5,2 4.0000001,2 4.0000001,3 3.0000001,3 3.0000001,4 4.0000001,4 5,4 6,4 7,4 8,4 9,4 10,4 10,5 9,5 8,5 7,5 6,5 5,5 4.0000001,5 3.0000001,5 3.0000001,6
4.0000001,6 4.0000001,7 5,7 5,7.9999999 5,9 4.0000001,9 4.0000001,7.9999999 3.0000001,7.9999999 3.0000001,7 2,7 2,6 1,6 1,5 0,5 0,4 1,4 1,3 2,3 2,2 3,2 3,1 4.0000001,1 z" />
</Border>
</Border>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<!--<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
CornerRadius="1"
BorderThickness="1"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
Background="{StaticResource ViewModeButtonBackground}">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource ViewModeButtonInnerBorder}" />
</Border>
<Path
x:Name="IconBackground"
Width="4"
Height="7"
Margin="0 1 0 0"
Fill="{StaticResource NavigationIconBackground_Normal}"
Data="M4,0 L0,3.5 4,7 Z" />
<Path
x:Name="IconForeground"
Width="4"
Height="7"
Margin="0 0 0 1"
Fill="{StaticResource NavigationIconForeground_Normal}"
Data="M4,0 L0,3.5 4,7 Z" />-->
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationButtonNextStyle"
TargetType="telerik:RadButton"
BasedOn="{StaticResource NavigationButtonBaseStyle}">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Grid>
<telerikPrimitives:LayoutTransformControl
VerticalAlignment="Top">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-180" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<Border
x:Name="silver_normal_next"
VerticalAlignment="Stretch"
Width="20"
Height="20"
Background="#FFFFFFFF"
BorderBrush="#FF9199A4"
BorderThickness="1"
CornerRadius="11">
<Border
x:Name="Chevron_next"
Margin="1"
CornerRadius="10">
<Border.Background>
<LinearGradientBrush
EndPoint="0.5,0"
StartPoint="0.5,1">
<GradientStop
Color="#FFDADAE8"
Offset="1" />
<GradientStop
Color="#FFFFFFFF"
Offset="0" />
<GradientStop
Color="#FFB3B9CC"
Offset="0.51" />
<GradientStop
Color="#FFDADCEB"
Offset="0.5" />
</LinearGradientBrush>
</Border.Background>
<Path
Fill="#FF000000"
Stretch="Fill"
Stroke="{x:Null}"
Margin="3,3,3,3"
Data="M4.0000001,0 L5,0 5,1 5,2 4.0000001,2 4.0000001,3 3.0000001,3 3.0000001,4 4.0000001,4 5,4 6,4 7,4 8,4 9,4 10,4 10,5 9,5 8,5 7,5 6,5 5,5 4.0000001,5 3.0000001,5 3.0000001,6
4.0000001,6 4.0000001,7 5,7 5,7.9999999 5,9 4.0000001,9 4.0000001,7.9999999 3.0000001,7.9999999 3.0000001,7 2,7 2,6 1,6 1,5 0,5 0,4 1,4 1,3 2,3 2,2 3,2 3,1 4.0000001,1 z" />
</Border>
</Border>
</telerikPrimitives:LayoutTransformControl>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<!--<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>-->
<!--<Border
x:Name="CheckOuterBorder"
CornerRadius="1"
BorderThickness="1"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
Background="{StaticResource ViewModeButtonBackground}">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource ViewModeButtonInnerBorder}" />
</Border>
<Path
x:Name="IconBackground"
Width="4"
Height="7"
Margin="0 1 0 0"
Fill="{StaticResource NavigationIconBackground_Normal}"
Data="M0,0 L4,3.5 0,7 Z" />
<Path
x:Name="IconForeground"
Width="4"
Height="7"
Margin="0 0 0 1"
Fill="{StaticResource NavigationIconForeground_Normal}"
Data="M0,0 L4,3.5 0,7 Z" />-->
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationCalendarToggleButton"
TargetType="telerik:RadDropDownButton"
BasedOn="{StaticResource NavigationButtonBaseStyle}">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadDropDownButton">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Opened">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
Width="20"
Height="22"
Background="#FFFFFFFF"
BorderBrush="#FF9199A4"
BorderThickness="1">
<Border
x:Name="CheckInnerBorder"
Margin="-1,-1,-6,0"
Width="15"
Height="24"
BorderBrush="#FF9199A4"
BorderThickness="1">
<Border.Background>
<LinearGradientBrush
EndPoint="0.5,0"
StartPoint="0.5,1">
<GradientStop
Color="#FFDADAE8"
Offset="1" />
<GradientStop
Color="#FFFFFFFF"
Offset="0" />
<GradientStop
Color="#FFB3B9CC"
Offset="0.51" />
<GradientStop
Color="#FFDADCEB"
Offset="0.5" />
</LinearGradientBrush>
</Border.Background>
</Border>
</Border>
<ContentControl
x:Name="CalendarIcon"
IsTabStop="False"
Margin="3 0 0 1"
HorizontalContentAlignment="Center"
Template="{StaticResource CalendarIcon}"
Background="{StaticResource NavigationIconBackground_Normal}"
Foreground="{StaticResource NavigationIconForeground_Normal}" />
<Popup
x:Name="DropDownPopup"
IsOpen="{Binding Path=IsOpen, RelativeSource={RelativeSource TemplatedParent}}">
<ContentPresenter
x:Name="DropDownPopupContent"
Content="{TemplateBinding DropDownContent}"
ContentTemplate="{TemplateBinding DropDownContentTemplate}"
DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=DataContext}" />
</Popup>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationDateTimePickerStyle"
TargetType="telerik:RadDatePicker">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadDatePicker">
<telerik:RadDropDownButton
Style="{StaticResource NavigationCalendarToggleButton}"
DropDownIndicatorVisibility="Collapsed"
IsOpen="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}">
<telerik:RadDropDownButton.DropDownContent>
<telerik:RadCalendar
x:Name="PART_Calendar"
IsReadOnly="{TemplateBinding IsReadOnly}"
DateSelectionMode="{TemplateBinding DateSelectionMode}"
Culture="{TemplateBinding Culture}"
SelectionMode="Single"
DisplayDateStart="{TemplateBinding DisplayDateStart}"
DisplayDateEnd="{TemplateBinding DisplayDateEnd}"
SelectableDateStart="{TemplateBinding SelectableDateStart}"
SelectableDateEnd="{TemplateBinding SelectableDateEnd}"
DisplayDate="{Binding DisplayDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
SelectedDate="{Binding SelectedDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationIntervalStyle"
TargetType="ContentControl">
<Setter
Property="Margin"
Value="5" />
<Setter
Property="VerticalAlignment"
Value="Center" />
<Setter
Property="HorizontalAlignment"
Value="Right" />
<Setter
Property="FontSize"
Value="10" />
<!--<Setter
Property="FontWeight"
Value="Bold" />-->
<Setter
Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<Grid>
<TextBlock
Margin="0 1 0 0"
Text="{Binding}"
Foreground="{StaticResource NavigationIntervalForegroundRear}" />
<TextBlock
Margin="0 0 0 1"
Text="{Binding}"
Foreground="{StaticResource NavigationIntervalForegroundFront}" />
</Grid>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="NavigationIntervalStyle2" TargetType="ContentControl">
<Setter
Property="Margin"
Value="5"/>
<Setter
Property="VerticalAlignment"
Value="Center"/>
<Setter
Property="HorizontalAlignment"
Value="Right"/>
<Setter
Property="FontSize"
Value="10" />
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Foreground="{StaticResource NavigationIntervalForegroundFront}" Text="{Binding Start,StringFormat='dddd, MMM dd, yyyy'}" />
<!--<TextBlock Text="-" Foreground="{StaticResource NavigationIntervalForegroundFront}" />
<TextBlock Foreground="{StaticResource NavigationIntervalForegroundFront}" Text="{Binding End}"/>-->
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<DataTemplate
x:Key="DragVisualContentTemplate">
<TextBlock
Text="{Binding Converter={StaticResource DraggedAppointmentsToLocalizedStringConverter}}"
TextWrapping="Wrap"
MaxWidth="200"
MaxHeight="66"
TextTrimming="WordEllipsis" />
</DataTemplate>
<Style
TargetType="tkScheduleView:DragVisual"
x:Key="DragVisualStyle">
<Setter
Property="Foreground"
Value="{StaticResource DragVisualForeground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DragVisualBorder}" />
<Setter
Property="Background"
Value="{StaticResource DragVisualBackground}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Margin"
Value="10 0 0 0" />
<Setter
Property="Padding"
Value="0 0 6 0" />
<Setter
Property="HorizontalContentAlignment"
Value="Left" />
<Setter
Property="VerticalContentAlignment"
Value="Center" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:DragVisual">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="EffectStates">
<VisualState
x:Name="None">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="NoneEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Move">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MoveEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Copy">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CopyEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Link">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="LinkEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Scroll">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="ScrollEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="SecondItemVisual"
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=DraggedItemsSource, Converter={StaticResource EnumerableCountToVisibilityConverter}, ConverterParameter=3}"
CornerRadius="2"
Margin="4 4 0 0"
BorderBrush="{StaticResource DragVisualMultyItemBorder}"
Background="{StaticResource DragVisualMultyItemBackground}"
BorderThickness="1" />
<Border
x:Name="ThirdthItemVisual"
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=DraggedItemsSource, Converter={StaticResource EnumerableCountToVisibilityConverter}, ConverterParameter=2}"
CornerRadius="2"
Margin="2 2 2 2"
BorderBrush="{StaticResource DragVisualMultyItemBorder}"
Background="{StaticResource DragVisualMultyItemBackground}"
BorderThickness="1" />
<Border
x:Name="DragBackgroundVisual"
CornerRadius="2"
Margin="0 0 4 4"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" />
<Border
Margin="0 0 4 4"
Padding="{TemplateBinding BorderThickness}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<Path
x:Name="NoneEffect"
Visibility="Collapsed"
Margin="5"
Width="10"
Height="10"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M2,8 L8,2 M9,5 C9,7.2 7.2,9 5,9 C2.7,9 1,7 1,5 C1,2.8 2.8,1 5,1 C7.2,1 9,2.8 9,5 z"
Stroke="{StaticResource DragVisualEffectImportant}"
StrokeThickness="2" />
<Path
x:Name="MoveEffect"
Visibility="Collapsed"
Margin="5"
Width="10"
Height="10"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M0,5 L8,5 M4,1 L8,5 4,9"
Stroke="{StaticResource DragVisualEffectNormal}"
StrokeThickness="2" />
<Path
x:Name="CopyEffect"
Visibility="Collapsed"
Margin="5"
Width="10"
Height="10"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M5,1 L5,9 M1,5 L9,5"
Stroke="{StaticResource DragVisualEffectNormal}"
StrokeThickness="2" />
<Path
x:Name="LinkEffect"
Visibility="Collapsed"
Margin="5 7 4 7"
Height="6"
Width="11"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M8,0.5 C9.4,0.5 10.5,1.6 10.5,3 C10.5,4.4 9.4,5.5 8,5.5 C6.6,5.5 5.5,4.4 5.5,3 C5.5,1.6 6.6,0.5 8,0.5 z M3,0.5 C4.4,0.5 5.5,1.6 5.5,3 C5.5,4.4 4.4,5.5 3,5.5 C1.6,5.5 0.5,4.4 0.5,3 C0.5,1.6 1.6,0.5 3,0.5 z"
Stroke="{StaticResource DragVisualEffectImportant}"
StrokeThickness="1" />
<Path
x:Name="ScrollEffect"
Visibility="Collapsed"
Margin="5 4"
Width="10"
Height="12"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M0,5 L5,0 10,5Z M0,7 L5,12 10,7Z"
Fill="{StaticResource DragVisualEffectNormal}" />
<ContentPresenter
x:Name="Content"
Grid.Column="1"
Margin="{TemplateBinding Padding}"
Content="{TemplateBinding DraggedItemsSource}"
ContentTemplate="{TemplateBinding ContentTemplate}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<ControlTemplate
x:Key="RadScheduleViewControlTemplate"
TargetType="tkScheduleView:RadScheduleView">
<Border
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="OrienatationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="HeadersHeight"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="HeadersWidth"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.Column)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>1</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.ColumnSpan)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>1</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.Row)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>0</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.RowSpan)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>2</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_TimeRulerPanel"
Storyboard.TargetProperty="(Grid.Column)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>0</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_TimeRulerPanel"
Storyboard.TargetProperty="(Grid.Row)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>1</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_TimeRulerPanel" Storyboard.TargetProperty="Offset">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{Binding VerticalOffset, RelativeSource={RelativeSource TemplatedParent}}" />
</ObjectAnimationUsingKeyFrames>-->
<!--<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_TimeRulerPanel" Storyboard.TargetProperty="Offset">
<DiscreteObjectKeyFrame KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Binding Path="VerticalOffset" RelativeSource="{RelativeSource TemplatedParent}" />
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>-->
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid>
<!--<?SILVERLIGHT BEGIN?>
<telerik:CommandManager.InputBindings>
<telerik:InputBindingCollection>
<telerik:KeyBinding
Key="Delete"
Command="tkScheduleView:RadScheduleViewCommands.DeleteAppointment" />
</telerik:InputBindingCollection>
</telerik:CommandManager.InputBindings>
<?SILVERLIGHT END?>-->
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<Border
x:Name="NavigationHeader"
Visibility="{TemplateBinding NavigationHeaderVisibility}"
BorderBrush="{StaticResource SchedulerHeaderOuterBorder}"
Background="{StaticResource SchedulerHeaderBackground}"
BorderThickness="0">
<Border
BorderBrush="{StaticResource SchedulerHeaderInnerBorder}"
BorderThickness="0">
<Grid
x:Name="ScheduleViewHeader">
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<ListBox
x:Name="ViewModeSelection"
Grid.Column="0"
Style="{StaticResource ViewModeSelectionListBoxStyle}"
SelectionMode="Single"
ItemsSource="{TemplateBinding ViewDefinitions}"
SelectedIndex="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
<StackPanel
Grid.Column="1"
Orientation="Horizontal"
HorizontalAlignment="Left">
<telerik:RadButton
Style="{StaticResource NavigationButtonBackStyle}"
Command="tkScheduleView:RadScheduleViewCommands.DecreaseVisibleDateLarge" />
<ContentControl
x:Name="CurrentInterval"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=NavigationIntervalStyle}"
Style="{StaticResource NavigationIntervalStyle}"
Content="{TemplateBinding CurrentVisibleRangeText}" />
<ContentControl
x:Name="DayCurrentInterval"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=DayViewNavigation}"
Style="{StaticResource NavigationIntervalStyle2}"
Content="{TemplateBinding VisibleRange }" />
<telerik:RadButton
Style="{StaticResource NavigationButtonNextStyle}"
Command="tkScheduleView:RadScheduleViewCommands.IncreaseVisibleDateLarge" />
<telerik:RadDatePicker
x:Name="PART_NavigationPicker"
Style="{StaticResource NavigationDateTimePickerStyle}"
SelectedValue="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=CurrentDate, Mode=TwoWay}" />
</StackPanel>
</Grid>
</Border>
</Border>
<telerik:RadTransitionControl
x:Name="PART_TranstionControl"
Grid.Row="1"
Duration="00:00:00.500">
<telerik:RadTransitionControl.Transition>
<telerik:SlideAndZoomTransition
MinZoom="1" />
</telerik:RadTransitionControl.Transition>
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="Auto" />
</Grid.ColumnDefinitions>
<Border
x:Name="HeadersHeight"
Grid.ColumnSpan="3"
Height="{TemplateBinding HeadersLength}" />
<Border
x:Name="HeadersWidth"
Grid.RowSpan="3"
BorderThickness="0"
Width="{TemplateBinding HeadersLength}"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
<!-- TODO: Silverlight - workaround ClipToBounds -->
<tkScheduleView:TimeRulerPanel
x:Name="PART_TimeRulerPanel"
Grid.Row="0"
Grid.Column="1"
Margin="0,0,3,0"
Orientation="{TemplateBinding EffectiveOrientation}"
Offset="{Binding HorizontalOffset, RelativeSource={RelativeSource TemplatedParent}}">
</tkScheduleView:TimeRulerPanel>
<tkScheduleView:AppointmentsPanel
x:Name="PART_ItemsHost"
Canvas.ZIndex="1"
Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{x:Null}"
Orientation="{TemplateBinding EffectiveOrientation}">
</tkScheduleView:AppointmentsPanel>
<telerikPrimitives:LayoutTransformControl
Grid.Row="1"
Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Visibility="{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}"
Canvas.ZIndex="1"
UseLayoutRounding="True">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<telerik:RadButton
CornerRadius="2 2 0 0"
HorizontalContentAlignment="Stretch"
Command="tkScheduleView:RadScheduleViewCommands.GoToNextAppointment"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid
Width="160">
<TextBlock
telerik:LocalizationManager.ResourceKey="NextAppointment"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
<TextBlock
Text="â–¼"
FontSize="8"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="8 0" />
</Grid>
</telerik:RadButton>
</telerikPrimitives:LayoutTransformControl>
<telerikPrimitives:LayoutTransformControl
Grid.Row="1"
Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Left"
Visibility="{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}"
Canvas.ZIndex="1"
UseLayoutRounding="True">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<telerik:RadButton
CornerRadius="2 2 0 0"
Command="tkScheduleView:RadScheduleViewCommands.GoToPreviousAppointment"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid
Width="160">
<TextBlock
telerik:LocalizationManager.ResourceKey="Prev Appointment"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
<TextBlock
Text="â–²"
FontSize="8"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="8 0" />
</Grid>
</telerik:RadButton>
</telerikPrimitives:LayoutTransformControl>
<!-- TODO: Silverlight - workaround ClipToBounds -->
<tkScheduleView:TimeRulerLinesPanel
x:Name="PART_TimeRulerLinesPanel"
Grid.Row="1"
Grid.Column="1"
Background="{StaticResource TimeRuleBackground}"
Orientation="{TemplateBinding EffectiveOrientation}"
PixelLength="{TemplateBinding EffectivePixelLength}">
</tkScheduleView:TimeRulerLinesPanel>
<!-- TODO: Silverlight - workaround ClipToBounds -->
<tkScheduleView:HighlightPanel
x:Name="PART_HighlightPanel"
Grid.Row="1"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
Background="Transparent"
Orientation="{TemplateBinding EffectiveOrientation}"
PixelLength="{TemplateBinding EffectivePixelLength}"
IsHitTestVisible="False"
Canvas.ZIndex="1">
</tkScheduleView:HighlightPanel>
<Border
BorderThickness="3 3 3 0"
BorderBrush="#147EC1"
Margin="-2,0,0,0"
Grid.Row="0"
Grid.Column="1"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=Frame}"
Grid.RowSpan="2" />
<Border
x:Name="AppointmentsBorder"
Grid.Row="1"
Grid.Column="1"
BorderBrush="{StaticResource GroupHeaderBorderBrush}"
BorderThickness="1" />
<Border
x:Name="VerticalHeadersBorder"
Grid.Row="1"
Grid.Column="0"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
BorderThickness="0 1"
Canvas.ZIndex="3" />
<Border
x:Name="HorizontalHeadersBorder"
Grid.Row="0"
Grid.Column="1"
BorderBrush="#147EC1"
BorderThickness="0 3 3 0"
Canvas.ZIndex="3" />
<!--We are using this border when we remove Scroll bar in Monthview Details-->
<Border
x:Name="MonthViewDetailBorder"
Grid.Row="1"
Grid.Column="2"
BorderBrush="{StaticResource TimeRulerLineStroke}"
BorderThickness="0,0,1,0"
Canvas.ZIndex="3" />
<ScrollBar
x:Name="PART_HorizontalScrollBar"
Grid.Row="2"
Grid.Column="1"
Orientation="Horizontal"
ViewportSize="{TemplateBinding ViewportWidth}"
Maximum="{TemplateBinding ExtentWidth}"
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
SmallChange="{TemplateBinding HorizontalSmallChange}"
LargeChange="{TemplateBinding HorizontalLargeChange}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<ScrollBar
x:Name="PART_HeadersVerticalScrollBar"
Grid.Row="0"
Grid.Column="2"
Orientation="Vertical"
ViewportSize="{TemplateBinding ViewportHeight}"
Maximum="{TemplateBinding ExtentHeight}"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=HeaderPanelVerticalScrollBar}"
SmallChange="{TemplateBinding VerticalSmallChange}"
LargeChange="{TemplateBinding VerticalLargeChange}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<!--removed the binding of the scrollbar visibility-->
<ScrollBar
x:Name="PART_VerticalScrollBar"
Grid.Row="1"
Grid.Column="2"
Orientation="Vertical"
ViewportSize="{TemplateBinding ViewportHeight}"
Maximum="{TemplateBinding ExtentHeight}"
SmallChange="{TemplateBinding VerticalSmallChange}"
LargeChange="{TemplateBinding VerticalLargeChange}"
Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<Grid
x:Name="WarningsPanel"
Grid.Row="0"
Grid.RowSpan="3"
Grid.ColumnSpan="3"
Canvas.ZIndex="2">
<Grid
x:Name="ViewDefinitionWarning"
Background="White"
Visibility="{Binding ActiveViewDefinition, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedNullToVisibilityConverter}}">
<TextBlock
Text="Please select a View definition"
FontSize="32"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
<Grid
x:Name="AppointmentSourceWarning"
Background="White"
Visibility="{Binding AppointmentsSource, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedNullToVisibilityConverter}}">
<!--<TextBlock
Text="Please provide an AppointmentsSource"
FontSize="32"
Foreground="Black"
HorizontalAlignment="Center"
VerticalAlignment="Center" />-->
</Grid>
</Grid>
</Grid>
</telerik:RadTransitionControl>
</Grid>
</Border>
</ControlTemplate>
<Style
x:Key="CurrentTimeIndicatorStyle"
TargetType="tkScheduleView:CurrentTimeIndicator">
<Setter
Property="Canvas.ZIndex"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Rectangle
Margin="0 0 -1 -1"
MinWidth="2"
MinHeight="2"
Fill="{StaticResource CurrentTimeFill}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<tkScheduleView:CategoryCollection
x:Key="DefaultCategoryCollection">
<tkScheduleView:Category
CategoryName="Red Category"
CategoryBrush="{StaticResource RedCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Green Category"
CategoryBrush="{StaticResource GreenCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Blue Category"
CategoryBrush="{StaticResource BlueCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Purple Category"
CategoryBrush="{StaticResource PurpleCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Yellow Category"
CategoryBrush="{StaticResource YellowCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Olive Category"
CategoryBrush="{StaticResource OliveCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Pink Category"
CategoryBrush="{StaticResource PinkCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Orange Category"
CategoryBrush="{StaticResource OrangeCategoryBrush}" />
</tkScheduleView:CategoryCollection>
<tkScheduleView:TimeMarkerCollection
x:Key="DefaultTimeMarkerCollection">
<tkScheduleView:TimeMarker
TimeMarkerName="Free"
TimeMarkerBrush="{StaticResource FreeMarkerBrush}" />
<tkScheduleView:TimeMarker
TimeMarkerName="Tentative"
TimeMarkerBrush="{StaticResource TentativeMarkerBrush}" />
<tkScheduleView:TimeMarker
TimeMarkerName="Busy"
TimeMarkerBrush="{StaticResource BusyMarkerBrush}" />
<tkScheduleView:TimeMarker
TimeMarkerName="OutOfOffice"
TimeMarkerBrush="{StaticResource OutOfOfficeMarkerBrush}" />
</tkScheduleView:TimeMarkerCollection>
<Style
x:Key="ScheduleViewBaseStyle"
TargetType="tkScheduleView:ScheduleViewBase">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Background"
Value="{StaticResource RadScheduleBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource RadScheduleBorderBrush}" />
<Setter
Property="BorderThickness"
Value="0" />
<!-- GroupHeaders -->
<Setter
Property="GroupHeaderStyleSelector"
Value="{StaticResource GroupHeaderStyleSelector}" />
<Setter
Property="GroupHeaderContentTemplateSelector"
Value="{StaticResource GroupHeaderContentTemplateSelector}" />
<!-- TimeRuler -->
<Setter
Property="TimeRulerItemStyleSelector"
Value="{StaticResource TimeRulerItemStyleSelector}" />
<Setter
Property="TimeRulerItemTemplateSelector"
Value="{StaticResource TimeRulerItemTemplateSelector}" />
<Setter
Property="CurrentTimeIndicatorStyle"
Value="{StaticResource CurrentTimeIndicatorStyle}" />
<!-- TimeSlot decorations -->
<Setter
Property="ResizeHighlightStyle"
Value="{StaticResource ResizeHighlightStyle}" />
<Setter
Property="DragDropHighlightStyle"
Value="{StaticResource DragDropHighlightStyle}" />
<Setter
Property="MouseOverHighlightStyle"
Value="{StaticResource MouseOverHighlightStyle}" />
<Setter
Property="SelectionHighlightStyle"
Value="{StaticResource SelectionHighlightStyle}" />
<Setter
Property="SpecialSlotStyleSelector"
Value="{StaticResource SpecialSlotStyleSelector}" />
<!-- AppointmentItem and decorations -->
<Setter
Property="MinAppointmentWidth"
Value="50" />
<Setter
Property="AppointmentStyleSelector"
Value="{StaticResource AppointmentItemStyleSelector}" />
<Setter
Property="InlineEditingTemplate"
Value="{StaticResource InlineEditTemplate}" />
<Setter
Property="ToolTipTemplate"
Value="{StaticResource ToolTipTemplate}" />
<!-- Drag Visual -->
<Setter
Property="DragVisualStyle"
Value="{StaticResource DragVisualStyle}" />
<Setter
Property="DragVisualTemplate"
Value="{StaticResource DragVisualContentTemplate}" />
<!-- Categories&Markers -->
<Setter
Property="CategoriesSource"
Value="{StaticResource DefaultCategoryCollection}" />
<Setter
Property="TimeMarkersSource"
Value="{StaticResource DefaultTimeMarkerCollection}" />
<!-- Dialog styles -->
<Setter
Property="EditAppointmentDialogStyle"
Value="{StaticResource EditAppointmentDialogStyle}" />
<Setter
Property="EditRecurrenceDialogStyle"
Value="{StaticResource EditRecurrenceDialogStyle}" />
<Setter
Property="DeleteAppointmentConfirmDialogStyle"
Value="{StaticResource DeleteAppointmentConfirmDialogStyle}" />
<Setter
Property="RecurrenceChoiceDialogStyle"
Value="{StaticResource RecurrenceChoiceDialogStyle}" />
<Setter
Property="RecurrenceChoiceDeleteDialogStyle"
Value="{StaticResource RecurrenceChoiceDeleteDialogStyle}" />
<Setter
Property="RecurrenceChoiceResizeDialogStyle"
Value="{StaticResource RecurrenceChoiceResizeDialogStyle}" />
<Setter
Property="RecurrenceChoiceDragDropDialogStyle"
Value="{StaticResource RecurrenceChoiceDragDropDialogStyle}" />
</Style>
<Style
x:Key="RadScheduleViewStyle"
TargetType="tkScheduleView:RadScheduleView">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Background"
Value="{StaticResource RadScheduleBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource RadScheduleBorderBrush}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Template"
Value="{StaticResource RadScheduleViewControlTemplate}" />
<!-- GroupHeaders -->
<Setter
Property="GroupHeaderStyleSelector"
Value="{StaticResource GroupHeaderStyleSelector}" />
<Setter
Property="GroupHeaderContentTemplateSelector"
Value="{StaticResource GroupHeaderContentTemplateSelector}" />
<!-- TimeRuler -->
<Setter
Property="TimeRulerItemStyleSelector"
Value="{StaticResource TimeRulerItemStyleSelector}" />
<Setter
Property="TimeRulerItemTemplateSelector"
Value="{StaticResource TimeRulerItemTemplateSelector}" />
<Setter
Property="CurrentTimeIndicatorStyle"
Value="{StaticResource CurrentTimeIndicatorStyle}" />
<!-- TimeSlot decorations -->
<Setter
Property="ResizeHighlightStyle"
Value="{StaticResource ResizeHighlightStyle}" />
<Setter
Property="DragDropHighlightStyle"
Value="{StaticResource DragDropHighlightStyle}" />
<Setter
Property="MouseOverHighlightStyle"
Value="{StaticResource MouseOverHighlightStyle}" />
<Setter
Property="SelectionHighlightStyle"
Value="{StaticResource SelectionHighlightStyle}" />
<Setter
Property="SpecialSlotStyleSelector"
Value="{StaticResource SpecialSlotStyleSelector}" />
<!-- AppointmentItem and decorations -->
<Setter
Property="MinAppointmentWidth"
Value="50" />
<Setter
Property="AppointmentStyleSelector"
Value="{StaticResource AppointmentItemStyleSelector}" />
<Setter
Property="InlineEditingTemplate"
Value="{StaticResource InlineEditTemplate}" />
<Setter
Property="ToolTipTemplate"
Value="{StaticResource ToolTipTemplate}" />
<!-- Drag Visual -->
<Setter
Property="DragVisualStyle"
Value="{StaticResource DragVisualStyle}" />
<Setter
Property="DragVisualTemplate"
Value="{StaticResource DragVisualContentTemplate}" />
<!-- Categories&Markers -->
<Setter
Property="CategoriesSource"
Value="{StaticResource DefaultCategoryCollection}" />
<Setter
Property="TimeMarkersSource"
Value="{StaticResource DefaultTimeMarkerCollection}" />
<!-- Dialog styles -->
<Setter
Property="EditAppointmentDialogStyle"
Value="{StaticResource EditAppointmentDialogStyle}" />
<Setter
Property="EditRecurrenceDialogStyle"
Value="{StaticResource EditRecurrenceDialogStyle}" />
<Setter
Property="DeleteAppointmentConfirmDialogStyle"
Value="{StaticResource DeleteAppointmentConfirmDialogStyle}" />
<Setter
Property="RecurrenceChoiceDialogStyle"
Value="{StaticResource RecurrenceChoiceDialogStyle}" />
<Setter
Property="RecurrenceChoiceDeleteDialogStyle"
Value="{StaticResource RecurrenceChoiceDeleteDialogStyle}" />
<Setter
Property="RecurrenceChoiceResizeDialogStyle"
Value="{StaticResource RecurrenceChoiceResizeDialogStyle}" />
<Setter
Property="RecurrenceChoiceDragDropDialogStyle"
Value="{StaticResource RecurrenceChoiceDragDropDialogStyle}" />
</Style>
<!-- Theme style setter -->
<Style
TargetType="tkScheduleView:RadScheduleView"
BasedOn="{StaticResource RadScheduleViewStyle}" />
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}" />
<Style
TargetType="tkScheduleView:GroupHeaderButton"
BasedOn="{StaticResource GroupHeaderButtonStyle}" />
<Style
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerItem"
BasedOn="{StaticResource MinorVerticalTimeRulerItemStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerLine"
BasedOn="{StaticResource TimeRulerLineStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerGroupItem"
BasedOn="{StaticResource TimeRulerGroupItemStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerMonthViewItem"
BasedOn="{StaticResource TimeRulerMonthViewItemStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerMonthViewGroupItem"
BasedOn="{StaticResource TimeRulerMonthViewGroupItemStyle}" />
<Style
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}" />
<?BODY END?>
</ResourceDictionary>
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
xmlns:telerikChromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:tkControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
xmlns:tkScheduleView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView">
<?BODY BEGIN?>
<telerik:InvertedBooleanToVisibilityConverter
x:Key="InvertedBooleanToVisibilityConverter" />
<tkScheduleView:InvertedNullToVisibilityConverter
x:Key="InvertedNullToVisibilityConverter" />
<telerik:InvertedVisibilityConverter
x:Key="InvertedVisibilityConverter" />
<telerik:BooleanToVisibilityConverter
x:Key="BooleanToVisibilityConverter" />
<telerik:NullToVisibilityConverter
x:Key="NullToVisibilityConverter" />
<telerik:BoolToInputModeConverter
x:Key="BoolToInputModeConverter" />
<telerik:ResourcesSeparatorConverter
x:Key="ResourcesSeparatorConverter" />
<telerik:EnumToBooleanConverter
x:Key="EnumToBoolConverter" />
<telerik:EnumToVisibilityConverter
x:Key="EnumToVisibilityConverter" />
<tkScheduleView:InvertedBooleanConverter
x:Key="InvertedBooleanConverter" />
<telerik:RecurrenceStateIsExeptionToVisibilityConverter
x:Key="RecurrenceStateIsExeptionToVisibilityConverter" />
<telerik:RecurrenceStateIsOccurenceToVisibilityConverter
x:Key="RecurrenceStateIsOccurenceToVisibilityConverter" />
<telerik:DraggedAppointmentsToLocalizedStringConverter
x:Key="DraggedAppointmentsToLocalizedStringConverter" />
<telerik:EnumerableCountToVisibilityConverter
x:Key="EnumerableCountToVisibilityConverter" />
<telerik:LocalizationManager
x:Key="LocalizationManager" />
<!-- Styles and Templates -->
<!--Brushes-->
<telerik:Office_BlueTheme
x:Key="Theme" />
<!-- Drag Visual -->
<SolidColorBrush
x:Key="DragVisualForeground"
Color="Black" />
<SolidColorBrush
x:Key="DragVisualBorder"
Color="#FF848484" />
<LinearGradientBrush
x:Key="DragVisualBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="White"
Offset="0" />
<GradientStop
Color="#FFDEDEDE"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="DragVisualMultyItemBorder"
Color="#FF848484" />
<SolidColorBrush
x:Key="DragVisualMultyItemBackground"
Color="White" />
<SolidColorBrush
x:Key="DragVisualEffectNormal"
Color="#FF364F6F" />
<SolidColorBrush
x:Key="DragVisualEffectImportant"
Color="#FFDC000C" />
<!--ScheduleView-->
<SolidColorBrush
x:Key="RadScheduleForeground"
Color="Black" />
<!--<SolidColorBrush
x:Key="RadScheduleBackground"
Color="#FFFFFFFF" />-->
<SolidColorBrush
x:Key="RadScheduleBackground"
Color="#E6E6E6" />
<SolidColorBrush
x:Key="RadScheduleBorderBrush"
Color="#E6E6E6" />
<SolidColorBrush
x:Key="TimeRuleBackground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleBackground"
Color="#99FCE7AD" />
<!--<SolidColorBrush
x:Key="DecorationRectangleBackground_Selected"
Color="#AAFCE7AD" />-->
<SolidColorBrush
x:Key="DecorationRectangleBackground_Selected"
Color="#FFE7F1CC" />
<SolidColorBrush
x:Key="DecorationRectangleInnerBorder_Selected"
Color="#AAFFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleOuterBorder_Selected"
Color="Transparent" />
<SolidColorBrush
x:Key="DecorationRectangleBackground_MouseOver"
Color="#FFFFFBD1" />
<SolidColorBrush
x:Key="DecorationRectangleInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleOuterBorder_MouseOver"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="DecorationRectangleBackground_DragOver"
Color="#99FCE7AD" />
<SolidColorBrush
x:Key="DecorationRectangleInnerBorder_DragOver"
Color="#99FFFFFF" />
<SolidColorBrush
x:Key="DecorationRectangleOuterBorder_DragOver"
Color="#FF848484" />
<!-- Navigation Header -->
<LinearGradientBrush
x:Key="SchedulerHeaderOuterBorder"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF96B3DC"
Offset="0" />
<GradientStop
Color="#FF7CA1CD"
Offset="1" />
<GradientStop
Color="#FF6289B9"
Offset="0.5" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="SchedulerHeaderInnerBorder"
Color="#FFEFF6FF" />
<SolidColorBrush
x:Key="SchedulerHeaderBackground"
Color="#E6E6E6" />
<!--<LinearGradientBrush
x:Key="SchedulerHeaderBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
<GradientStop
Color="#FFABC9EE"
Offset="0.43" />
<GradientStop
Color="#FFC6DFFF"
Offset="0.42" />
</LinearGradientBrush>-->
<!--<SolidColorBrush
x:Key="ViewModeButtonForeground"
Color="#FFFFFFFF" />-->
<SolidColorBrush
x:Key="ViewModeButtonForeground"
Color="Black"/>
<SolidColorBrush
x:Key="ViewModeButtonOuterBorder"
Color="DarkGray" />
<SolidColorBrush
x:Key="ViewModeButtonInnerBorder"
Color="#00000000" />
<SolidColorBrush
x:Key="ViewModeButtonBackground"
Color="#FF8FC1C0" />
<!--<LinearGradientBrush
x:Key="ViewModeButtonBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF" />
<GradientStop
Color="#FFD0F3FF"
Offset="1" />
<GradientStop
Color="#FFA1C5F2"
Offset="0.43" />
<GradientStop
Color="#FFCAE1FF"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="NavigationIconBackground_Normal"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="NavigationIconForeground_Normal"
Color="#FF567DB1" />
<SolidColorBrush
x:Key="NavigationIconBackground_Highlighted"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="NavigationIconForeground_Highlighted"
Color="#FF567DB1" />
<SolidColorBrush
x:Key="NavigationButtonOverBackground"
Color="#989898" />
<SolidColorBrush
x:Key="NavigationButtonOverBorderBrush"
Color="#DBCE99" />
<SolidColorBrush
x:Key="NavigationButtonOverInnerBorderBrush"
Color="#FFFFFDE6" />
<SolidColorBrush
x:Key="NavigationButtonPressedBackground"
Color="#989898" />
<SolidColorBrush
x:Key="NavigationButtonPressedBorderBrush"
Color="#989898" />
<SolidColorBrush
x:Key="NavigationButtonPressedInnerBorderBrush"
Color="#F1F1F1" />
<SolidColorBrush
x:Key="ViewModeButtonForeground_MouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="ViewModeButtonOuterBorder_MouseOver"
Color="#FFFFC92B" />
<!--<SolidColorBrush
x:Key="ViewModeButtonBackground_MouseOver"
Color="Blue" />-->
<LinearGradientBrush
x:Key="ViewModeButtonBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#147EC1"
Offset="1" />
<GradientStop
Color="#147EC1"
Offset="0" />
<GradientStop
Color="#147EC1"
Offset="0.43" />
<GradientStop
Color="#147EC1"
Offset="0.42" />
</LinearGradientBrush>
<!--<LinearGradientBrush
x:Key="ViewModeButtonBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="ViewModeButtonInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<!--<SolidColorBrush
x:Key="ViewModeButtonForeground_Pressed"
Color="#FF000000" />-->
<SolidColorBrush
x:Key="ViewModeButtonForeground_Pressed"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="ViewModeButtonOuterBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="ViewModeButtonBackground_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#147EC1"
Offset="0.996" />
<GradientStop
Color="#147EC1"
Offset="0.17" />
<GradientStop
Color="#147EC1"
Offset="0.57" />
<GradientStop
Color="#147EC1"
Offset="0.56" />
<GradientStop
Color="#147EC1"
Offset="0" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="ViewModeButtonInnerBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<ControlTemplate
x:Key="CalendarIcon"
TargetType="ContentControl">
<Grid>
<Path
x:Name="CalendarIconBackground"
Width="7"
Height="7"
Margin="0 1 0 0"
Stroke="{TemplateBinding Background}"
Data="M0,0.5 L7,0.5 M0,2.5 L7,2.5 M0,4.5 L7,4.5 M0,6.5 L7,6.5 M0.5,0 L0.5,7 M2.5,0 L2.5,7 M4.5,0 L4.5,7 M6.5,0 L6.5,7" />
<Path
x:Name="CalendarIconForeground"
Width="7"
Height="7"
Margin="0 0 0 1"
Stroke="{TemplateBinding Foreground}"
Data="M0,0.5 L7,0.5 M0,2.5 L7,2.5 M0,4.5 L7,4.5 M0,6.5 L7,6.5 M0.5,0 L0.5,7 M2.5,0 L2.5,7 M4.5,0 L4.5,7 M6.5,0 L6.5,7" />
</Grid>
</ControlTemplate>
<SolidColorBrush
x:Key="NavigationIntervalForegroundRear"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="NavigationIntervalForegroundFront"
Color="#FF000000" />
<!--GroupHeader-->
<SolidColorBrush
x:Key="GroupHeaderBorderBrush"
Color="Transparent" />
<SolidColorBrush
x:Key="GroupHeaderHeaderBackground"
Color="#FFB6D963" />
<SolidColorBrush
x:Key="GroupHeaderVerticalBorderBrush"
Color="#FFB3D0F3" />
<!--<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
<GradientStop
Color="#FFC6DFFF"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="GroupHeaderHeaderInnerBorder"
Color="#FFB6D963" />
<SolidColorBrush
x:Key="GroupHeaderHeaderOuterBorder"
Color="#FFB6D963" />
<SolidColorBrush
x:Key="GroupHeaderHeaderBackground_Vertical"
Color="#FFB6D963" />
<!--<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground_Vertical"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
<GradientStop
Color="#FFC6DFFF"
Offset="0.42" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="GroupHeaderHeaderInnerBorder_Vertical"
Color="#FFEFF6FF" />
<SolidColorBrush
x:Key="GroupHeaderHeaderOuterBorder_Vertical"
Color="#FF83A5D2" />
<SolidColorBrush
x:Key="MonthViewWeekHeaderBackground"
Color="#FFE2F0FD" />
<SolidColorBrush
x:Key="MonthViewWeekHeaderInnerBorder"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="MonthViewWeekHeaderOuterBorder"
Color="#FF83A5D2" />
<SolidColorBrush
x:Key="GroupHeaderBorderBrush_Today"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderInnerBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderOuterBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
<GradientStop
Color="#FF282828" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="GroupHeaderBorderBrush_VerticalToday"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="GroupHeaderHeaderBackground_VerticalToday"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderInnerBorder_VerticalToday"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GroupHeaderHeaderOuterBorder_VerticalToday"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
<GradientStop
Color="#FF282828" />
</LinearGradientBrush>
<Thickness
x:Key="HorizontalGroupHeaderTodayBorderThickness">2 0 2 2</Thickness>
<Thickness
x:Key="VerticalGroupHeaderTodayBorderThickness">0 2 2 2</Thickness>
<Thickness
x:Key="GroupHeaderTodayBorderThickness">2</Thickness>
<!--TimeRuler-->
<!--<SolidColorBrush
x:Key="TimeRulerGroupItemForeground"
Color="#FFFFFFFF" />-->
<SolidColorBrush
x:Key="TimeRulerMonthViewGroupItemStyleForeground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="TimeRulerMonthViewGroupItemStyleBackground"
Color="#147EC1" />
<SolidColorBrush
x:Key="TimeRulerGroupItemForeground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="TimeRulerItemMajorTickStroke"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerItemMinorTickStroke"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerItemMajorTickStroke_Vertical"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerItemMinorTickStroke_Vertical"
Color="DarkGray" />
<SolidColorBrush
x:Key="TimeRulerLineStroke"
Color="DarkGray" />
<Thickness
x:Key="TimeRulerItemMargin_Vertical">5 0</Thickness>
<Thickness
x:Key="TimeRulerItemPadding_Vertical">0</Thickness>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemOuterBorder"
Color="#FF83A5D2" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorder"
Color="#FFEFF6FF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF"
Offset="0" />
<GradientStop
Color="#FFD0E8FF"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_Normal"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_MouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_Today"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemForeground_TodayMouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="HorizontalBottomLevelTodayForeground"
Color="#FF000000" />
<SolidColorBrush
x:Key="CurrentTimeFill"
Color="#FFFFC92B" />
<!--MonthViewExpandButton-->
<SolidColorBrush
x:Key="MonthViewExpandIconStroke"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewExpandIconStroke_MouseOver"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewExpandIconStroke_Pressed"
Color="#FF000000" />
<SolidColorBrush
x:Key="MonthViewExpandOuterBorder"
Color="#00000000" />
<SolidColorBrush
x:Key="MonthViewExpandButtonBackground"
Color="#00000000" />
<SolidColorBrush
x:Key="MonthViewExpandInnerBorder"
Color="#00000000" />
<SolidColorBrush
x:Key="MonthViewExpandOuterBorder_MouseOver"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="MonthViewExpandButtonBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewExpandInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewExpandOuterBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewExpandButtonBackground_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFE9227"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74"
Offset="0" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewExpandInnerBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemOuterBorder_MouseOver"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemOuterBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorder_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_Pressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemOuterBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorder_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_Today"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemOuterBorder_TodayMouseOver"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorder_TodayMouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_TodayMouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemOuterBorder_TodayPressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF282828" />
<GradientStop
Color="#FF5F5F5F"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorder_TodayPressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackground_TodayPressed"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFFB062"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="MonthViewTimeRulerItemInnerBorderVertical_MouseOver"
Color="#FFFFFFFF" />
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackgroundVertical_MouseOver"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
<GradientStop
Color="#FFFFD25A"
Offset="0.43" />
<GradientStop
Color="#FFFEEBAE"
Offset="0.42" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemInnerBorderVertical_Pressed"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFB69A78" />
<GradientStop
Color="#FFFFE17A"
Offset="0.126" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="MonthViewTimeRulerItemBackgroundVertical_Pressed"
EndPoint="1,0.5"
StartPoint="0,0.5">
<GradientStop
Color="#FFFFD74E"
Offset="0.996" />
<GradientStop
Color="#FFFFDCAB"
Offset="0.17" />
<GradientStop
Color="#FFFE9227"
Offset="0.57" />
<GradientStop
Color="#FFFFD18F"
Offset="0.56" />
<GradientStop
Color="#FFFFBA74"
Offset="0" />
</LinearGradientBrush>
<!-- Appointment -->
<SolidColorBrush
x:Key="AppointmentItemBackground"
Color="#FFDFE1E7" />
<!--<LinearGradientBrush
x:Key="AppointmentItemBackground"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF" />
<GradientStop
Color="#FFCAE1FF"
Offset="1" />
</LinearGradientBrush>-->
<SolidColorBrush
x:Key="AppointmentItemInnerBorder"
Color="#FFFFFFFF" />
<!--<SolidColorBrush
x:Key="AppointmentItemOuterBorder"
Color="#FF83A5D2" />-->
<LinearGradientBrush
x:Key="AppointmentItemOuterBorder"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFEBF3FF" />
<GradientStop
Color="#FFCAE1FF"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="AppointmentItemBackground_MouseOver"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFFBA3"
Offset="1" />
<GradientStop
Color="#FFFFFBDA"
Offset="0" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentItemInnerBorder_MouseOver"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemOuterBorder_MouseOver"
Color="#FFFFC92B" />
<LinearGradientBrush
x:Key="AppointmentItemBackground_Selected"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFCE79F"
Offset="1" />
<GradientStop
Color="#FFFDD3A8" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentItemInnerBorder_Selected"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemOuterBorder_Selected"
Color="#FFFFC92B" />
<SolidColorBrush
x:Key="AppoinmtentItemBackground_ReadOnly"
Color="#99D0D8E2" />
<LinearGradientBrush
x:Key="AppointmentItemBackground_Drag"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#AAFFFFFF" />
<GradientStop
Color="#AAD4D4D4"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentItemInnerBorder_Drag"
Color="#AAFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemOuterBorder_Drag"
Color="#FF848484" />
<SolidColorBrush
x:Key="AppointmentItemResizeGripStroke"
Color="#FF444444" />
<SolidColorBrush
x:Key="AppointmentItemResizeGripBackground"
Color="#FFFFFFFF" />
<SolidColorBrush
x:Key="AppointmentItemDeleteIconStroke"
Color="#FF444444" />
<LinearGradientBrush
x:Key="AppointmentResizeCueBackground"
StartPoint="0.5,0"
EndPoint="0.5,1">
<GradientStop
Color="#88FDD3A8" />
<GradientStop
Color="#88FCE79F"
Offset="1" />
</LinearGradientBrush>
<SolidColorBrush
x:Key="AppointmentResizeCueBorderBrush"
Color="#FF83A5D2" />
<LinearGradientBrush
x:Key="AppointmentResizeCueTopLeftMarkStroke"
StartPoint="0 0"
EndPoint="1 1">
<GradientStop
Offset="0.33"
Color="#FF83A5D2" />
<GradientStop
Offset="1"
Color="#0083A5D2" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="AppointmentResizeCueBottomRightMarkStroke"
StartPoint="1 1"
EndPoint="0 0">
<GradientStop
Offset="0.33"
Color="#FF83A5D2" />
<GradientStop
Offset="1"
Color="#0083A5D2" />
</LinearGradientBrush>
<ImageSource
x:Key="AppointmentItem_Recurrence">/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png</ImageSource>
<ImageSource
x:Key="AppointmentItem_Exception">/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png</ImageSource>
<SolidColorBrush
x:Key="AppointmentItemIndicatorFill"
Color="#FF000000" />
<!-- Categories -->
<LinearGradientBrush
x:Key="RedCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFE8807D"
Offset="0" />
<GradientStop
Color="#FFF7D4D2"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="GreenCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF99CC66"
Offset="0" />
<GradientStop
Color="#FFCCFF99"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="BlueCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF6C92BF"
Offset="0" />
<GradientStop
Color="#FFC3D6EC"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="PurpleCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFB687B8"
Offset="0" />
<GradientStop
Color="#FFE9D7EB"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="YellowCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFFD351"
Offset="0" />
<GradientStop
Color="#FFFFFF99"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="OliveCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFA3AD70"
Offset="0" />
<GradientStop
Color="#FFE5F0CA"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="PinkCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFCE66A2"
Offset="0" />
<GradientStop
Color="#FFF8A2D3"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="OrangeCategoryBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFF57238"
Offset="0" />
<GradientStop
Color="#FFFFCC00"
Offset="1" />
</LinearGradientBrush>
<!-- Markers -->
<LinearGradientBrush
x:Key="FreeMarkerBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FF00C800"
Offset="0" />
<GradientStop
Color="#FF1E841E"
Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush
EndPoint="9,9"
x:Key="TentativeMarkerBrush"
StartPoint="2,2"
SpreadMethod="Repeat"
MappingMode="Absolute">
<GradientStop
Color="#FF05529D"
Offset="0" />
<GradientStop
Color="#FF05529D"
Offset="1" />
<GradientStop
Color="White"
Offset="0.25" />
<GradientStop
Color="#FF05529D"
Offset="0.5" />
<GradientStop
Color="White"
Offset="0.741" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="OutOfOfficeMarkerBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFF1A202"
Offset="1" />
<GradientStop
Color="#FFFFF502" />
</LinearGradientBrush>
<LinearGradientBrush
x:Key="BusyMarkerBrush"
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFFF0606" />
<GradientStop
Color="#FFBF0303"
Offset="1" />
</LinearGradientBrush>
<!-- HighlightItems -->
<!--<SolidColorBrush
x:Key="SpecialSlotBackground"
Color="#19153D6E" />-->
<SolidColorBrush
x:Key="SpecialSlotBackground"
Color="LightGray" />
<SolidColorBrush
x:Key="SpecialSlotBackgroundDragEligible"
Color="LightGreen" />
<SolidColorBrush
x:Key="SpecialSlotBackground_MouseOver"
Color="Green" />
<!--<SolidColorBrush
x:Key="SpecialSlotBackground_ReadOnly"
Color="#33153D6E" />-->
<SolidColorBrush
x:Key="SpecialSlotBackground_ReadOnly"
Color="LightGreen" />
<!--Dialogs-->
<!--<ImageSource
x:Key="EditAppointmentTemplate_Recurrence">/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/Recurrence.png</ImageSource>-->
<!-- DIALOGS >> -->
<!--EditAppointmentStyle-->
<tkScheduleView:ResourceTypeTemplateSelector
x:Key="ResourcesEditorItemTemplateSelector">
<tkScheduleView:ResourceTypeTemplateSelector.SingleSelectionTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="120" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<TextBlock
Text="{Binding ResourceType.DisplayName}"
Margin="6" />
<telerik:RadComboBox
Grid.Column="1"
Margin="3"
ItemsSource="{Binding ResourceItems}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearAllButtonContent}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
DisplayMemberPath="Resource.DisplayName"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
</DataTemplate>
</tkScheduleView:ResourceTypeTemplateSelector.SingleSelectionTemplate>
<tkScheduleView:ResourceTypeTemplateSelector.MultipleSelectionTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="120" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<TextBlock
Text="{Binding ResourceType.DisplayName}"
Margin="6" />
<telerik:RadComboBox
Grid.Column="1"
Margin="3"
ItemsSource="{Binding ResourceItems}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearAllButtonContent}"
SelectedIndex="{Binding SelectedIndex, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadComboBox.ItemContainerStyle>
<Style
TargetType="telerik:RadComboBoxItem">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<CheckBox
IsChecked="{Binding IsChecked, Mode=TwoWay}"
Content="{Binding Resource.DisplayName}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:RadComboBox.ItemContainerStyle>
<telerik:RadComboBox.SelectionBoxTemplate>
<DataTemplate>
<TextBlock
Text="{Binding Owner.CheckedItems, Converter={StaticResource ResourcesSeparatorConverter}}" />
</DataTemplate>
</telerik:RadComboBox.SelectionBoxTemplate>
</telerik:RadComboBox>
</Grid>
</DataTemplate>
</tkScheduleView:ResourceTypeTemplateSelector.MultipleSelectionTemplate>
</tkScheduleView:ResourceTypeTemplateSelector>
<DataTemplate
x:Key="TimeMarkerComboBoxItemContentTemplate">
<StackPanel
Orientation="Horizontal">
<Rectangle
Fill="{Binding TimeMarkerBrush}"
Margin="2 0"
Width="12"
Height="12" />
<TextBlock
telerik:LocalizationManager.ResourceKey="{Binding TimeMarkerName}"
Margin="2 0" />
</StackPanel>
</DataTemplate>
<DataTemplate
x:Key="CategoryComboBoxItemContentTemplate">
<StackPanel
Orientation="Horizontal">
<Rectangle
Fill="{Binding CategoryBrush}"
Margin="2 0"
Width="12"
Height="12" />
<TextBlock
Text="{Binding DisplayName}"
Margin="2 0" />
</StackPanel>
</DataTemplate>
<ControlTemplate
x:Key="EditAppointmentTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<telerik:RadToolBar
x:Name="AppointmentToolbar"
GripVisibility="Collapsed"
Grid.Row="0"
Margin="-1 -1 -1 3"
telerik:StyleManager.Theme="{StaticResource Theme}">
<!--<telerik:RadButton
x:Name="EditRecurrenceButton"
Command="tkScheduleView:RadScheduleViewCommands.EditRecurrenceRule"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
JN 03132012 will probably need to remove this button entirely but we'll see later-->
<telerik:RadButton
x:Name="EditRecurrenceButton"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<ToolTipService.ToolTip>
<ToolTip
telerik:LocalizationManager.ResourceKey="EditRecurrence"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<StackPanel
Orientation="Horizontal"
Margin="2 0">
<Image
Margin="2 0"
Stretch="None"
Source="{StaticResource EditAppointmentTemplate_Recurrence}" />
<TextBlock
Margin="4 0"
telerik:LocalizationManager.ResourceKey="EditRecurrence"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
</telerik:RadButton>
<!--<telerik:RadButton
x:Name="EditParentAppointmentButton"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Command="tkScheduleView:RadScheduleViewCommands.EditParentAppointment"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource BooleanToVisibilityConverter}}">-->
<telerik:RadButton
x:Name="EditParentAppointmentButton"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Visibility="{Binding CanEditParentAppointment, Converter={StaticResource BooleanToVisibilityConverter}}">
<ToolTipService.ToolTip>
<TextBlock
telerik:LocalizationManager.ResourceKey="EditParentAppointment"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<TextBlock
Margin="4 0"
telerik:LocalizationManager.ResourceKey="EditParentAppointment"
Foreground="{StaticResource RadScheduleForeground}" />
</telerik:RadButton>
<telerik:RadToolBarSeparator />
<TextBlock
x:Name="ShowAs"
telerik:LocalizationManager.ResourceKey="ShowAs"
Margin="1 0 1 1"
VerticalAlignment="Center"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadComboBox
x:Name="PART_TimeMarkers"
Margin="2 1"
Width="110"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
EmptyText="{Binding TimeMarkersEmptyText}"
ItemsSource="{Binding TimeMarkers}"
SelectedItem="{Binding Occurrence.Appointment.TimeMarker, Mode=TwoWay}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearSelectionButtonContent}"
ItemTemplate="{StaticResource TimeMarkerComboBoxItemContentTemplate}"
SelectionBoxTemplate="{StaticResource TimeMarkerComboBoxItemContentTemplate}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="PART_Categories"
Margin="2 1"
Width="120"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
EmptyText="{Binding CategoriesEmptyText}"
ItemsSource="{Binding Categories}"
SelectedItem="{Binding Occurrence.Appointment.Category, Mode=TwoWay}"
ClearSelectionButtonVisibility="Visible"
ClearSelectionButtonContent="{Binding ClearSelectionButtonContent}"
ItemTemplate="{StaticResource CategoryComboBoxItemContentTemplate}"
SelectionBoxTemplate="{StaticResource CategoryComboBoxItemContentTemplate}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadToggleButton
x:Name="HighImportaceButton"
Width="22"
Height="22"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsChecked="{Binding IsHighImportance, Mode=TwoWay}">
<ToolTipService.ToolTip>
<ToolTip
telerik:LocalizationManager.ResourceKey="HighImportance"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<StackPanel
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Path
Stretch="Fill"
Height="10"
HorizontalAlignment="Center"
Width="5.451"
Data="M200.39647,58.840393 C200.39337,58.336426 201.14566,57.683922 202.56244,57.684292 C204.06589,57.684685 204.73764,58.357765 204.72783,58.992363 C205.04649,61.795574 203.04713,64.181099 202.47388,66.133446 C201.93753,64.154961 199.9471,61.560352 200.39647,58.840393 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFFF0606"
Offset="0.609" />
<GradientStop
Color="#FFBF0303"
Offset="0.927" />
</LinearGradientBrush>
</Path.Fill>
</Path>
<Ellipse
Width="3"
Height="3"
HorizontalAlignment="Center">
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop
Color="#FFFF0606"
Offset="0" />
<GradientStop
Color="#FFBF0303"
Offset="1" />
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
</StackPanel>
</telerik:RadToggleButton>
<telerik:RadToggleButton
x:Name="LowImportaceButton"
Width="22"
Height="22"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsChecked="{Binding IsLowImportance, Mode=TwoWay}">
<ToolTipService.ToolTip>
<ToolTip
telerik:LocalizationManager.ResourceKey="LowImportance"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
<Path
Stretch="Fill"
Height="12"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="9"
Stroke="#FF0365A7"
Data="M222.40353,60.139881 L226.65768,60.139843 L226.63687,67.240196 L229.15347,67.240196 L224.37816,71.394943 L219.65274,67.240196 L222.37572,67.219345 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFBBE4FF" />
<GradientStop
Color="#FF024572"
Offset="0.836" />
<GradientStop
Color="#FF43ADF4"
Offset="0.466" />
</LinearGradientBrush>
</Path.Fill>
</Path>
</telerik:RadToggleButton>
</telerik:RadToolBar>
<Border
x:Name="AppointmentCategory"
Grid.Row="1"
Height="20"
Margin="6 6"
CornerRadius="3"
Background="{Binding SelectedItem.CategoryBrush, ElementName=PART_Categories}"
Visibility="{Binding SelectedItem, ElementName=PART_Categories,Converter={StaticResource NullToVisibilityConverter}}">
<TextBlock
Margin="6 0"
Text="{Binding SelectedItem.DisplayName, ElementName=PART_Categories}"
VerticalAlignment="Center" />
</Border>
<Grid
x:Name="Details"
Grid.Row="2"
Margin="6">
<Grid.Resources>
<telerik:InputMode
x:Key="RadDateTimePickerInputModeDatePicker">DatePicker</telerik:InputMode>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="120" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<TextBlock
Grid.Row="0"
Grid.Column="0"
Margin="6"
telerik:LocalizationManager.ResourceKey="Subject" />
<TextBox
Grid.Row="0"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="3"
IsReadOnly="{Binding IsReadOnly}"
Text="{Binding Occurrence.Appointment.Subject, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Grid.Row="1"
Grid.Column="0"
Margin="6"
telerik:LocalizationManager.ResourceKey="Body" />
<TextBox
Grid.Row="1"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="3"
Height="70"
IsReadOnly="{Binding IsReadOnly}"
VerticalAlignment="Stretch"
VerticalContentAlignment="Stretch"
VerticalScrollBarVisibility="Visible"
Text="{Binding Occurrence.Appointment.Body,ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"
TextWrapping="Wrap"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Grid.Row="2"
Grid.Column="0"
Margin="6"
telerik:LocalizationManager.ResourceKey="StartTime" />
<telerik:RadDateTimePicker
Grid.Row="2"
Grid.Column="1"
Margin="3"
IsReadOnly="{Binding IsReadOnly}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
SelectedValue="{Binding ActualStart, Mode=TwoWay, ValidatesOnDataErrors=true, NotifyOnValidationError=true}"
IsEnabled="{Binding IsNotRecurrent}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadDateTimePicker.InputMode>
<Binding
Path="IsAllDayEvent"
Converter="{StaticResource BoolToInputModeConverter}">
<Binding.ConverterParameter>
<telerik:InputMode>DatePicker</telerik:InputMode>
</Binding.ConverterParameter>
</Binding>
</telerik:RadDateTimePicker.InputMode>
</telerik:RadDateTimePicker>
<TextBlock
Grid.Row="3"
Grid.Column="0"
Margin="6"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="EndTime"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDateTimePicker
Grid.Row="3"
Grid.Column="1"
Margin="3"
IsReadOnly="{Binding IsReadOnly}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
SelectedValue="{Binding ActualEnd,ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}"
IsEnabled="{Binding IsNotRecurrent}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadDateTimePicker.InputMode>
<Binding
Path="IsAllDayEvent"
Converter="{StaticResource BoolToInputModeConverter}">
<Binding.ConverterParameter>
<telerik:InputMode>DatePicker</telerik:InputMode>
</Binding.ConverterParameter>
</Binding>
</telerik:RadDateTimePicker.InputMode>
</telerik:RadDateTimePicker>
<CheckBox
x:Name="AllDayEventCheckbox"
Grid.Row="4"
Grid.Column="1"
Margin="3"
VerticalAlignment="Center"
IsChecked="{Binding Path=IsAllDayEvent, Mode=TwoWay}"
IsEnabled="{Binding IsNotRecurrent}"
telerik:LocalizationManager.ResourceKey="AllDayEvent"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
<!-- Resource Editor -->
<Grid
Grid.Row="3"
Margin="3"
Visibility="{Binding ResourceTypesVisibility}">
<telerik:ItemsControl
x:Name="PART_Resources"
Margin="3"
IsTabStop="false"
BorderBrush="{x:Null}"
BorderThickness="0"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
ItemsSource="{Binding ResourceTypes}"
ItemTemplateSelector="{StaticResource ResourcesEditorItemTemplateSelector}"
Visibility="{Binding ResourceTypesVisibility}" />
<TextBlock
HorizontalAlignment="Center"
Text="You can only change the resources by opening the series"
Margin="3"
Visibility="{Binding ResourceTypesVisibility, Converter={StaticResource InvertedVisibilityConverter}}" />
</Grid>
<StackPanel
Grid.Row="4"
Margin="13 6"
HorizontalAlignment="Right"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
Command="telerik:WindowCommands.Confirm"
telerik:LocalizationManager.ResourceKey="Ok"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
<ToolTipService.ToolTip>
<TextBlock
telerik:LocalizationManager.ResourceKey="SaveAndClose"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</ToolTipService.ToolTip>
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
Command="telerik:WindowCommands.Cancel"
telerik:LocalizationManager.ResourceKey="Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
</ControlTemplate>
<Style
x:Key="EditAppointmentDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="560" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Template"
Value="{StaticResource EditAppointmentTemplate}" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel
Orientation="Horizontal"
MaxWidth="400"
HorizontalAlignment="Left">
<TextBlock
telerik:LocalizationManager.ResourceKey="Event"
Visibility="{Binding Occurrence.Appointment.IsAllDayEvent, Converter={StaticResource BooleanToVisibilityConverter}}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Appointment"
Visibility="{Binding Occurrence.Appointment.IsAllDayEvent, Converter={StaticResource InvertedBooleanToVisibilityConverter}}" />
<TextBlock
Text=" - " />
<TextBlock
x:Name="SubjectTextBlock"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="IconTemplate">
<Setter.Value>
<DataTemplate>
<Image
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png" />
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<!--EditRecurrenceStyle-->
<Style
x:Key="RepeatSelectionTabItemControlStyle"
TargetType="telerik:RadTabItem">
<Setter
Property="Margin"
Value="3" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadTabItem">
<RadioButton
IsChecked="{Binding IsSelected, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}">
<ContentPresenter
telerik:LocalizationManager.ResourceKey="{TemplateBinding Header}" />
</RadioButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="RepeatSelectionTabControlStyle"
TargetType="telerik:RadTabControl">
<Setter
Property="TabStripPlacement"
Value="Top" />
<Setter
Property="ItemContainerStyle"
Value="{StaticResource RepeatSelectionTabItemControlStyle}" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadTabControl">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<ItemsPresenter
Grid.Column="0"
Margin="3 6 30 6"
VerticalAlignment="Center" />
<telerik:RadTransitionControl
x:Name="ContentElement"
Grid.Column="1"
IsTabStop="False"
Duration="0:0:0.200"
Content="{TemplateBinding SelectedContent}"
ContentTemplate="{TemplateBinding SelectedContentTemplate}">
<telerik:RadTransitionControl.Transition>
<telerik:SlideAndZoomTransition />
</telerik:RadTransitionControl.Transition>
</telerik:RadTransitionControl>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
<Setter
Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<StackPanel />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
</Style>
<ControlTemplate
x:Key="EditRecurrenceTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<telerik:GroupBox
x:Name="StartEndTimes"
Margin="3"
telerik:LocalizationManager.ResourceKey="AppointmentTime"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid
HorizontalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
</Grid.ColumnDefinitions>
<telerik:Label
Grid.Row="0"
Grid.Column="0"
MinWidth="65"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=StartTimePicker}"
telerik:LocalizationManager.ResourceKey="StartColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDateTimePicker
x:Name="StartTimePicker"
Grid.Row="0"
Grid.Column="1"
Margin="3"
Width="120"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding Start, Mode=TwoWay}"
InputMode="TimePicker"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:Label
Grid.Row="1"
Grid.Column="0"
MinWidth="65"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=EndTimePicker}"
telerik:LocalizationManager.ResourceKey="EndColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDateTimePicker
x:Name="EndTimePicker"
Grid.Row="1"
Grid.Column="1"
Margin="3"
Width="120"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding End, Mode=TwoWay}"
InputMode="TimePicker"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:Label
Grid.RowSpan="2"
Grid.Column="2"
MinWidth="65"
VerticalAlignment="Center"
Margin="18 0 0 0"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=DurationPicker}"
telerik:LocalizationManager.ResourceKey="DurationColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<tkScheduleView:DurationPicker
x:Name="DurationPicker"
Grid.RowSpan="2"
Grid.Column="3"
Margin="3"
Width="120"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
VerticalAlignment="Center"
SelectedDuration="{Binding Path=Duration, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
</telerik:GroupBox>
<telerik:GroupBox
x:Name="RepeatsGroup"
Margin="3"
Grid.Row="1"
telerik:LocalizationManager.ResourceKey="RecurrencePattern"
telerik:StyleManager.Theme="{StaticResource Theme}">
<telerik:RadTabControl
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsDefaultItemSelected="False"
Style="{StaticResource RepeatSelectionTabControlStyle}">
<telerik:RadTabItem
x:Name="RepeatDaily"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Daily"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Daily;WeekDays, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="*" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<RadioButton
x:Name="DailyRB"
Margin="3"
VerticalAlignment="Center"
GroupName="DailyGroup"
telerik:LocalizationManager.ResourceKey="Every"
IsChecked="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Daily, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="DailyDetailsUpDown"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="999"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Days"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<RadioButton
x:Name="WorkdaysRB"
Grid.Row="1"
Margin="3"
VerticalAlignment="Center"
GroupName="DailyGroup"
telerik:LocalizationManager.ResourceKey="EveryWeekday"
IsChecked="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=WeekDays, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</Grid>
</telerik:RadTabItem>
<telerik:RadTabItem
x:Name="RepeatWeekly"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Weekly"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Weekly, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<telerik:Label
Margin="3"
VerticalAlignment="Center"
Target="{Binding ElementName=EveryWeekUpDown}"
telerik:LocalizationManager.ResourceKey="RecurEvery"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="EveryWeekUpDown"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="99"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadNumericUpDown>
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="WeeksOn"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<ItemsControl
Grid.Row="1"
ItemsSource="{Binding WeekDays}"
IsTabStop="False">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<telerik:RadUniformGrid
Rows="2" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<CheckBox
Margin="3 3 12 3"
Content="{Binding Name}"
IsChecked="{Binding IsSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</telerik:RadTabItem>
<telerik:RadTabItem
x:Name="RepeatMonthly"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Monthly"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Monthly;MonthlyNth, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="*" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<RadioButton
x:Name="MonthlyRB"
Margin="3"
VerticalAlignment="Center"
GroupName="MonthlyButtons"
telerik:LocalizationManager.ResourceKey="Day"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Monthly, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="MonthlyDetailsUpDown1"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="31"
Value="{Binding DayOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="OfEvery"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadNumericUpDown
Name="MonthlyDetailsUpDown2"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="99"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Months"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Orientation="Horizontal">
<RadioButton
x:Name="MonthlyNthRB"
Margin="3"
VerticalAlignment="Center"
GroupName="MonthlyButtons"
telerik:LocalizationManager.ResourceKey="The"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=MonthlyNth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
Margin="3"
VerticalAlignment="Center"
Width="70"
ItemsSource="{Binding WeekOfMonths}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding WeekOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NthRecurrenceDays}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding NthRecurrenceDay, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="OfEvery"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadNumericUpDown
Name="MonthlyDetailsUpDown3"
Margin="3"
VerticalAlignment="Center"
MinWidth="70"
IsInteger="True"
Maximum="99"
Value="{Binding Interval, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Months"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
</Grid>
</telerik:RadTabItem>
<telerik:RadTabItem
x:Name="RepeatYearly"
Style="{StaticResource RepeatSelectionTabItemControlStyle}"
Header="Yearly"
IsSelected="{Binding Path=RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Yearly;YearlyNth, Mode=TwoWay}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="50*" />
<RowDefinition
Height="50*" />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Orientation="Horizontal">
<RadioButton
x:Name="YearlyRB"
GroupName="YearlyGroup"
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Every"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=Yearly, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="YearlyDetails12"
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NamesOfMonths}"
DisplayMemberPath="Value"
SelectedValuePath="Key"
SelectedValue="{Binding MonthOfYear, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="YearlyDetailsUpDown3"
Margin="3"
VerticalAlignment="Center"
Width="70"
IsInteger="True"
Maximum="31"
Value="{Binding DayOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Orientation="Horizontal">
<RadioButton
x:Name="YearlyNthRB"
GroupName="YearlyGroup"
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="The"
IsChecked="{Binding RecurrenceType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=YearlyNth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="YearlyDetails21"
Margin="3"
VerticalAlignment="Center"
Width="80"
ItemsSource="{Binding WeekOfMonths}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding WeekOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadComboBox
x:Name="YearlyDetails22"
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NthRecurrenceDays}"
DisplayMemberPath="Name"
SelectedValuePath="Value"
SelectedValue="{Binding NthRecurrenceDay, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Of"
Foreground="{StaticResource RadScheduleForeground}" />
<telerik:RadComboBox
x:Name="YearlyDetails23"
Margin="3"
VerticalAlignment="Center"
Width="100"
ItemsSource="{Binding NamesOfMonths}"
DisplayMemberPath="Value"
SelectedValuePath="Key"
SelectedValue="{Binding MonthOfYear, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
</telerik:RadTabItem>
</telerik:RadTabControl>
</telerik:GroupBox>
<telerik:GroupBox
x:Name="RangeGroup"
Margin="3"
Grid.Row="2"
telerik:LocalizationManager.ResourceKey="RangeOfRecurrence"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="1*" />
<ColumnDefinition
Width="2*" />
</Grid.ColumnDefinitions>
<StackPanel
Grid.Column="0"
Orientation="Horizontal">
<telerik:Label
Margin="3"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Target="{Binding ElementName=StartDate}"
telerik:LocalizationManager.ResourceKey="StartColon"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadDatePicker
x:Name="StartDate"
Margin="3"
VerticalAlignment="Center"
Width="100"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding Start, Mode=TwoWay}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<telerik:RadUniformGrid
Grid.Column="1"
Columns="1">
<RadioButton
x:Name="NoEndDate"
Margin="3"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
telerik:LocalizationManager.ResourceKey="NoEndDate"
IsChecked="{Binding RecurrenceRangeType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=NoEndDate, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<StackPanel
Orientation="Horizontal">
<RadioButton
x:Name="EndAfter"
Margin="3"
MinWidth="100"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
telerik:LocalizationManager.ResourceKey="EndAfter"
IsChecked="{Binding Path=RecurrenceRangeType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=MaxOccurrences, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadNumericUpDown
x:Name="OccurencesUpDown"
Margin="3"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
IsInteger="True"
MinWidth="70"
Maximum="9999"
Value="{Binding MaxOccurrences, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<TextBlock
Margin="3"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="Occurrences"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
<StackPanel
Orientation="Horizontal">
<RadioButton
x:Name="EndBy"
Margin="3"
MinWidth="70"
VerticalAlignment="Center"
IsEnabled="{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
telerik:StyleManager.Theme="{StaticResource Theme}"
telerik:LocalizationManager.ResourceKey="EndBy"
IsChecked="{Binding Path=RecurrenceRangeType, Converter={StaticResource EnumToBoolConverter}, ConverterParameter=RepeatUntil, Mode=TwoWay}" />
<telerik:RadDatePicker
Margin="3"
VerticalAlignment="Center"
Width="120"
IsReadOnly="{Binding IsReadOnly}"
SelectedValue="{Binding RecursUntil, Mode=TwoWay}"
Culture="{Binding DefaultCulture,Source={StaticResource LocalizationManager}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</telerik:RadUniformGrid>
</Grid>
</telerik:GroupBox>
<StackPanel
x:Name="WindowButtons"
Grid.Row="3"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<!--<telerik:RadButton
x:Name="RemoveRecurrenceBtn"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="RemoveRecurrence"
Command="tkScheduleView:RadScheduleViewCommands.DeleteRecurrenceRule"
Visibility="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />-->
<telerik:RadButton
x:Name="RemoveRecurrenceBtn"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="RemoveRecurrence"
Visibility="{Binding IsEnabled, RelativeSource={RelativeSource Self}, Converter={StaticResource BooleanToVisibilityConverter}, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadButton
x:Name="OKButton"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadButton
x:Name="CancelButton"
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
</ControlTemplate>
<Style
x:Key="EditRecurrenceDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="550" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Template"
Value="{StaticResource EditRecurrenceTemplate}" />
<Setter
Property="IconTemplate">
<Setter.Value>
<DataTemplate>
<Image
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel
Orientation="Horizontal"
MaxWidth="450"
HorizontalAlignment="Left">
<TextBlock
telerik:LocalizationManager.ResourceKey="Event"
Visibility="{Binding Appointment.IsAllDayEvent, Converter={StaticResource BooleanToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Appointment"
Visibility="{Binding Appointment.IsAllDayEvent, Converter={StaticResource InvertedBooleanToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
Text=" - "
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
x:Name="SubjectTextBlock"
Text="{Binding Appointment.Subject}"
Visibility="{Binding Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
<TextBlock
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}"
Foreground="{StaticResource RadScheduleForeground}" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- DeleteAppointmentConfirmStyle-->
<ControlTemplate
x:Key="DeleteAppointmentConfirmTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<Grid>
<Image
Margin="15"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png" />
<TextBlock
Margin="85 15 15 15"
TextWrapping="Wrap"
VerticalAlignment="Center"
telerik:LocalizationManager.ResourceKey="DeleteItemQuestion" />
</Grid>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</StackPanel>
</ControlTemplate>
<Style
x:Key="DeleteAppointmentConfirmDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="300" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="DeleteItem" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource DeleteAppointmentConfirmTemplate}" />
</Style>
<!--RecurrenceChoiceStyle-->
<ControlTemplate
x:Key="RecurrenceChoiceTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<Grid>
<Image
Margin="15"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png" />
<StackPanel
Margin="85 15 15 15"
VerticalAlignment="Top">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="OpenOccurrence"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="OpenSeries"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<ControlTemplate
x:Key="RecurrenceChoiceDeletingTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<Grid>
<Image
Margin="15"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Stretch="None"
Source="/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png" />
<StackPanel
Margin="85 15 15 15"
VerticalAlignment="Top">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<RadioButton
Margin="3 9 3 3"
telerik:LocalizationManager.ResourceKey="DeleteOccurrence"
GroupName="RecurrenceModeChoiceDel"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="DeleteSeries"
GroupName="RecurrenceModeChoiceDel"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
</Grid>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<ControlTemplate
x:Key="RecurrenceChoiceResizeTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<StackPanel
Margin="15 15 15 15"
VerticalAlignment="Top">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<TextBlock
Margin="3"
telerik:LocalizationManager.ResourceKey="ResizeRecurringItemQuestion"
TextWrapping="Wrap" />
<RadioButton
Margin="3 9 3 3"
telerik:LocalizationManager.ResourceKey="ResizeOccurrence"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="ResizeSeries"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<ControlTemplate
x:Key="RecurrenceChoiceDragDropTemplate"
TargetType="tkScheduleView:SchedulerDialog">
<StackPanel>
<StackPanel
Margin="15 15 15 15">
<TextBlock
x:Name="SubjectTextBlock"
Margin="3"
Text="{Binding Occurrence.Appointment.Subject}"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}" />
<TextBlock
x:Name="Untitled"
Margin="3"
telerik:LocalizationManager.ResourceKey="Untitled"
Visibility="{Binding Occurrence.Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}" />
<TextBlock
Margin="3"
telerik:LocalizationManager.ResourceKey="DragRecurringItemQuestion"
TextWrapping="Wrap" />
<RadioButton
Margin="3 9 3 3"
telerik:LocalizationManager.ResourceKey="DragDropOccurrence"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<RadioButton
Margin="3"
telerik:LocalizationManager.ResourceKey="DragDropSeries"
GroupName="RecurrenceModeChoice"
IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</StackPanel>
<StackPanel
x:Name="FooterControls"
Grid.Row="2"
Margin="13 6"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Ok"
Command="telerik:WindowCommands.Confirm"
telerik:RadWindow.ResponseButton="Accept"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
<telerik:RadButton
Margin="2"
MinWidth="84"
telerik:LocalizationManager.ResourceKey="Cancel"
Command="telerik:WindowCommands.Cancel"
telerik:RadWindow.ResponseButton="Cancel"
telerik:StyleManager.Theme="{StaticResource Theme}">
</telerik:RadButton>
</StackPanel>
</StackPanel>
</ControlTemplate>
<Style
x:Key="RecurrenceChoiceDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="300" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceTemplate}" />
</Style>
<Style
x:Key="RecurrenceChoiceDeleteDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="300" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceDeletingTemplate}" />
</Style>
<Style
x:Key="RecurrenceChoiceResizeDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="350" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceResizeTemplate}" />
</Style>
<Style
x:Key="RecurrenceChoiceDragDropDialogStyle"
TargetType="tkScheduleView:SchedulerDialog">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Width"
Value="350" />
<Setter
Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<TextBlock
MaxWidth="200"
HorizontalAlignment="Left"
telerik:LocalizationManager.ResourceKey="AppointmentRecurrence" />
</DataTemplate>
</Setter.Value>
</Setter>
<Setter
Property="Template"
Value="{StaticResource RecurrenceChoiceDragDropTemplate}" />
</Style>
<!-- << DIALOGS -->
<!-- TimeRuler -->
<Style
x:Key="GoToDayButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="FontWeight"
Value="Bold" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="FontSize"
Value="9" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderOuterBorder}"
Background="{StaticResource GroupHeaderHeaderBackground}"
BorderThickness="0">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderThickness="0"
Padding="{TemplateBinding Padding}">
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
Margin="0,3,0,0"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Foreground="{TemplateBinding Foreground}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="GoToDayVerticalButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderOuterBorder_Vertical}"
Background="{StaticResource GroupHeaderHeaderBackground_Vertical}"
BorderThickness="1">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderBrush="{StaticResource GroupHeaderHeaderInnerBorder_Vertical}"
BorderThickness="1"
Padding="{TemplateBinding Padding}">
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
Margin="-2"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Foreground="{TemplateBinding Foreground}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="GoToDayTodayButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Today}" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="FontSize"
Value="9" />
<Setter
Property="FontWeight"
Value="Bold" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderBackground}"
Background="{StaticResource GroupHeaderHeaderBackground}"
BorderThickness="0">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackground_TodayPressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorder_TodayPressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderThickness="0"
Padding="{TemplateBinding Padding}">
<StackPanel>
<ContentPresenter
Margin="0,3,0,0" />
<Image
Name="imgCircleDay"
HorizontalAlignment="Left"
Margin="0,-21,0,0"
Stretch="Fill"
Width="22"
Source="/RAMWare.Controls.TimeAttendance.Silverlight;Component/Images/Circle_Today.png" />
</StackPanel>
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="GoToDayTodayVerticalButtonStyle"
TargetType="telerik:RadButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Today}" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Border
x:Name="OuterBorder"
BorderBrush="{StaticResource GroupHeaderHeaderOuterBorder_VerticalToday}"
Background="{StaticResource GroupHeaderHeaderBackground_VerticalToday}"
BorderThickness="1">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="OuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackgroundVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="InnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorderVertical_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="InnerBorder"
BorderBrush="{StaticResource GroupHeaderHeaderInnerBorder_VerticalToday}"
BorderThickness="1"
Padding="{TemplateBinding Padding}">
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
Margin="-2"
Foreground="{TemplateBinding Foreground}" />
</Border>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="ExpandMonthViewButtonStyle"
TargetType="telerik:RadToggleButton">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Margin"
Value="3 2 3 4" />
<Setter
Property="MinWidth"
Value="13" />
<Setter
Property="MinHeight"
Value="13" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadToggleButton">
<Grid
x:Name="Root">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Expand"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Collapse"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Expand"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Collapse"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewExpandIconStroke_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup
x:Name="CheckStates">
<VisualState
x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="Collapse"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="Expand"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Unchecked" />
<VisualState
x:Name="Indeterminate">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="Root"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
CornerRadius="1"
BorderThickness="1"
BorderBrush="{StaticResource MonthViewExpandOuterBorder}"
Background="{StaticResource MonthViewExpandButtonBackground}">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource MonthViewExpandInnerBorder}" />
</Border>
<Path
x:Name="Expand"
Data="M0,0 L7,0 L3.5,4 Z"
Fill="{StaticResource MonthViewExpandIconStroke}"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
<Path
x:Name="Collapse"
Visibility="Collapsed"
Data="M0,4 L7,4 L3.5,0 Z"
Fill="{StaticResource MonthViewExpandIconStroke}"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerGroupItemStyle"
TargetType="tkScheduleView:TimeRulerGroupItem">
<Setter
Property="Foreground"
Value="{StaticResource TimeRulerGroupItemForeground}" />
<Setter
Property="Background"
Value="{StaticResource GroupHeaderHeaderBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderHeaderOuterBorder}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="HorizontalContentAlignment"
Value="Left" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="Margin"
Value="0 0 -1 -1" />
<Setter
Property="Padding"
Value="4 2" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerGroupItem">
<telerik:RadButton
Style="{StaticResource GoToDayButtonStyle}"
Padding="{TemplateBinding Padding}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
x:Name="Content" />
</telerik:RadButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerGroupItemStyle_Vertical"
TargetType="tkScheduleView:TimeRulerGroupItem"
BasedOn="{StaticResource TimeRulerGroupItemStyle}">
<Setter
Property="Background"
Value="{StaticResource GroupHeaderHeaderBackground_Vertical}" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderHeaderOuterBorder_Vertical}" />
<Setter
Property="VerticalAlignment"
Value="Stretch" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="HorizontalContentAlignment"
Value="Left" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="Orientation"
Value="Vertical" />
<Setter
Property="Margin"
Value="0 0 -1 -1" />
<Setter
Property="Padding"
Value="2 4" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerGroupItem">
<telerik:RadButton
Style="{StaticResource GoToDayVerticalButtonStyle}"
Padding="{TemplateBinding Padding}"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
x:Name="Content" />
</telerik:RadButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MajorHorizontalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMajorTickStroke}" />
<Setter
Property="BorderThickness"
Value="1 0 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Border
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}">
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MinorHorizontalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMinorTickStroke}" />
<Setter
Property="BorderThickness"
Value="1 0 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Grid>
<Border
Height="5"
VerticalAlignment="Bottom"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}" />
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MajorVerticalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="FontSize"
Value="14" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMajorTickStroke_Vertical}" />
<Setter
Property="BorderThickness"
Value="0 1 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Right" />
<Setter
Property="Padding"
Value="3,0,23,0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Border
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}">
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MinorVerticalTimeRulerItemStyle"
TargetType="tkScheduleView:TimeRulerItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerItemMinorTickStroke_Vertical}" />
<Setter
Property="BorderThickness"
Value="0 1 0 0" />
<Setter
Property="VerticalContentAlignment"
Value="Top" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerItem">
<Grid>
<Border
Width="20"
HorizontalAlignment="Right"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}" />
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerLineStyle"
TargetType="tkScheduleView:TimeRulerLine">
<Setter
Property="BorderBrush"
Value="{StaticResource TimeRulerLineStroke}" />
<Setter
Property="Background"
Value="White" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerLine">
<Border
x:Name="LineVisual"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}"
BorderThickness="0 1 0 0">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="OrientationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="LineVisual"
Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Thickness>1 0 0 0</Thickness>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerMonthViewGroupItemStyle"
TargetType="tkScheduleView:TimeRulerMonthViewGroupItem">
<Setter
Property="Foreground"
Value="{StaticResource TimeRulerMonthViewGroupItemStyleForeground}" />
<Setter
Property="Background"
Value="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerMonthViewGroupItem">
<Border
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerMonthViewItemStyle"
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="Margin"
Value="0 -1 -1 0" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Grid>
<telerik:RadButton
Padding="0"
VerticalAlignment="Top"
Height="22"
Style="{StaticResource GoToDayButtonStyle}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
Margin="{TemplateBinding Padding}" />
</telerik:RadButton>
<telerik:RadToggleButton
Visibility="{Binding ExpandButtonVisibility}"
IsChecked="{Binding IsExpanded, Mode=TwoWay}"
Style="{StaticResource ExpandMonthViewButtonStyle}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="TimeRulerMonthViewTodayItemStyle"
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="Margin"
Value="0 -1 -1 0" />
<Setter
Property="Canvas.ZIndex"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:TimeRulerMonthViewItem">
<Grid>
<telerik:RadButton
Padding="0"
VerticalAlignment="Top"
Height="22"
Style="{StaticResource GoToDayTodayButtonStyle}"
Command="tkScheduleView:RadScheduleViewCommands.SetDayViewMode"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Content.DateTime.Date}">
<ContentPresenter
Margin="{TemplateBinding Padding}" />
</telerik:RadButton>
<telerik:RadToggleButton
Visibility="{Binding ExpandButtonVisibility}"
IsChecked="{Binding IsExpanded, Mode=TwoWay}"
Style="{StaticResource ExpandMonthViewButtonStyle}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<tkScheduleView:TimeRulerItemTemplateSelector
x:Key="TimeRulerItemTemplateSelector">
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2 1"
TextAlignment="Left" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2"
TextAlignment="Left" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2"
TextAlignment="Left" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate>
<DataTemplate>
<telerikPrimitives:LayoutTransformControl
VerticalAlignment="Top">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<TextBlock
Text="{Binding FormattedValue}"
Margin="2 1"
Height="16"
TextAlignment="Right" />
</telerikPrimitives:LayoutTransformControl>
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="0 2"
MinWidth="54"
TextAlignment="Right" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.MonthGroupTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="6 2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.MonthGroupTemplate>
<tkScheduleView:TimeRulerItemTemplateSelector.MonthItemTemplate>
<DataTemplate>
<TextBlock
Text="{Binding FormattedValue}"
Margin="6 2" />
</DataTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector.MonthItemTemplate>
</tkScheduleView:TimeRulerItemTemplateSelector>
<tkScheduleView:OrientedTimeRulerItemStyleSelector
x:Key="TimeRulerItemStyleSelector"
MonthViewGroupStyle="{StaticResource TimeRulerMonthViewGroupItemStyle}"
MonthViewTickStyle="{StaticResource TimeRulerMonthViewItemStyle}"
MonthViewTodayTickStyle="{StaticResource TimeRulerMonthViewTodayItemStyle}"
HorizontalGroupItemStyle="{StaticResource TimeRulerGroupItemStyle}"
VerticalGroupItemStyle="{StaticResource TimeRulerGroupItemStyle_Vertical}"
MajorHorizontalTickStyle="{StaticResource MajorHorizontalTimeRulerItemStyle}"
MajorVerticalTickStyle="{StaticResource MajorVerticalTimeRulerItemStyle}"
MinorHorizontalTickStyle="{StaticResource MinorHorizontalTimeRulerItemStyle}"
MinorVerticalTickStyle="{StaticResource MinorVerticalTimeRulerItemStyle}"
HorizontalLineStyle="{StaticResource TimeRulerLineStyle}"
VerticalLineStyle="{StaticResource TimeRulerLineStyle}">
</tkScheduleView:OrientedTimeRulerItemStyleSelector>
<!-- Group headers -->
<ControlTemplate
x:Key="GroupHeaderButtonControlTemplate"
TargetType="tkScheduleView:GroupHeaderButton">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="CommandMouseOver">
<!--<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverOuterBorderVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>-->
</VisualState>
<VisualState
x:Name="CommandPressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverOuterBorderVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverOuterBorderVisual"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MouseOverInnerBorderVisual"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource MonthViewTimeRulerItemInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup
x:Name="TodayStates">
<VisualState
x:Name="NotToday" />
<VisualState
x:Name="Today">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="TodayVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup
x:Name="OrientationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Visuals"
Storyboard.TargetProperty="LayoutTransform">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<RotateTransform
Angle="-90" />
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<telerik:LayoutTransformControl
x:Name="Visuals">
<Grid>
<Border
x:Name="OuterBorder"
BorderBrush="{TemplateBinding BorderBrush}"
Background="{TemplateBinding Background}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
x:Name="InnerBorder"
BorderBrush="{StaticResource MonthViewTimeRulerItemInnerBorder}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="TodayVisual"
Visibility="Collapsed"
BorderBrush="{StaticResource MonthViewTimeRulerItemOuterBorder_Today}"
Background="{StaticResource MonthViewTimeRulerItemBackground_Today}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
BorderBrush="{StaticResource MonthViewTimeRulerItemInnerBorder_Today}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="MouseOverOuterBorderVisual"
Visibility="Collapsed"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{StaticResource MonthViewTimeRulerItemBackground_MouseOver}">
<Border
x:Name="MouseOverInnerBorderVisual"
BorderThickness="{TemplateBinding BorderThickness}"
BorderBrush="{StaticResource MonthViewTimeRulerItemInnerBorder_MouseOver}" />
</Border>
</Grid>
</telerik:LayoutTransformControl>
<ContentControl
x:Name="Content"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="-1"
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
Foreground="{TemplateBinding Foreground}" />
</Grid>
</ControlTemplate>
<Style
x:Key="GroupHeaderButtonStyle"
TargetType="tkScheduleView:GroupHeaderButton">
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderHeaderOuterBorder}" />
<Setter
Property="Background"
Value="{StaticResource GroupHeaderHeaderBackground}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Foreground"
Value="{StaticResource MonthViewTimeRulerItemForeground_Normal}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Padding"
Value="0" />
<Setter
Property="Margin"
Value="0" />
<Setter
Property="Template"
Value="{StaticResource GroupHeaderButtonControlTemplate}" />
</Style>
<tkScheduleView:NullToBooleanConverter
x:Key="NullToBooleanConverter" />
<ControlTemplate
x:Key="GroupHeaderTemplate"
TargetType="tkScheduleView:GroupHeader">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="OrientationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="VerticalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<VerticalAlignment>Stretch</VerticalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="HorizontalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<HorizontalAlignment>Left</HorizontalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical" />
</VisualStateGroup>
<VisualStateGroup
x:Name="DayStates">
<VisualState
x:Name="NormalDay">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource TimeRulerItemMinorTickStroke_Vertical}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="1 0 0 0" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="NormalDayHorizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="VerticalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<VerticalAlignment>Stretch</VerticalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="HorizontalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<HorizontalAlignment>Left</HorizontalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Today">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource TimeRulerItemMinorTickStroke_Vertical}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Border"
Storyboard.TargetProperty="BorderThickness">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="1 0 0 0" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="TodayHorizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="VerticalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<VerticalAlignment>Stretch</VerticalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Header"
Storyboard.TargetProperty="HorizontalAlignment">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<HorizontalAlignment>Left</HorizontalAlignment>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="Border"
IsHitTestVisible="False"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
BorderThickness="1"
Background="{TemplateBinding Background}">
</Border>
<tkScheduleView:GroupHeaderButton
x:Name="Header"
VerticalAlignment="Top"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Command="{TemplateBinding Command}"
CommandParameter="{TemplateBinding CommandParameter}"
Orientation="{TemplateBinding Orientation}"
telerik:StyleManager.Theme="{StaticResource Theme}"
Foreground="{TemplateBinding Foreground}" />
</Grid>
</ControlTemplate>
<Style
x:Key="GroupHeaderBaseStyle"
TargetType="tkScheduleView:GroupHeader">
<Setter
Property="Foreground"
Value="{StaticResource TimeRulerGroupItemForeground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush}" />
<Setter
Property="Background"
Value="{x:Null}" />
<Setter
Property="BorderThickness"
Value="1,0,1,1" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
<Setter
Property="Template"
Value="{StaticResource GroupHeaderTemplate}" />
</Style>
<Style
x:Key="HorizontalGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="-1 0 0 0" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="HorizontalTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="-1 0 0 0" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
</Style>
<Style
x:Key="HorizontalBottomLevelGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="0 0 5 0" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="HorizontalBottomLevelTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 -1 0" />
<Setter
Property="Padding"
Value="1 0 5 0" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
<Setter
Property="Foreground"
Value="{StaticResource HorizontalBottomLevelTodayForeground}" />
</Style>
<Style
x:Key="VerticalGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 -1 0 0" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="VerticalTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
</Style>
<Style
x:Key="VerticalBottomLevelGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 0 0 5" />
<Setter
Property="Canvas.ZIndex"
Value="-2" />
</Style>
<Style
x:Key="VerticalBottomLevelTodayGroupHeaderStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 1 0 5" />
<Setter
Property="Canvas.ZIndex"
Value="-1" />
<Setter
Property="BorderBrush"
Value="{StaticResource GroupHeaderBorderBrush_Today}" />
</Style>
<Style
x:Key="MonthViewWeekGroupStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 -1 0 0" />
</Style>
<Style
x:Key="MonthViewBottomLevelWeekGroupStyle"
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}">
<Setter
Property="Margin"
Value="0 0 0 -1" />
<Setter
Property="Padding"
Value="0 21 0 18" />
<Setter
Property="MinHeight"
Value="85" />
</Style>
<tkScheduleView:OrientedGroupHeaderStyleSelector
x:Key="GroupHeaderStyleSelector"
HorizontalStyle="{StaticResource HorizontalGroupHeaderStyle}"
HorizontalTodayStyle="{StaticResource HorizontalTodayGroupHeaderStyle}"
HorizontalBottomLevelStyle="{StaticResource HorizontalBottomLevelGroupHeaderStyle}"
HorizontalTodayBottomLevelStyle="{StaticResource HorizontalBottomLevelTodayGroupHeaderStyle}"
VerticalStyle="{StaticResource VerticalGroupHeaderStyle}"
VerticalTodayStyle="{StaticResource VerticalTodayGroupHeaderStyle}"
VerticalBottomLevelStyle="{StaticResource VerticalBottomLevelGroupHeaderStyle}"
VerticalTodayBottomLevelStyle="{StaticResource VerticalBottomLevelTodayGroupHeaderStyle}"
MonthViewWeekGroupStyle="{StaticResource MonthViewWeekGroupStyle}"
MonthViewBottomLevelWeekGroupStyle="{StaticResource MonthViewBottomLevelWeekGroupStyle}">
</tkScheduleView:OrientedGroupHeaderStyleSelector>
<tkScheduleView:GroupHeaderTemplateSelector
x:Key="GroupHeaderContentTemplateSelector">
<tkScheduleView:GroupHeaderTemplateSelector.HorizontalTemplate>
<DataTemplate>
<StackPanel>
<ContentPresenter
Content="{Binding FormattedName}"
Height="16"
Margin="4" />
<Border
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}"
BorderThickness="1"
BorderBrush="DarkGray"
Height="22" />
</StackPanel>
</DataTemplate>
</tkScheduleView:GroupHeaderTemplateSelector.HorizontalTemplate>
<tkScheduleView:GroupHeaderTemplateSelector.VerticalTemplate>
<DataTemplate>
<Grid
Width="25"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}">
<Grid.RowDefinitions>
<RowDefinition
Height="21">
</RowDefinition>
<RowDefinition
Height="*">
</RowDefinition>
</Grid.RowDefinitions>
<Border
Grid.Row="0"
Background="{StaticResource GroupHeaderHeaderBackground}" />
<StackPanel
Grid.Row="1"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<telerikPrimitives:LayoutTransformControl>
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<TextBlock
FontSize="9"
Text="{Binding FormattedName}" />
</telerikPrimitives:LayoutTransformControl>
</StackPanel>
</Grid>
</DataTemplate>
</tkScheduleView:GroupHeaderTemplateSelector.VerticalTemplate>
</tkScheduleView:GroupHeaderTemplateSelector>
<!-- AppointmentItem -->
<ControlTemplate
x:Key="AppointmentItemHorizontalControlTemplate"
TargetType="tkScheduleView:AppointmentItem">
<Grid
x:Name="Root">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Disabled" />
<VisualState
x:Name="Normal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.200"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.200">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.0"
Duration="0:0:0.200"
To="0"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.400"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.200"
Duration="0:0:0.200"
To="1"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="ReadOnly">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="ReadOnlyVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="InlineEditing" />
</VisualStateGroup>
<VisualStateGroup
x:Name="SelectionStates">
<VisualState
x:Name="Unselected" />
<VisualState
x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemBackground_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemOuterBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisualInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemInnerBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<!-- small appointment rending visual-->
<Border
x:Name="DurationMarkerVisual"
Visibility="{TemplateBinding DurationMarkerVisibility}"
Margin="{TemplateBinding DurationMarkerMargin}">
<Border
Background="{StaticResource AppointmentItemOuterBorder}"
Margin="0 0 0 -1"
CornerRadius="1 1 0 0"
Height="4" />
</Border>
<Grid
Grid.Row="1">
<!--JN 03132012 remove button functionality to use our own<?SILVERLIGHT BEGIN?>
<telerik:CommandManager.InputBindings>
<telerik:InputBindingCollection>
<telerik:MouseBinding
Gesture="LeftDoubleClick"
Command="tkScheduleView:RadScheduleViewCommands.EditAppointment" />
</telerik:InputBindingCollection>
</telerik:CommandManager.InputBindings>
<?SILVERLIGHT END?>-->
<Border
CornerRadius="2"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="CommonStatesVisual"
Visibility="Collapsed"
CornerRadius="2"
Background="{StaticResource AppointmentItemBackground_MouseOver}"
BorderBrush="{StaticResource AppointmentItemOuterBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
x:Name="CommonStatesVisualInnerBorder"
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="PART_Category"
Margin="2"
Background="{Binding Path=Category.CategoryBrush}" />
<Rectangle
x:Name="ReadOnlyVisual"
Margin="2"
Visibility="Collapsed"
Fill="{StaticResource AppoinmtentItemBackground_ReadOnly}" />
<Grid
Margin="2">
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="Auto" />
</Grid.ColumnDefinitions>
<Border
x:Name="PART_TimeMarker"
Grid.Column="0"
Width="5"
HorizontalAlignment="Left"
Background="{Binding Path=TimeMarker.TimeMarkerBrush}"
Visibility="{Binding Path=TimeMarker, Converter={StaticResource NullToVisibilityConverter}}" />
<Path
Grid.Column="1"
Data="M-919.69031,2003.9496 L-919.69031,2010.7375 L-923.7619,2007.4564 z"
Fill="{StaticResource AppointmentItemIndicatorFill}"
Margin="4 0 2 0"
HorizontalAlignment="Left"
Height="7"
Stretch="Fill"
VerticalAlignment="Center"
Width="4"
Visibility="{TemplateBinding StartIndicatorVisibility}" />
<StackPanel
Grid.Column="2"
VerticalAlignment="Top"
Margin="0 3 0 0">
<Image
x:Name="RecurrenceMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsExeptionToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Recurrence}" />
<Image
x:Name="ExceptionMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsOccurenceToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Exception}" />
</StackPanel>
<ContentPresenter
Grid.Column="3"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
<Path
Grid.Column="4"
Data="M1109.0469,332.70313 L1113.0469,336.29663 L1109.0469,339.68823 z"
Margin="2 0 4 0"
Fill="{StaticResource AppointmentItemIndicatorFill}"
HorizontalAlignment="Right"
Height="6.984"
Stretch="Fill"
VerticalAlignment="Center"
Width="4"
Visibility="{TemplateBinding EndIndicatorVisibility}" />
</Grid>
<Grid
x:Name="MouseOverOverlay"
Visibility="Collapsed"
Opacity="0">
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
Cursor="SizeWE"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
Cursor="SizeWE"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="StartResizeGrip"
Margin="1"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Right"
VerticalAlignment="Stretch"
Cursor="SizeWE"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Right"
VerticalAlignment="Stretch"
Cursor="SizeWE"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="EndResizeGrip"
Margin="1"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Command="tkScheduleView:RadScheduleViewCommands.DeleteAppointment"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Path
Stroke="{StaticResource AppointmentItemDeleteIconStroke}"
Data="M0,0 L5,5 M5,0 L0,5" />
</telerik:RadButton>-->
</Grid>
</Grid>
</Grid>
</ControlTemplate>
<ControlTemplate
x:Key="AppointmentItemVerticalControlTemplate"
TargetType="tkScheduleView:AppointmentItem">
<Grid
x:Name="Root">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Disabled" />
<VisualState
x:Name="Normal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.200"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.200">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.0"
Duration="0:0:0.200"
To="0"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.400"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation
BeginTime="0:0:0.200"
Duration="0:0:0.200"
To="1"
Storyboard.TargetName="MouseOverOverlay"
Storyboard.TargetProperty="Opacity" />
</Storyboard>
</VisualState>
<VisualState
x:Name="ReadOnly">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0.0"
Storyboard.TargetName="ReadOnlyVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0.0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="InlineEditing" />
</VisualStateGroup>
<VisualStateGroup
x:Name="SelectionStates">
<VisualState
x:Name="Unselected" />
<VisualState
x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemBackground_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisual"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemOuterBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Duration="0:0:0"
Storyboard.TargetName="CommonStatesVisualInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource AppointmentItemInnerBorder_Selected}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<!-- small appointment rending visual-->
<Border
x:Name="DurationMarkerVisual"
Visibility="{TemplateBinding DurationMarkerVisibility}"
Margin="{TemplateBinding DurationMarkerMargin}">
<Border
Background="{StaticResource AppointmentItemOuterBorder}"
Margin="0 0 -1 0"
CornerRadius="1 0 0 1"
Width="4" />
</Border>
<Grid
Grid.Column="1">
<!--JN -03132012 removing button functionality to use our own<?SILVERLIGHT BEGIN?>
<telerik:CommandManager.InputBindings>
<telerik:InputBindingCollection>
<telerik:MouseBinding
Gesture="LeftDoubleClick"
Command="tkScheduleView:RadScheduleViewCommands.EditAppointment" />
</telerik:InputBindingCollection>
</telerik:CommandManager.InputBindings>
<?SILVERLIGHT END?>-->
<Border
CornerRadius="2"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="CommonStatesVisual"
Visibility="Collapsed"
CornerRadius="2"
Background="{StaticResource AppointmentItemBackground_MouseOver}"
BorderBrush="{StaticResource AppointmentItemOuterBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
x:Name="CommonStatesVisualInnerBorder"
CornerRadius="1"
BorderBrush="{StaticResource AppointmentItemInnerBorder_MouseOver}"
BorderThickness="{TemplateBinding BorderThickness}" />
</Border>
<Border
x:Name="PART_Category"
Margin="2"
Background="{Binding Path=Category.CategoryBrush}" />
<Rectangle
x:Name="ReadOnlyVisual"
Margin="2"
Visibility="Collapsed"
Fill="{StaticResource AppoinmtentItemBackground_ReadOnly}" />
<Grid
Margin="2">
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<Border
x:Name="PART_TimeMarker"
Grid.Column="0"
Grid.RowSpan="3"
Width="5"
HorizontalAlignment="Left"
Background="{Binding Path=TimeMarker.TimeMarkerBrush}"
Visibility="{Binding Path=TimeMarker, Converter={StaticResource NullToVisibilityConverter}}" />
<Path
Grid.ColumnSpan="3"
Grid.Row="0"
Data="M3.5,0 L7,4 L0,4 z"
Fill="{StaticResource AppointmentItemIndicatorFill}"
Margin="2 4 2 2"
Height="4"
Width="7"
VerticalAlignment="Top"
Stretch="Fill"
HorizontalAlignment="Center"
Visibility="{TemplateBinding StartIndicatorVisibility}" />
<StackPanel
Grid.Column="1"
Grid.Row="1"
VerticalAlignment="Top"
Margin="0 3 0 0">
<Image
x:Name="RecurrenceMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsExeptionToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Recurrence}" />
<Image
x:Name="ExceptionMark"
Grid.Column="0"
Margin="2 1 1 0"
Width="10"
Height="10"
Visibility="{Binding Path=RecurrenceState, Converter={StaticResource RecurrenceStateIsOccurenceToVisibilityConverter}}"
HorizontalAlignment="Left"
Source="{StaticResource AppointmentItem_Exception}" />
</StackPanel>
<ContentPresenter
Grid.Column="2"
Grid.Row="1"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
<Path
Grid.ColumnSpan="3"
Grid.Row="2"
Data="M7,0 L3.5,4 L0,0 z"
Height="4"
Width="7"
Stretch="Fill"
Fill="{StaticResource AppointmentItemIndicatorFill}"
Margin="2 2 2 4"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"
Visibility="{TemplateBinding EndIndicatorVisibility}" />
</Grid>
<Grid
x:Name="MouseOverOverlay"
Visibility="Collapsed"
Opacity="0">
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Cursor="SizeNS"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_StartResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Top"
Cursor="SizeNS"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="StartResizeGrip"
Margin="1"
Orientation="Horizontal"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Bottom"
Cursor="SizeNS"
dragDrop:DragDropManager.AllowDrag="True"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">-->
<!--<Border
x:Name="PART_EndResizeGrip"
Background="Transparent"
HorizontalAlignment="Stretch"
VerticalAlignment="Bottom"
Cursor="SizeNS"
Visibility="{Binding IsAllDay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedBooleanToVisibilityConverter}}">
<StackPanel
x:Name="EndResizeGrip"
Margin="1"
Orientation="Horizontal"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
<Border
Background="{StaticResource AppointmentItemResizeGripBackground}"
BorderBrush="{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness="0,0,1,1"
Width="3"
Height="3"
Margin="1" />
</StackPanel>
</Border>-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Command="tkScheduleView:RadScheduleViewCommands.DeleteAppointment"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">-->
<!--<telerik:RadButton
x:Name="DeleteButton"
Width="11"
Height="11"
Margin="5 5 6 5"
Padding="0"
HorizontalAlignment="Right"
VerticalAlignment="Top"
ClickMode="Press"
CommandParameter="{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility="{Binding RelativeSource={RelativeSource Self}, Path=IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop="False"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Path
Stroke="{StaticResource AppointmentItemDeleteIconStroke}"
Data="M0,0 L5,5 M5,0 L0,5" />
</telerik:RadButton>-->
</Grid>
</Grid>
</Grid>
</ControlTemplate>
<!--<DataTemplate
x:Key="AppointmentItemTemplate">
<TextBlock
Text="{Binding Subject}"
TextWrapping="Wrap"
TextTrimming="WordEllipsis"
dragDrop:DragDropManager.AllowDrag="False" />-->
<DataTemplate
x:Key="AppointmentItemTemplate">
<TextBlock
Text="{Binding Subject}"
TextWrapping="Wrap"
TextTrimming="WordEllipsis" />
</DataTemplate>
<DataTemplate
x:Key="InlineEditTemplate">
<TextBox
VerticalContentAlignment="Stretch"
VerticalAlignment="Stretch"
Text="{Binding Appointment.Subject, Mode=TwoWay}"
TextWrapping="Wrap"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</DataTemplate>
<DataTemplate
x:Key="ToolTipTemplate">
<StackPanel
Visibility="Collapsed"
Orientation="Horizontal">
<StackPanel
x:Name="HighImportanceMark"
Grid.Column="1"
VerticalAlignment="Top"
Visibility="{Binding Importance, Converter={StaticResource EnumToVisibilityConverter}, ConverterParameter=High}"
Margin="0 1 3 1">
<Path
Stretch="Fill"
Width="5.451"
Height="10"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Data="M200.39647,58.840393 C200.39337,58.336426 201.14566,57.683922 202.56244,57.684292 C204.06589,57.684685 204.73764,58.357765 204.72783,58.992363 C205.04649,61.795574 203.04713,64.181099 202.47388,66.133446 C201.93753,64.154961 199.9471,61.560352 200.39647,58.840393 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFFF0606"
Offset="0.609" />
<GradientStop
Color="#FFBF0303"
Offset="0.927" />
</LinearGradientBrush>
</Path.Fill>
</Path>
<Ellipse
Height="3"
HorizontalAlignment="Center"
Margin="0,-1,0,0"
VerticalAlignment="Top"
Width="3">
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop
Color="#FFFF0606"
Offset="0" />
<GradientStop
Color="#FFBF0303"
Offset="1" />
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
</StackPanel>
<Path
x:Name="LowImportanceMark"
Margin="0 1 3 1"
Grid.Column="1"
Width="9"
Height="12"
VerticalAlignment="Top"
Stretch="Fill"
Stroke="#FF0365A7"
Visibility="{Binding Importance, Converter={StaticResource EnumToVisibilityConverter}, ConverterParameter=Low}"
Data="M222.40353,60.139881 L226.65768,60.139843 L226.63687,67.240196 L229.15347,67.240196 L224.37816,71.394943 L219.65274,67.240196 L222.37572,67.219345 z">
<Path.Fill>
<LinearGradientBrush
EndPoint="1.059,0.375"
StartPoint="-0.457,0.519">
<GradientStop
Color="#FFBBE4FF" />
<GradientStop
Color="#FF024572"
Offset="0.836" />
<GradientStop
Color="#FF43ADF4"
Offset="0.466" />
</LinearGradientBrush>
</Path.Fill>
</Path>
<TextBlock
Text="{Binding Subject}"
TextWrapping="Wrap"
MaxWidth="200" />
</StackPanel>
</DataTemplate>
<tkScheduleView:AppointmentItemContentTemplateSelector
x:Key="AppointmentItemTemplateSelector"
DefaultTemplate="{StaticResource AppointmentItemTemplate}" />
<Style
x:Key="AppointmentItemBaseStyle"
TargetType="tkScheduleView:AppointmentItem">
<Setter
Property="Background"
Value="{StaticResource AppointmentItemBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource AppointmentItemOuterBorder}" />
<Setter
Property="HorizontalContentAlignment"
Value="Stretch" />
<Setter
Property="VerticalContentAlignment"
Value="Stretch" />
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Padding"
Value="2 0 0 0" />
<Setter
Property="ContentTemplate"
Value="{StaticResource AppointmentItemTemplate}" />
<Setter
Property="Template"
Value="{StaticResource AppointmentItemHorizontalControlTemplate}" />
<Setter
Property="Canvas.ZIndex"
Value="1" />
</Style>
<tkScheduleView:OrientedAppointmentItemStyleSelector
x:Key="AppointmentItemStyleSelector">
<tkScheduleView:OrientedAppointmentItemStyleSelector.MonthViewStyle>
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}">
<Setter
Property="Margin"
Value="2 20 2 -16" />
</Style>
</tkScheduleView:OrientedAppointmentItemStyleSelector.MonthViewStyle>
<tkScheduleView:OrientedAppointmentItemStyleSelector.HorizontalStyle>
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}">
<Setter
Property="Margin"
Value="0 1 0 0" />
</Style>
</tkScheduleView:OrientedAppointmentItemStyleSelector.HorizontalStyle>
<tkScheduleView:OrientedAppointmentItemStyleSelector.VerticalStyle>
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}">
<Setter
Property="Template"
Value="{StaticResource AppointmentItemVerticalControlTemplate}" />
<Setter
Property="Margin"
Value="1 0 0 0" />
</Style>
</tkScheduleView:OrientedAppointmentItemStyleSelector.VerticalStyle>
</tkScheduleView:OrientedAppointmentItemStyleSelector>
<DataTemplate
x:Key="DragVisualCueItemTemplate">
<Grid>
<Border
Background="{StaticResource AppointmentItemBackground_Drag}"
BorderBrush="{StaticResource AppointmentItemOuterBorder_Drag}"
BorderThickness="1"
CornerRadius="2">
<Border
BorderBrush="{StaticResource AppointmentItemInnerBorder_Drag}"
BorderThickness="1" />
</Border>
<TextBlock
Margin="8 2 8 2"
Text="{Binding Subject}"
Foreground="{StaticResource RadScheduleForeground}"
TextWrapping="Wrap"
TextTrimming="WordEllipsis" />
</Grid>
</DataTemplate>
<!-- Highlights -->
<Style
x:Key="HighlightItemStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground}" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:HighlightItem">
<Border
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}">
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="HighlightItemStyle_DragDefault"
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground}" />
</Style>
<Style
x:Key="HighlightItemStyle_DragMouseOver"
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<!--<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground_MouseOver}" />-->
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:HighlightItem">
<Border
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}">
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="ResizeHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_DragOver}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_DragOver}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Border
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Grid>
<Border
BorderBrush="{StaticResource DecorationRectangleInnerBorder_DragOver}"
BorderThickness="1" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Stroke="{StaticResource AppointmentResizeCueTopLeftMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="2 2" />
<LineGeometry
StartPoint="3 3"
EndPoint="8 8" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="StartTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Text="{Binding ActualStart,StringFormat=t}" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Stroke="{StaticResource AppointmentResizeCueBottomRightMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="6 6" />
<LineGeometry
StartPoint="0 0"
EndPoint="5 5" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="EndTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Text="{Binding ActualEnd,StringFormat=t}" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="DragDropHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_DragOver}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_DragOver}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Border
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Grid>
<Border
BorderBrush="{StaticResource DecorationRectangleInnerBorder_DragOver}"
BorderThickness="1" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Stroke="{StaticResource AppointmentResizeCueTopLeftMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="2 2" />
<LineGeometry
StartPoint="3 3"
EndPoint="8 8" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="StartTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Text="{Binding ActualStart,StringFormat=t}" />
<Path
Width="8"
Height="8"
Margin="-2"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Stroke="{StaticResource AppointmentResizeCueBottomRightMarkStroke}">
<Path.Data>
<GeometryGroup>
<EllipseGeometry
RadiusX="2"
RadiusY="2"
Center="6 6" />
<LineGeometry
StartPoint="0 0"
EndPoint="5 5" />
</GeometryGroup>
</Path.Data>
</Path>
<TextBlock
x:Name="EndTextBox"
Margin="4 2"
Foreground="{StaticResource RadScheduleForeground}"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Text="{Binding ActualEnd,StringFormat=t}" />
</Grid>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="MouseOverHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<!--JN 040402012 removing this stuff to take out the highlighting on mouse over-->
<!--<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_MouseOver}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_MouseOver}" />-->
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<!--<Border
Background="#FFE7F1CC"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<Border
BorderBrush="{StaticResource DecorationRectangleInnerBorder_MouseOver}"
BorderThickness="1" />
</Border>-->
<Border
Background="#FFE7F1CC"
BorderBrush="Transparent"
BorderThickness="1">
<Border
Background="#FFE7F1CC"
BorderBrush="Transparent"
BorderThickness="1" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="SelectionHighlightStyle"
TargetType="tkScheduleView:HighlightItem">
<Setter
Property="Background"
Value="{StaticResource DecorationRectangleBackground_Selected}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DecorationRectangleOuterBorder_Selected}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Border
Background="#FFE7F1CC"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<tkScheduleView:SpecialSlotStyleSelector
x:Key="SpecialSlotStyleSelector">
<tkScheduleView:SpecialSlotStyleSelector.DefaultStyle>
<Style
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground}" />
</Style>
</tkScheduleView:SpecialSlotStyleSelector.DefaultStyle>
<tkScheduleView:SpecialSlotStyleSelector.ReadOnlyStyle>
<Style
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}">
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Background"
Value="{StaticResource SpecialSlotBackground_ReadOnly}" />
</Style>
</tkScheduleView:SpecialSlotStyleSelector.ReadOnlyStyle>
</tkScheduleView:SpecialSlotStyleSelector>
<!-- ViewModeSelection -->
<Style
x:Key="ViewModeSelectionListBoxItemStyle"
TargetType="ListBoxItem">
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Margin"
Value="4,0,0,-7" />
<Setter
Property="FontSize"
Value="10" />
<Setter
Property="Padding"
Value="2,10,2,10" />
<Setter
Property="Foreground"
Value="{StaticResource ViewModeButtonForeground}" />
<Setter
Property="HorizontalContentAlignment"
Value="Center" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="ListBoxItem">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="(ContentControl.Foreground)">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonForeground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>-->
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>-->
</Storyboard>
</VisualState>
<VisualState
x:Name="Selected">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Content"
Storyboard.TargetProperty="(ContentControl.Foreground)">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonForeground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>-->
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>-->
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
CornerRadius="5"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
Background="#89BEBD">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource ViewModeButtonInnerBorder}" />
</Border>
<ContentControl
x:Name="Content"
Foreground="{TemplateBinding Foreground}"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Margin="{TemplateBinding Padding}"
telerik:LocalizationManager.ResourceKey="{Binding Title}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="ViewModeSelectionListBoxStyle"
TargetType="ListBox">
<Setter
Property="BorderBrush"
Value="{x:Null}" />
<Setter
Property="Background"
Value="{x:Null}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Margin"
Value="2" />
<Setter
Property="IsTabStop"
Value="False" />
<Setter
Property="ItemContainerStyle"
Value="{StaticResource ViewModeSelectionListBoxItemStyle}" />
<Setter
Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<telerikPrimitives:RadUniformGrid
Rows="1" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- ScheduleView -->
<!-- Navigation -->
<Style
x:Key="NavigationButtonBaseStyle"
TargetType="FrameworkElement">
<Setter
Property="Margin"
Value="2" />
<Setter
Property="Width"
Value="22" />
<Setter
Property="Height"
Value="22" />
<Setter
Property="HorizontalAlignment"
Value="Center" />
<Setter
Property="VerticalAlignment"
Value="Center" />
</Style>
<Style
x:Key="NavigationButtonBackStyle"
TargetType="telerik:RadButton"
BasedOn="{StaticResource NavigationButtonBaseStyle}">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Grid>
<Border
x:Name="silver_normal"
VerticalAlignment="Stretch"
Width="20"
Height="20"
Background="#FFFFFFFF"
BorderBrush="#FF9199A4"
BorderThickness="1"
CornerRadius="11">
<Border
x:Name="Chevron"
Margin="1"
CornerRadius="10">
<Border.Background>
<LinearGradientBrush
EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop
Color="#FFDADAE8"
Offset="1" />
<GradientStop
Color="#FFFFFFFF"
Offset="0" />
<GradientStop
Color="#FFB3B9CC"
Offset="0.51" />
<GradientStop
Color="#FFDADCEB"
Offset="0.5" />
</LinearGradientBrush>
</Border.Background>
<Path
Fill="#FF000000"
Stretch="Fill"
Stroke="{x:Null}"
Margin="3,3,3,3"
Data="M4.0000001,0 L5,0 5,1 5,2 4.0000001,2 4.0000001,3 3.0000001,3 3.0000001,4 4.0000001,4 5,4 6,4 7,4 8,4 9,4 10,4 10,5 9,5 8,5 7,5 6,5 5,5 4.0000001,5 3.0000001,5 3.0000001,6
4.0000001,6 4.0000001,7 5,7 5,7.9999999 5,9 4.0000001,9 4.0000001,7.9999999 3.0000001,7.9999999 3.0000001,7 2,7 2,6 1,6 1,5 0,5 0,4 1,4 1,3 2,3 2,2 3,2 3,1 4.0000001,1 z" />
</Border>
</Border>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<!--<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
CornerRadius="1"
BorderThickness="1"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
Background="{StaticResource ViewModeButtonBackground}">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource ViewModeButtonInnerBorder}" />
</Border>
<Path
x:Name="IconBackground"
Width="4"
Height="7"
Margin="0 1 0 0"
Fill="{StaticResource NavigationIconBackground_Normal}"
Data="M4,0 L0,3.5 4,7 Z" />
<Path
x:Name="IconForeground"
Width="4"
Height="7"
Margin="0 0 0 1"
Fill="{StaticResource NavigationIconForeground_Normal}"
Data="M4,0 L0,3.5 4,7 Z" />-->
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationButtonNextStyle"
TargetType="telerik:RadButton"
BasedOn="{StaticResource NavigationButtonBaseStyle}">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadButton">
<Grid>
<telerikPrimitives:LayoutTransformControl
VerticalAlignment="Top">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-180" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<Border
x:Name="silver_normal_next"
VerticalAlignment="Stretch"
Width="20"
Height="20"
Background="#FFFFFFFF"
BorderBrush="#FF9199A4"
BorderThickness="1"
CornerRadius="11">
<Border
x:Name="Chevron_next"
Margin="1"
CornerRadius="10">
<Border.Background>
<LinearGradientBrush
EndPoint="0.5,0"
StartPoint="0.5,1">
<GradientStop
Color="#FFDADAE8"
Offset="1" />
<GradientStop
Color="#FFFFFFFF"
Offset="0" />
<GradientStop
Color="#FFB3B9CC"
Offset="0.51" />
<GradientStop
Color="#FFDADCEB"
Offset="0.5" />
</LinearGradientBrush>
</Border.Background>
<Path
Fill="#FF000000"
Stretch="Fill"
Stroke="{x:Null}"
Margin="3,3,3,3"
Data="M4.0000001,0 L5,0 5,1 5,2 4.0000001,2 4.0000001,3 3.0000001,3 3.0000001,4 4.0000001,4 5,4 6,4 7,4 8,4 9,4 10,4 10,5 9,5 8,5 7,5 6,5 5,5 4.0000001,5 3.0000001,5 3.0000001,6
4.0000001,6 4.0000001,7 5,7 5,7.9999999 5,9 4.0000001,9 4.0000001,7.9999999 3.0000001,7.9999999 3.0000001,7 2,7 2,6 1,6 1,5 0,5 0,4 1,4 1,3 2,3 2,2 3,2 3,1 4.0000001,1 z" />
</Border>
</Border>
</telerikPrimitives:LayoutTransformControl>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="Chevron_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedBackground}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonOverBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="silver_normal_next"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationButtonPressedInnerBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<!--<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconForeground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="IconBackground"
Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="Stroke">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonInnerBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>-->
<!--<Border
x:Name="CheckOuterBorder"
CornerRadius="1"
BorderThickness="1"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
Background="{StaticResource ViewModeButtonBackground}">
<Rectangle
x:Name="CheckInnerBorder"
Stroke="{StaticResource ViewModeButtonInnerBorder}" />
</Border>
<Path
x:Name="IconBackground"
Width="4"
Height="7"
Margin="0 1 0 0"
Fill="{StaticResource NavigationIconBackground_Normal}"
Data="M0,0 L4,3.5 0,7 Z" />
<Path
x:Name="IconForeground"
Width="4"
Height="7"
Margin="0 0 0 1"
Fill="{StaticResource NavigationIconForeground_Normal}"
Data="M0,0 L4,3.5 0,7 Z" />-->
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationCalendarToggleButton"
TargetType="telerik:RadDropDownButton"
BasedOn="{StaticResource NavigationButtonBaseStyle}">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadDropDownButton">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="CommonStates">
<VisualState
x:Name="Normal" />
<VisualState
x:Name="Pressed">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="MouseOver">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="White" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Opened">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconForeground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CalendarIcon"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource NavigationIconBackground_Highlighted}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckOuterBorder"
Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonBackground_Pressed}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CheckInnerBorder"
Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame
KeyTime="0:0:0"
Value="{StaticResource ViewModeButtonOuterBorder_MouseOver}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="CheckOuterBorder"
Width="20"
Height="22"
Background="#FFFFFFFF"
BorderBrush="#FF9199A4"
BorderThickness="1">
<Border
x:Name="CheckInnerBorder"
Margin="-1,-1,-6,0"
Width="15"
Height="24"
BorderBrush="#FF9199A4"
BorderThickness="1">
<Border.Background>
<LinearGradientBrush
EndPoint="0.5,0"
StartPoint="0.5,1">
<GradientStop
Color="#FFDADAE8"
Offset="1" />
<GradientStop
Color="#FFFFFFFF"
Offset="0" />
<GradientStop
Color="#FFB3B9CC"
Offset="0.51" />
<GradientStop
Color="#FFDADCEB"
Offset="0.5" />
</LinearGradientBrush>
</Border.Background>
</Border>
</Border>
<ContentControl
x:Name="CalendarIcon"
IsTabStop="False"
Margin="3 0 0 1"
HorizontalContentAlignment="Center"
Template="{StaticResource CalendarIcon}"
Background="{StaticResource NavigationIconBackground_Normal}"
Foreground="{StaticResource NavigationIconForeground_Normal}" />
<Popup
x:Name="DropDownPopup"
IsOpen="{Binding Path=IsOpen, RelativeSource={RelativeSource TemplatedParent}}">
<ContentPresenter
x:Name="DropDownPopupContent"
Content="{TemplateBinding DropDownContent}"
ContentTemplate="{TemplateBinding DropDownContentTemplate}"
DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=DataContext}" />
</Popup>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationDateTimePickerStyle"
TargetType="telerik:RadDatePicker">
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="telerik:RadDatePicker">
<telerik:RadDropDownButton
Style="{StaticResource NavigationCalendarToggleButton}"
DropDownIndicatorVisibility="Collapsed"
IsOpen="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}">
<telerik:RadDropDownButton.DropDownContent>
<telerik:RadCalendar
x:Name="PART_Calendar"
IsReadOnly="{TemplateBinding IsReadOnly}"
DateSelectionMode="{TemplateBinding DateSelectionMode}"
Culture="{TemplateBinding Culture}"
SelectionMode="Single"
DisplayDateStart="{TemplateBinding DisplayDateStart}"
DisplayDateEnd="{TemplateBinding DisplayDateEnd}"
SelectableDateStart="{TemplateBinding SelectableDateStart}"
SelectableDateEnd="{TemplateBinding SelectableDateEnd}"
DisplayDate="{Binding DisplayDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
SelectedDate="{Binding SelectedDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
</telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key="NavigationIntervalStyle"
TargetType="ContentControl">
<Setter
Property="Margin"
Value="5" />
<Setter
Property="VerticalAlignment"
Value="Center" />
<Setter
Property="HorizontalAlignment"
Value="Right" />
<Setter
Property="FontSize"
Value="10" />
<!--<Setter
Property="FontWeight"
Value="Bold" />-->
<Setter
Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<Grid>
<TextBlock
Margin="0 1 0 0"
Text="{Binding}"
Foreground="{StaticResource NavigationIntervalForegroundRear}" />
<TextBlock
Margin="0 0 0 1"
Text="{Binding}"
Foreground="{StaticResource NavigationIntervalForegroundFront}" />
</Grid>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="NavigationIntervalStyle2" TargetType="ContentControl">
<Setter
Property="Margin"
Value="5"/>
<Setter
Property="VerticalAlignment"
Value="Center"/>
<Setter
Property="HorizontalAlignment"
Value="Right"/>
<Setter
Property="FontSize"
Value="10" />
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Foreground="{StaticResource NavigationIntervalForegroundFront}" Text="{Binding Start,StringFormat='dddd, MMM dd, yyyy'}" />
<!--<TextBlock Text="-" Foreground="{StaticResource NavigationIntervalForegroundFront}" />
<TextBlock Foreground="{StaticResource NavigationIntervalForegroundFront}" Text="{Binding End}"/>-->
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
<DataTemplate
x:Key="DragVisualContentTemplate">
<TextBlock
Text="{Binding Converter={StaticResource DraggedAppointmentsToLocalizedStringConverter}}"
TextWrapping="Wrap"
MaxWidth="200"
MaxHeight="66"
TextTrimming="WordEllipsis" />
</DataTemplate>
<Style
TargetType="tkScheduleView:DragVisual"
x:Key="DragVisualStyle">
<Setter
Property="Foreground"
Value="{StaticResource DragVisualForeground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource DragVisualBorder}" />
<Setter
Property="Background"
Value="{StaticResource DragVisualBackground}" />
<Setter
Property="BorderThickness"
Value="1" />
<Setter
Property="Margin"
Value="10 0 0 0" />
<Setter
Property="Padding"
Value="0 0 6 0" />
<Setter
Property="HorizontalContentAlignment"
Value="Left" />
<Setter
Property="VerticalContentAlignment"
Value="Center" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate
TargetType="tkScheduleView:DragVisual">
<Grid>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="EffectStates">
<VisualState
x:Name="None">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="NoneEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Move">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="MoveEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Copy">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="CopyEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Link">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="LinkEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Scroll">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="ScrollEffect"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Border
x:Name="SecondItemVisual"
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=DraggedItemsSource, Converter={StaticResource EnumerableCountToVisibilityConverter}, ConverterParameter=3}"
CornerRadius="2"
Margin="4 4 0 0"
BorderBrush="{StaticResource DragVisualMultyItemBorder}"
Background="{StaticResource DragVisualMultyItemBackground}"
BorderThickness="1" />
<Border
x:Name="ThirdthItemVisual"
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=DraggedItemsSource, Converter={StaticResource EnumerableCountToVisibilityConverter}, ConverterParameter=2}"
CornerRadius="2"
Margin="2 2 2 2"
BorderBrush="{StaticResource DragVisualMultyItemBorder}"
Background="{StaticResource DragVisualMultyItemBackground}"
BorderThickness="1" />
<Border
x:Name="DragBackgroundVisual"
CornerRadius="2"
Margin="0 0 4 4"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" />
<Border
Margin="0 0 4 4"
Padding="{TemplateBinding BorderThickness}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<Path
x:Name="NoneEffect"
Visibility="Collapsed"
Margin="5"
Width="10"
Height="10"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M2,8 L8,2 M9,5 C9,7.2 7.2,9 5,9 C2.7,9 1,7 1,5 C1,2.8 2.8,1 5,1 C7.2,1 9,2.8 9,5 z"
Stroke="{StaticResource DragVisualEffectImportant}"
StrokeThickness="2" />
<Path
x:Name="MoveEffect"
Visibility="Collapsed"
Margin="5"
Width="10"
Height="10"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M0,5 L8,5 M4,1 L8,5 4,9"
Stroke="{StaticResource DragVisualEffectNormal}"
StrokeThickness="2" />
<Path
x:Name="CopyEffect"
Visibility="Collapsed"
Margin="5"
Width="10"
Height="10"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M5,1 L5,9 M1,5 L9,5"
Stroke="{StaticResource DragVisualEffectNormal}"
StrokeThickness="2" />
<Path
x:Name="LinkEffect"
Visibility="Collapsed"
Margin="5 7 4 7"
Height="6"
Width="11"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M8,0.5 C9.4,0.5 10.5,1.6 10.5,3 C10.5,4.4 9.4,5.5 8,5.5 C6.6,5.5 5.5,4.4 5.5,3 C5.5,1.6 6.6,0.5 8,0.5 z M3,0.5 C4.4,0.5 5.5,1.6 5.5,3 C5.5,4.4 4.4,5.5 3,5.5 C1.6,5.5 0.5,4.4 0.5,3 C0.5,1.6 1.6,0.5 3,0.5 z"
Stroke="{StaticResource DragVisualEffectImportant}"
StrokeThickness="1" />
<Path
x:Name="ScrollEffect"
Visibility="Collapsed"
Margin="5 4"
Width="10"
Height="12"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Data="M0,5 L5,0 10,5Z M0,7 L5,12 10,7Z"
Fill="{StaticResource DragVisualEffectNormal}" />
<ContentPresenter
x:Name="Content"
Grid.Column="1"
Margin="{TemplateBinding Padding}"
Content="{TemplateBinding DraggedItemsSource}"
ContentTemplate="{TemplateBinding ContentTemplate}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</Border>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<ControlTemplate
x:Key="RadScheduleViewControlTemplate"
TargetType="tkScheduleView:RadScheduleView">
<Border
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup
x:Name="OrienatationStates">
<VisualState
x:Name="Horizontal">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="HeadersHeight"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState
x:Name="Vertical">
<Storyboard>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="HeadersWidth"
Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame
KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.Column)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>1</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.ColumnSpan)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>1</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.Row)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>0</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_ItemsHost"
Storyboard.TargetProperty="(Grid.RowSpan)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>2</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_TimeRulerPanel"
Storyboard.TargetProperty="(Grid.Column)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>0</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames
Storyboard.TargetName="PART_TimeRulerPanel"
Storyboard.TargetProperty="(Grid.Row)">
<DiscreteObjectKeyFrame
KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<sys:Int32>1</sys:Int32>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
<!--<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_TimeRulerPanel" Storyboard.TargetProperty="Offset">
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{Binding VerticalOffset, RelativeSource={RelativeSource TemplatedParent}}" />
</ObjectAnimationUsingKeyFrames>-->
<!--<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_TimeRulerPanel" Storyboard.TargetProperty="Offset">
<DiscreteObjectKeyFrame KeyTime="0:0:0">
<DiscreteObjectKeyFrame.Value>
<Binding Path="VerticalOffset" RelativeSource="{RelativeSource TemplatedParent}" />
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>-->
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid>
<!--<?SILVERLIGHT BEGIN?>
<telerik:CommandManager.InputBindings>
<telerik:InputBindingCollection>
<telerik:KeyBinding
Key="Delete"
Command="tkScheduleView:RadScheduleViewCommands.DeleteAppointment" />
</telerik:InputBindingCollection>
</telerik:CommandManager.InputBindings>
<?SILVERLIGHT END?>-->
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
<Border
x:Name="NavigationHeader"
Visibility="{TemplateBinding NavigationHeaderVisibility}"
BorderBrush="{StaticResource SchedulerHeaderOuterBorder}"
Background="{StaticResource SchedulerHeaderBackground}"
BorderThickness="0">
<Border
BorderBrush="{StaticResource SchedulerHeaderInnerBorder}"
BorderThickness="0">
<Grid
x:Name="ScheduleViewHeader">
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
</Grid.ColumnDefinitions>
<ListBox
x:Name="ViewModeSelection"
Grid.Column="0"
Style="{StaticResource ViewModeSelectionListBoxStyle}"
SelectionMode="Single"
ItemsSource="{TemplateBinding ViewDefinitions}"
SelectedIndex="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" />
<StackPanel
Grid.Column="1"
Orientation="Horizontal"
HorizontalAlignment="Left">
<telerik:RadButton
Style="{StaticResource NavigationButtonBackStyle}"
Command="tkScheduleView:RadScheduleViewCommands.DecreaseVisibleDateLarge" />
<ContentControl
x:Name="CurrentInterval"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=NavigationIntervalStyle}"
Style="{StaticResource NavigationIntervalStyle}"
Content="{TemplateBinding CurrentVisibleRangeText}" />
<ContentControl
x:Name="DayCurrentInterval"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=DayViewNavigation}"
Style="{StaticResource NavigationIntervalStyle2}"
Content="{TemplateBinding VisibleRange }" />
<telerik:RadButton
Style="{StaticResource NavigationButtonNextStyle}"
Command="tkScheduleView:RadScheduleViewCommands.IncreaseVisibleDateLarge" />
<telerik:RadDatePicker
x:Name="PART_NavigationPicker"
Style="{StaticResource NavigationDateTimePickerStyle}"
SelectedValue="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=CurrentDate, Mode=TwoWay}" />
</StackPanel>
</Grid>
</Border>
</Border>
<telerik:RadTransitionControl
x:Name="PART_TranstionControl"
Grid.Row="1"
Duration="00:00:00.500">
<telerik:RadTransitionControl.Transition>
<telerik:SlideAndZoomTransition
MinZoom="1" />
</telerik:RadTransitionControl.Transition>
<Grid>
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition
Width="Auto" />
<ColumnDefinition
Width="*" />
<ColumnDefinition
Width="Auto" />
</Grid.ColumnDefinitions>
<Border
x:Name="HeadersHeight"
Grid.ColumnSpan="3"
Height="{TemplateBinding HeadersLength}" />
<Border
x:Name="HeadersWidth"
Grid.RowSpan="3"
BorderThickness="0"
Width="{TemplateBinding HeadersLength}"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
<!-- TODO: Silverlight - workaround ClipToBounds -->
<tkScheduleView:TimeRulerPanel
x:Name="PART_TimeRulerPanel"
Grid.Row="0"
Grid.Column="1"
Margin="0,0,3,0"
Orientation="{TemplateBinding EffectiveOrientation}"
Offset="{Binding HorizontalOffset, RelativeSource={RelativeSource TemplatedParent}}">
</tkScheduleView:TimeRulerPanel>
<tkScheduleView:AppointmentsPanel
x:Name="PART_ItemsHost"
Canvas.ZIndex="1"
Grid.Row="1"
Grid.Column="0"
Grid.ColumnSpan="2"
Background="{x:Null}"
Orientation="{TemplateBinding EffectiveOrientation}">
</tkScheduleView:AppointmentsPanel>
<telerikPrimitives:LayoutTransformControl
Grid.Row="1"
Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Right"
Visibility="{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}"
Canvas.ZIndex="1"
UseLayoutRounding="True">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<telerik:RadButton
CornerRadius="2 2 0 0"
HorizontalContentAlignment="Stretch"
Command="tkScheduleView:RadScheduleViewCommands.GoToNextAppointment"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid
Width="160">
<TextBlock
telerik:LocalizationManager.ResourceKey="NextAppointment"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
<TextBlock
Text="â–¼"
FontSize="8"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="8 0" />
</Grid>
</telerik:RadButton>
</telerikPrimitives:LayoutTransformControl>
<telerikPrimitives:LayoutTransformControl
Grid.Row="1"
Grid.Column="1"
VerticalAlignment="Center"
HorizontalAlignment="Left"
Visibility="{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}"
Canvas.ZIndex="1"
UseLayoutRounding="True">
<telerikPrimitives:LayoutTransformControl.LayoutTransform>
<RotateTransform
Angle="-90" />
</telerikPrimitives:LayoutTransformControl.LayoutTransform>
<telerik:RadButton
CornerRadius="2 2 0 0"
Command="tkScheduleView:RadScheduleViewCommands.GoToPreviousAppointment"
telerik:StyleManager.Theme="{StaticResource Theme}">
<Grid
Width="160">
<TextBlock
telerik:LocalizationManager.ResourceKey="Prev Appointment"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
<TextBlock
Text="â–²"
FontSize="8"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Margin="8 0" />
</Grid>
</telerik:RadButton>
</telerikPrimitives:LayoutTransformControl>
<!-- TODO: Silverlight - workaround ClipToBounds -->
<tkScheduleView:TimeRulerLinesPanel
x:Name="PART_TimeRulerLinesPanel"
Grid.Row="1"
Grid.Column="1"
Background="{StaticResource TimeRuleBackground}"
Orientation="{TemplateBinding EffectiveOrientation}"
PixelLength="{TemplateBinding EffectivePixelLength}">
</tkScheduleView:TimeRulerLinesPanel>
<!-- TODO: Silverlight - workaround ClipToBounds -->
<tkScheduleView:HighlightPanel
x:Name="PART_HighlightPanel"
Grid.Row="1"
Grid.Column="1"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
Background="Transparent"
Orientation="{TemplateBinding EffectiveOrientation}"
PixelLength="{TemplateBinding EffectivePixelLength}"
IsHitTestVisible="False"
Canvas.ZIndex="1">
</tkScheduleView:HighlightPanel>
<Border
BorderThickness="3 3 3 0"
BorderBrush="#147EC1"
Margin="-2,0,0,0"
Grid.Row="0"
Grid.Column="1"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=Frame}"
Grid.RowSpan="2" />
<Border
x:Name="AppointmentsBorder"
Grid.Row="1"
Grid.Column="1"
BorderBrush="{StaticResource GroupHeaderBorderBrush}"
BorderThickness="1" />
<Border
x:Name="VerticalHeadersBorder"
Grid.Row="1"
Grid.Column="0"
BorderBrush="{StaticResource ViewModeButtonOuterBorder}"
BorderThickness="0 1"
Canvas.ZIndex="3" />
<Border
x:Name="HorizontalHeadersBorder"
Grid.Row="0"
Grid.Column="1"
BorderBrush="#147EC1"
BorderThickness="0 3 3 0"
Canvas.ZIndex="3" />
<!--We are using this border when we remove Scroll bar in Monthview Details-->
<Border
x:Name="MonthViewDetailBorder"
Grid.Row="1"
Grid.Column="2"
BorderBrush="{StaticResource TimeRulerLineStroke}"
BorderThickness="0,0,1,0"
Canvas.ZIndex="3" />
<ScrollBar
x:Name="PART_HorizontalScrollBar"
Grid.Row="2"
Grid.Column="1"
Orientation="Horizontal"
ViewportSize="{TemplateBinding ViewportWidth}"
Maximum="{TemplateBinding ExtentWidth}"
Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
SmallChange="{TemplateBinding HorizontalSmallChange}"
LargeChange="{TemplateBinding HorizontalLargeChange}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<ScrollBar
x:Name="PART_HeadersVerticalScrollBar"
Grid.Row="0"
Grid.Column="2"
Orientation="Vertical"
ViewportSize="{TemplateBinding ViewportHeight}"
Maximum="{TemplateBinding ExtentHeight}"
Visibility="{Binding ActiveViewDefinitionIndex, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent},Converter={StaticResource ActiveViewDefinitionIndextoVisibilityConverter},ConverterParameter=HeaderPanelVerticalScrollBar}"
SmallChange="{TemplateBinding VerticalSmallChange}"
LargeChange="{TemplateBinding VerticalLargeChange}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<!--removed the binding of the scrollbar visibility-->
<ScrollBar
x:Name="PART_VerticalScrollBar"
Grid.Row="1"
Grid.Column="2"
Orientation="Vertical"
ViewportSize="{TemplateBinding ViewportHeight}"
Maximum="{TemplateBinding ExtentHeight}"
SmallChange="{TemplateBinding VerticalSmallChange}"
LargeChange="{TemplateBinding VerticalLargeChange}"
Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
telerik:StyleManager.Theme="{StaticResource Theme}" />
<Grid
x:Name="WarningsPanel"
Grid.Row="0"
Grid.RowSpan="3"
Grid.ColumnSpan="3"
Canvas.ZIndex="2">
<Grid
x:Name="ViewDefinitionWarning"
Background="White"
Visibility="{Binding ActiveViewDefinition, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedNullToVisibilityConverter}}">
<TextBlock
Text="Please select a View definition"
FontSize="32"
HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
<Grid
x:Name="AppointmentSourceWarning"
Background="White"
Visibility="{Binding AppointmentsSource, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InvertedNullToVisibilityConverter}}">
<!--<TextBlock
Text="Please provide an AppointmentsSource"
FontSize="32"
Foreground="Black"
HorizontalAlignment="Center"
VerticalAlignment="Center" />-->
</Grid>
</Grid>
</Grid>
</telerik:RadTransitionControl>
</Grid>
</Border>
</ControlTemplate>
<Style
x:Key="CurrentTimeIndicatorStyle"
TargetType="tkScheduleView:CurrentTimeIndicator">
<Setter
Property="Canvas.ZIndex"
Value="1" />
<Setter
Property="Template">
<Setter.Value>
<ControlTemplate>
<Rectangle
Margin="0 0 -1 -1"
MinWidth="2"
MinHeight="2"
Fill="{StaticResource CurrentTimeFill}" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<tkScheduleView:CategoryCollection
x:Key="DefaultCategoryCollection">
<tkScheduleView:Category
CategoryName="Red Category"
CategoryBrush="{StaticResource RedCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Green Category"
CategoryBrush="{StaticResource GreenCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Blue Category"
CategoryBrush="{StaticResource BlueCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Purple Category"
CategoryBrush="{StaticResource PurpleCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Yellow Category"
CategoryBrush="{StaticResource YellowCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Olive Category"
CategoryBrush="{StaticResource OliveCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Pink Category"
CategoryBrush="{StaticResource PinkCategoryBrush}" />
<tkScheduleView:Category
CategoryName="Orange Category"
CategoryBrush="{StaticResource OrangeCategoryBrush}" />
</tkScheduleView:CategoryCollection>
<tkScheduleView:TimeMarkerCollection
x:Key="DefaultTimeMarkerCollection">
<tkScheduleView:TimeMarker
TimeMarkerName="Free"
TimeMarkerBrush="{StaticResource FreeMarkerBrush}" />
<tkScheduleView:TimeMarker
TimeMarkerName="Tentative"
TimeMarkerBrush="{StaticResource TentativeMarkerBrush}" />
<tkScheduleView:TimeMarker
TimeMarkerName="Busy"
TimeMarkerBrush="{StaticResource BusyMarkerBrush}" />
<tkScheduleView:TimeMarker
TimeMarkerName="OutOfOffice"
TimeMarkerBrush="{StaticResource OutOfOfficeMarkerBrush}" />
</tkScheduleView:TimeMarkerCollection>
<Style
x:Key="ScheduleViewBaseStyle"
TargetType="tkScheduleView:ScheduleViewBase">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Background"
Value="{StaticResource RadScheduleBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource RadScheduleBorderBrush}" />
<Setter
Property="BorderThickness"
Value="0" />
<!-- GroupHeaders -->
<Setter
Property="GroupHeaderStyleSelector"
Value="{StaticResource GroupHeaderStyleSelector}" />
<Setter
Property="GroupHeaderContentTemplateSelector"
Value="{StaticResource GroupHeaderContentTemplateSelector}" />
<!-- TimeRuler -->
<Setter
Property="TimeRulerItemStyleSelector"
Value="{StaticResource TimeRulerItemStyleSelector}" />
<Setter
Property="TimeRulerItemTemplateSelector"
Value="{StaticResource TimeRulerItemTemplateSelector}" />
<Setter
Property="CurrentTimeIndicatorStyle"
Value="{StaticResource CurrentTimeIndicatorStyle}" />
<!-- TimeSlot decorations -->
<Setter
Property="ResizeHighlightStyle"
Value="{StaticResource ResizeHighlightStyle}" />
<Setter
Property="DragDropHighlightStyle"
Value="{StaticResource DragDropHighlightStyle}" />
<Setter
Property="MouseOverHighlightStyle"
Value="{StaticResource MouseOverHighlightStyle}" />
<Setter
Property="SelectionHighlightStyle"
Value="{StaticResource SelectionHighlightStyle}" />
<Setter
Property="SpecialSlotStyleSelector"
Value="{StaticResource SpecialSlotStyleSelector}" />
<!-- AppointmentItem and decorations -->
<Setter
Property="MinAppointmentWidth"
Value="50" />
<Setter
Property="AppointmentStyleSelector"
Value="{StaticResource AppointmentItemStyleSelector}" />
<Setter
Property="InlineEditingTemplate"
Value="{StaticResource InlineEditTemplate}" />
<Setter
Property="ToolTipTemplate"
Value="{StaticResource ToolTipTemplate}" />
<!-- Drag Visual -->
<Setter
Property="DragVisualStyle"
Value="{StaticResource DragVisualStyle}" />
<Setter
Property="DragVisualTemplate"
Value="{StaticResource DragVisualContentTemplate}" />
<!-- Categories&Markers -->
<Setter
Property="CategoriesSource"
Value="{StaticResource DefaultCategoryCollection}" />
<Setter
Property="TimeMarkersSource"
Value="{StaticResource DefaultTimeMarkerCollection}" />
<!-- Dialog styles -->
<Setter
Property="EditAppointmentDialogStyle"
Value="{StaticResource EditAppointmentDialogStyle}" />
<Setter
Property="EditRecurrenceDialogStyle"
Value="{StaticResource EditRecurrenceDialogStyle}" />
<Setter
Property="DeleteAppointmentConfirmDialogStyle"
Value="{StaticResource DeleteAppointmentConfirmDialogStyle}" />
<Setter
Property="RecurrenceChoiceDialogStyle"
Value="{StaticResource RecurrenceChoiceDialogStyle}" />
<Setter
Property="RecurrenceChoiceDeleteDialogStyle"
Value="{StaticResource RecurrenceChoiceDeleteDialogStyle}" />
<Setter
Property="RecurrenceChoiceResizeDialogStyle"
Value="{StaticResource RecurrenceChoiceResizeDialogStyle}" />
<Setter
Property="RecurrenceChoiceDragDropDialogStyle"
Value="{StaticResource RecurrenceChoiceDragDropDialogStyle}" />
</Style>
<Style
x:Key="RadScheduleViewStyle"
TargetType="tkScheduleView:RadScheduleView">
<Setter
Property="Foreground"
Value="{StaticResource RadScheduleForeground}" />
<Setter
Property="Background"
Value="{StaticResource RadScheduleBackground}" />
<Setter
Property="BorderBrush"
Value="{StaticResource RadScheduleBorderBrush}" />
<Setter
Property="BorderThickness"
Value="0" />
<Setter
Property="Template"
Value="{StaticResource RadScheduleViewControlTemplate}" />
<!-- GroupHeaders -->
<Setter
Property="GroupHeaderStyleSelector"
Value="{StaticResource GroupHeaderStyleSelector}" />
<Setter
Property="GroupHeaderContentTemplateSelector"
Value="{StaticResource GroupHeaderContentTemplateSelector}" />
<!-- TimeRuler -->
<Setter
Property="TimeRulerItemStyleSelector"
Value="{StaticResource TimeRulerItemStyleSelector}" />
<Setter
Property="TimeRulerItemTemplateSelector"
Value="{StaticResource TimeRulerItemTemplateSelector}" />
<Setter
Property="CurrentTimeIndicatorStyle"
Value="{StaticResource CurrentTimeIndicatorStyle}" />
<!-- TimeSlot decorations -->
<Setter
Property="ResizeHighlightStyle"
Value="{StaticResource ResizeHighlightStyle}" />
<Setter
Property="DragDropHighlightStyle"
Value="{StaticResource DragDropHighlightStyle}" />
<Setter
Property="MouseOverHighlightStyle"
Value="{StaticResource MouseOverHighlightStyle}" />
<Setter
Property="SelectionHighlightStyle"
Value="{StaticResource SelectionHighlightStyle}" />
<Setter
Property="SpecialSlotStyleSelector"
Value="{StaticResource SpecialSlotStyleSelector}" />
<!-- AppointmentItem and decorations -->
<Setter
Property="MinAppointmentWidth"
Value="50" />
<Setter
Property="AppointmentStyleSelector"
Value="{StaticResource AppointmentItemStyleSelector}" />
<Setter
Property="InlineEditingTemplate"
Value="{StaticResource InlineEditTemplate}" />
<Setter
Property="ToolTipTemplate"
Value="{StaticResource ToolTipTemplate}" />
<!-- Drag Visual -->
<Setter
Property="DragVisualStyle"
Value="{StaticResource DragVisualStyle}" />
<Setter
Property="DragVisualTemplate"
Value="{StaticResource DragVisualContentTemplate}" />
<!-- Categories&Markers -->
<Setter
Property="CategoriesSource"
Value="{StaticResource DefaultCategoryCollection}" />
<Setter
Property="TimeMarkersSource"
Value="{StaticResource DefaultTimeMarkerCollection}" />
<!-- Dialog styles -->
<Setter
Property="EditAppointmentDialogStyle"
Value="{StaticResource EditAppointmentDialogStyle}" />
<Setter
Property="EditRecurrenceDialogStyle"
Value="{StaticResource EditRecurrenceDialogStyle}" />
<Setter
Property="DeleteAppointmentConfirmDialogStyle"
Value="{StaticResource DeleteAppointmentConfirmDialogStyle}" />
<Setter
Property="RecurrenceChoiceDialogStyle"
Value="{StaticResource RecurrenceChoiceDialogStyle}" />
<Setter
Property="RecurrenceChoiceDeleteDialogStyle"
Value="{StaticResource RecurrenceChoiceDeleteDialogStyle}" />
<Setter
Property="RecurrenceChoiceResizeDialogStyle"
Value="{StaticResource RecurrenceChoiceResizeDialogStyle}" />
<Setter
Property="RecurrenceChoiceDragDropDialogStyle"
Value="{StaticResource RecurrenceChoiceDragDropDialogStyle}" />
</Style>
<!-- Theme style setter -->
<Style
TargetType="tkScheduleView:RadScheduleView"
BasedOn="{StaticResource RadScheduleViewStyle}" />
<Style
TargetType="tkScheduleView:AppointmentItem"
BasedOn="{StaticResource AppointmentItemBaseStyle}" />
<Style
TargetType="tkScheduleView:GroupHeaderButton"
BasedOn="{StaticResource GroupHeaderButtonStyle}" />
<Style
TargetType="tkScheduleView:GroupHeader"
BasedOn="{StaticResource GroupHeaderBaseStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerItem"
BasedOn="{StaticResource MinorVerticalTimeRulerItemStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerLine"
BasedOn="{StaticResource TimeRulerLineStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerGroupItem"
BasedOn="{StaticResource TimeRulerGroupItemStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerMonthViewItem"
BasedOn="{StaticResource TimeRulerMonthViewItemStyle}" />
<Style
TargetType="tkScheduleView:TimeRulerMonthViewGroupItem"
BasedOn="{StaticResource TimeRulerMonthViewGroupItemStyle}" />
<Style
TargetType="tkScheduleView:HighlightItem"
BasedOn="{StaticResource HighlightItemStyle}" />
<?BODY END?>
</ResourceDictionary>
0
Hi,
This is the RadScheduleViewBackground showing through. You need to adjust the positioning of the items to prevent the background from showing.
All the best,
Dani
the Telerik team
This is the RadScheduleViewBackground showing through. You need to adjust the positioning of the items to prevent the background from showing.
All the best,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Purushothaman
Top achievements
Rank 2
answered on 29 May 2012, 09:45 AM
Thank you.can able to explain briefly for adjust the positioning of the items .
0
Accepted
Hi Purushothaman,
I am sorry for the delayed reply.
You can edit the TimeRulerMonthViewGroupItemStyle and set its Margin to "-1 0". Or you can set RadScheduleView background to use the same brush as the pressed state brush of the ViewMode buttons - #FF147EC1. Both approaches should hide the white lines.
Hope this helps.
All the best,
Dani
the Telerik team
I am sorry for the delayed reply.
You can edit the TimeRulerMonthViewGroupItemStyle and set its Margin to "-1 0". Or you can set RadScheduleView background to use the same brush as the pressed state brush of the ViewMode buttons - #FF147EC1. Both approaches should hide the white lines.
Hope this helps.
All the best,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Purushothaman
Top achievements
Rank 2
answered on 07 Jun 2012, 10:51 AM
Awesome,I excepted this only Thank you for this , But i fixed this issue like as below (Highlighted one).
<Border
x:Name="HeadersHeight"
Grid.ColumnSpan="3"
Height="{TemplateBinding HeadersLength}" />
<Border
x:Name="HeadersWidth"
Grid.RowSpan="3"
BorderThickness="0 1 0 0"
BorderBrush="{StaticResource RadScheduleBorderBrush}"
Width="{TemplateBinding HeadersLength}"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
<!-- To Prevent Unwanted White Line In Month View -->
<Border
x:Name="Month_HeaderBackground"
Grid.RowSpan="2"
Grid.Row="0"
Grid.Column="1"
BorderThickness="0 1 0 0"
Margin="0 0 -1 0"
BorderBrush="{StaticResource RadScheduleBorderBrush}"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
Now its working fine.but please let me know is this correct way or not ( Means is there any bugs are happen?).
<Border
x:Name="HeadersHeight"
Grid.ColumnSpan="3"
Height="{TemplateBinding HeadersLength}" />
<Border
x:Name="HeadersWidth"
Grid.RowSpan="3"
BorderThickness="0 1 0 0"
BorderBrush="{StaticResource RadScheduleBorderBrush}"
Width="{TemplateBinding HeadersLength}"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
<!-- To Prevent Unwanted White Line In Month View -->
<Border
x:Name="Month_HeaderBackground"
Grid.RowSpan="2"
Grid.Row="0"
Grid.Column="1"
BorderThickness="0 1 0 0"
Margin="0 0 -1 0"
BorderBrush="{StaticResource RadScheduleBorderBrush}"
Background="{StaticResource TimeRulerMonthViewGroupItemStyleBackground}" />
Now its working fine.but please let me know is this correct way or not ( Means is there any bugs are happen?).
0
Accepted
Hi Purushothaman,
Yes, you can use an additional border to prevent the white lines from showing. But only, please note, that the border is located in the control template of RadScheduleView and so will be visible in all view definitions. If it suits your scenario, then it is safe to use the additional border.
Greetings,
Dani
the Telerik team
Yes, you can use an additional border to prevent the white lines from showing. But only, please note, that the border is located in the control template of RadScheduleView and so will be visible in all view definitions. If it suits your scenario, then it is safe to use the additional border.
Greetings,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>