Hello guys,
I was using Q1 scheduleview version, in which i was binding my resources into my scheduleview dynamically, and it was successfully showing up in Edit appointment dialog window. Now i have just used Q2 beta which is just released , now my resources are not showing up in edit appointment dialog window. There is no change at all except one change that is, before i was not using EditAppointmentDialogStyle because i didn't need it , now i am using EditAppointmentDialogStyle because i wanted to remove some existing controls from editappontment dialog window. Is there anything i am missing ??
kindly check below .xaml code and give me solution.
thanks & regards
palak
I was using Q1 scheduleview version, in which i was binding my resources into my scheduleview dynamically, and it was successfully showing up in Edit appointment dialog window. Now i have just used Q2 beta which is just released , now my resources are not showing up in edit appointment dialog window. There is no change at all except one change that is, before i was not using EditAppointmentDialogStyle because i didn't need it , now i am using EditAppointmentDialogStyle because i wanted to remove some existing controls from editappontment dialog window. Is there anything i am missing ??
kindly check below .xaml code and give me solution.
<
UserControl
x:Class
=
"HaiderSchedulerView.MainPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
xmlns:local
=
"clr-namespace:HaiderSchedulerView"
xmlns:telerikPrimitives
=
"clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
xmlns:RadSchedulerView
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"
xmlns:sdk
=
"clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
>
<
UserControl.Resources
>
<
telerik:InvertedBooleanToVisibilityConverter
x:Key
=
"InvertedBooleanToVisibilityConverter"
/>
<
RadSchedulerView:InvertedNullToVisibilityConverter
x:Key
=
"InvertedNullToVisibilityConverter"
/>
<
RadSchedulerView:InvertedVisibilityConverter
x:Key
=
"InvertedVisibilityConverter"
/>
<
telerik:BooleanToVisibilityConverter
x:Key
=
"BooleanToVisibilityConverter"
/>
<
RadSchedulerView:NullToVisibilityConverter
x:Key
=
"NullToVisibilityConverter"
/>
<
RadSchedulerView:BoolToInputModeConverter
x:Key
=
"BoolToInputModeConverter"
/>
<
RadSchedulerView:ResourcesSeparatorConverter
x:Key
=
"ResourcesSeparatorConverter"
/>
<
RadSchedulerView:EnumToBooleanConverter
x:Key
=
"EnumToBoolConverter"
/>
<
RadSchedulerView:EnumToVisibilityConverter
x:Key
=
"EnumToVisibilityConverter"
/>
<
RadSchedulerView:InvertedBooleanConverter
x:Key
=
"InvertedBooleanConverter"
/>
<
RadSchedulerView:RecurrenceStateIsExeptionToVisibilityConverter
x:Key
=
"RecurrenceStateIsExeptionToVisibilityConverter"
/>
<
RadSchedulerView:RecurrenceStateIsOccurenceToVisibilityConverter
x:Key
=
"RecurrenceStateIsOccurenceToVisibilityConverter"
/>
<
RadSchedulerView:DraggedAppointmentsToLocalizedStringConverter
x:Key
=
"DraggedAppointmentsToLocalizedStringConverter"
/>
<
RadSchedulerView:EnumerableCountToVisibilityConverter
x:Key
=
"EnumerableCountToVisibilityConverter"
/>
<
ControlTemplate
x:Key
=
"EditAppointmentTemplate"
TargetType
=
"RadSchedulerView:SchedulerDialog"
>
<
Grid
x:Name
=
"Details"
>
<
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"
/>
<
RowDefinition
/>
</
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
=
"Title"
/>
<
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}"
/>
<
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"
/>
<
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}"
SelectedValue
=
"{Binding ActualStart, Mode=TwoWay, ValidatesOnDataErrors=true, NotifyOnValidationError=true}"
IsEnabled
=
"{Binding IsNotRecurrent}"
InputMode
=
"DateTimePicker"
/>
<
TextBlock
Grid.Row
=
"3"
Grid.Column
=
"0"
Margin
=
"6"
VerticalAlignment
=
"Center"
telerik:LocalizationManager.ResourceKey
=
"EndTime"
/>
<
telerik:RadDateTimePicker
Grid.Row
=
"3"
SelectedValue
=
"{Binding ActualEnd,ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}"
Grid.Column
=
"1"
Margin
=
"3"
IsReadOnly
=
"{Binding IsReadOnly}"
IsEnabled
=
"{Binding IsNotRecurrent}"
InputMode
=
"DateTimePicker"
/>
<
StackPanel
Grid.Row
=
"4"
x:Name
=
"FooterControls"
Margin
=
"10"
Grid.ColumnSpan
=
"2"
HorizontalAlignment
=
"Center"
Orientation
=
"Horizontal"
>
<
telerik:RadButton
Margin
=
"10"
Grid.Column
=
"0"
Grid.Row
=
"5"
Padding
=
"20 0"
MinWidth
=
"80"
VerticalAlignment
=
"Center"
Command
=
"telerik:WindowCommands.Confirm"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
ToolTipService.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"SaveAndClose"
/>
</
ToolTipService.ToolTip
>
</
telerik:RadButton
>
<
telerik:RadButton
Margin
=
"10"
Grid.Column
=
"2"
Grid.Row
=
"5"
Padding
=
"20 0"
MinWidth
=
"80"
VerticalAlignment
=
"Center"
Command
=
"telerik:WindowCommands.Cancel"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
/>
</
StackPanel
>
</
Grid
>
</
ControlTemplate
>
<
Style
x:Key
=
"EditAppointmentDialogStyle"
TargetType
=
"RadSchedulerView:SchedulerDialog"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"500"
/>
<
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
>
<!--Theme-->
<
telerik:Windows7Theme
x:Key
=
"Theme"
/>
<
ImageSource
x:Key
=
"EditAppointmentTemplate_Recurrence"
>/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/Recurrence.png</
ImageSource
>
<
SolidColorBrush
x:Key
=
"RadScheduleForeground"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"SpecialSlotBackground"
Color
=
"#4DCDCDCD"
/>
<
SolidColorBrush
x:Key
=
"SpecialSlotBackground_ReadOnly"
Color
=
"#8CCDCDCD"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemForeground_Normal"
Color
=
"#FF6685AE"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemBackground"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder_MouseOver"
Color
=
"#FFB8D6FB"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemBackground_MouseOver"
Color
=
"#CCF5F9FF"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_MouseOver"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemForeground_MouseOver"
Color
=
"#FF6685AE"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder_Pressed"
Color
=
"#FF7DA2CE"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemBackground_Pressed"
Color
=
"#7FD9E3F0"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_Pressed"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemForeground_Today"
Color
=
"#FF6685AE"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder_Today"
Color
=
"#FF839AB5"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemBackground_Today"
Color
=
"#7FD9E3F0"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder_TodayMouseOver"
Color
=
"#FFB8D6FB"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemBackground_TodayMouseOver"
Color
=
"#CCF5F9FF"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_TodayMouseOver"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder_TodayPressed"
Color
=
"#FF7DA2CE"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemBackground_TodayPressed"
Color
=
"#7FD9E3F0"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_TodayPressed"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_Today"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"MonthViewExpandOuterBorder_MouseOver"
Color
=
"#FFB8D6FB"
/>
<
LinearGradientBrush
x:Key
=
"MonthViewExpandButtonBackground_MouseOver"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFBFCFD"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFF6F8FB"
Offset
=
"0.5"
/>
<
GradientStop
Color
=
"#FFEDF2F9"
Offset
=
"0.5"
/>
<
GradientStop
Color
=
"#FFE5EBF4"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"MonthViewExpandInnerBorder_MouseOver"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFFAFCFD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"MonthViewExpandIconStroke_MouseOver"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"MonthViewExpandOuterBorder_Pressed"
Color
=
"#FFC0CBD9"
/>
<
LinearGradientBrush
x:Key
=
"MonthViewExpandButtonBackground_Pressed"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFC0CBD9"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFE6EAEE"
Offset
=
"0.5"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"MonthViewExpandInnerBorder_Pressed"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFC0CBD9"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFE6EAEE"
Offset
=
"0.5"
/>
</
LinearGradientBrush
>
<
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
=
"MonthViewExpandIconStroke"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"TimeRulerGroupItemForeground"
Color
=
"#FF6685AE"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderBackground"
Color
=
"#00FFFFFF"
/>
<
LinearGradientBrush
x:Key
=
"GroupHeaderHeaderOuterBorder"
EndPoint
=
"0.5,0"
StartPoint
=
"0.5,1"
>
<
GradientStop
Color
=
"#7FADBDD1"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#00ADBDD1"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderInnerBorder_Vertical"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderInnerBorder"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderBackground_Vertical"
Color
=
"#00FFFFFF"
/>
<
LinearGradientBrush
x:Key
=
"GroupHeaderHeaderOuterBorder_Vertical"
EndPoint
=
"0,0.5"
StartPoint
=
"1,0.5"
>
<
GradientStop
Color
=
"#7FADBDD1"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#00ADBDD1"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"TimeRulerItemMajorTickStroke_Vertical"
StartPoint
=
"1,0.5"
EndPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"#7FADBDD1"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#00ADBDD1"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
Thickness
x:Key
=
"TimeRulerItemMargin_Vertical"
>0 0 0 0</
Thickness
>
<
Thickness
x:Key
=
"TimeRulerItemPadding_Vertical"
>0 0 3 0</
Thickness
>
<
SolidColorBrush
x:Key
=
"TimeRulerLineStroke"
Color
=
"#7FADBDD1"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderBorderBrush_Today"
Color
=
"#FF839AB5"
/>
<
Thickness
x:Key
=
"HorizontalGroupHeaderTodayBorderThickness"
>2 0 2 2</
Thickness
>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderOuterBorder_Today"
Color
=
"#FF839AB5"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderBackground_Today"
Color
=
"#7FD9E3F0"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderInnerBorder_Today"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderOuterBorder_VerticalToday"
Color
=
"#FF839AB5"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderBackground_VerticalToday"
Color
=
"#7FD9E3F0"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderInnerBorder_VerticalToday"
Color
=
"Transparent"
/>
<
Thickness
x:Key
=
"GroupHeaderTodayBorderThickness"
>2</
Thickness
>
<
SolidColorBrush
x:Key
=
"GroupHeaderBorderBrush"
Color
=
"#7FADBDD1"
/>
<
SolidColorBrush
x:Key
=
"HorizontalBottomLevelTodayForeground"
Color
=
"#FF6685AE"
/>
<
Thickness
x:Key
=
"VerticalGroupHeaderTodayBorderThickness"
>0 2 2 2</
Thickness
>
<
LinearGradientBrush
x:Key
=
"AppointmentItemBackground_Selected"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFDCEBFC"
/>
<
GradientStop
Color
=
"#FFC1DBFC"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"AppointmentItemOuterBorder_Selected"
Color
=
"#FF7DA2CE"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentItemInnerBorder_Selected"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFEBF4FD"
/>
<
GradientStop
Color
=
"#FFDBEAFD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"AppointmentItemInnerBorder"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFCFDFE"
/>
<
GradientStop
Color
=
"#FFF2F7FE"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"AppointmentItemBackground_MouseOver"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFDCEBFC"
/>
<
GradientStop
Color
=
"#FFC1DBFC"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"AppointmentItemOuterBorder_MouseOver"
Color
=
"#FFB8D6FB"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentItemInnerBorder_MouseOver"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFEBF4FD"
/>
<
GradientStop
Color
=
"#FFDBEAFD"
Offset
=
"1"
/>
</
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
=
"AppointmentItemResizeGripBackground"
Color
=
"#FFDCEBFC"
/>
<
SolidColorBrush
x:Key
=
"AppointmentItemResizeGripStroke"
Color
=
"#FF839AB5"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentItemDeleteIconStroke"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF4F637C"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FF8CA0B9"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"AppointmentItemBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFAFBFD"
Offset
=
"0.004"
/>
<
GradientStop
Color
=
"#FFEBF3FD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"AppointmentItemOuterBorder"
Color
=
"#FFB8D6FB"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentResizeCueBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#88DCEBFC"
/>
<
GradientStop
Color
=
"#88C1DBFC"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"AppointmentResizeCueBorderBrush"
Color
=
"#887DA2CE"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentResizeCueTopLeftMarkStroke"
StartPoint
=
"0 0"
EndPoint
=
"1 1"
>
<
GradientStop
Offset
=
"0.33"
Color
=
"#FF4F637C"
/>
<
GradientStop
Offset
=
"1"
Color
=
"#004F637C"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"AppointmentResizeCueBottomRightMarkStroke"
StartPoint
=
"1 1"
EndPoint
=
"0 0"
>
<
GradientStop
Offset
=
"0.33"
Color
=
"#FF4F637C"
/>
<
GradientStop
Offset
=
"1"
Color
=
"#004F637C"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"AppointmentItemBackground_Drag"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#BBDCEBFC"
/>
<
GradientStop
Color
=
"#BBC1DBFC"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"AppointmentItemOuterBorder_Drag"
Color
=
"#FF7DA2CE"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentItemInnerBorder_Drag"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#BBEBF4FD"
/>
<
GradientStop
Color
=
"#BBDBEAFD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"DecorationRectangleBackground"
Color
=
"#99F5F9FF"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleBackground_DragOver"
Color
=
"#CCF5F9FF"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleOuterBorder_DragOver"
Color
=
"#FFB8D6FB"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleInnerBorder_DragOver"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleBackground_MouseOver"
Color
=
"#CCF5F9FF"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleOuterBorder_MouseOver"
Color
=
"#FFB8D6FB"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleInnerBorder_MouseOver"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleBackground_Selected"
Color
=
"#7FD9E3F0"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleOuterBorder_Selected"
Color
=
"#FF839AB5"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleInnerBorder_Selected"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonForeground"
Color
=
"#FF1E395B"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonForeground_MouseOver"
Color
=
"#FF1E395B"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonOuterBorder_MouseOver"
Color
=
"#FFC0CBDF"
/>
<
LinearGradientBrush
x:Key
=
"ViewModeButtonBackground_MouseOver"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFDFEFF"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFDDE9F7"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFE6F0FA"
Offset
=
"0.5"
/>
<
GradientStop
Color
=
"#FFDCE6F4"
Offset
=
"0.5"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"ViewModeButtonInnerBorder_MouseOver"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#CCFAFCFD"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#CCE4EFFB"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"ViewModeButtonForeground_Pressed"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonOuterBorder_Pressed"
Color
=
"#FFC0CBD9"
/>
<
LinearGradientBrush
x:Key
=
"ViewModeButtonBackground_Pressed"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFC0CBD9"
/>
<
GradientStop
Color
=
"#4CC0CBD9"
Offset
=
"0.5"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"ViewModeButtonInnerBorder_Pressed"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonOuterBorder"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonBackground"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonInnerBorder"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"NavigationIconForeground_Highlighted"
Color
=
"#FF1E395B"
/>
<
SolidColorBrush
x:Key
=
"NavigationIconBackground_Highlighted"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"NavigationIconBackground_Normal"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"NavigationIconForeground_Normal"
Color
=
"#FF1E395B"
/>
<
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
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"NavigationIntervalForegroundFront"
Color
=
"#FF1E395B"
/>
<
SolidColorBrush
x:Key
=
"SchedulerHeaderOuterBorder"
Color
=
"#FFA0AFC3"
/>
<
LinearGradientBrush
x:Key
=
"SchedulerHeaderBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFDFEFF"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFDDE9F7"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFE6F0FA"
Offset
=
"0.5"
/>
<
GradientStop
Color
=
"#FFDCE6F4"
Offset
=
"0.5"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"SchedulerHeaderInnerBorder"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFAFCFD"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFE4EFFB"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
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
>
<
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
=
"BusyMarkerBrush"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFF0606"
/>
<
GradientStop
Color
=
"#FFBF0303"
Offset
=
"1"
/>
</
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
=
"RadScheduleBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFE6EEF8"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFE6EFF9"
Offset
=
"1"
/>
<
GradientStop
Color
=
"White"
Offset
=
"0.25"
/>
<
GradientStop
Color
=
"White"
Offset
=
"0.75"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"RadScheduleBorderBrush"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"MajorTickColor"
Color
=
"#FF5580A9"
/>
<
SolidColorBrush
x:Key
=
"MinorTickColor"
Color
=
"#FF5580A9"
/>
<
SolidColorBrush
x:Key
=
"TimeRulerItemMajorTickStroke"
Color
=
"#FF5580A9"
/>
<
SolidColorBrush
x:Key
=
"TimeRulerItemMinorTickStroke"
Color
=
"#FF5580A9"
/>
<
Style
x:Key
=
"TimeRulerGroupItemBaseStyle"
TargetType
=
"RadSchedulerView:TimeRulerItemBase"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource RadScheduleForeground}"
/>
<
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
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
Margin
=
"6 3"
Text
=
"{Binding DateTime, StringFormat='dd MMMM yyyy'}"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"RadSchedulerView:TimeRulerItemBase"
>
<
Grid
>
<
Border
x:Name
=
"HeaderVisual"
Background
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
>
<
Border
BorderBrush
=
"{StaticResource GroupHeaderHeaderInnerBorder}"
BorderThickness
=
"1"
/>
</
Border
>
<
ContentPresenter
Margin
=
"{TemplateBinding Padding}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"TimeRulerItemMajorTickBaseStyle"
TargetType
=
"RadSchedulerView:TimeRulerItem"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource MajorTickColor}"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource MajorTickColor}"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"RadSchedulerView:TimeRulerItem"
>
<
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
>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"18"
/>
<
ColumnDefinition
Width
=
"18"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Text
=
"{Binding DateTime, StringFormat=' h'}"
HorizontalAlignment
=
"Right"
/>
<
TextBlock
Grid.Column
=
"1"
Text
=
"{Binding DateTime, StringFormat=':mm'}"
HorizontalAlignment
=
"Left"
/>
<
TextBlock
Grid.Column
=
"2"
FontSize
=
"8"
Margin
=
"2 1 0 0"
Text
=
"{Binding DateTime, StringFormat='tt'}"
HorizontalAlignment
=
"Left"
/>
</
Grid
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"TimeRulerItemMinorTickBaseStyle"
TargetType
=
"RadSchedulerView:TimeRulerItem"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource MinorTickColor}"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource MinorTickColor}"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"RadSchedulerView:TimeRulerItem"
>
<
Border
Background
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
>
<
ContentPresenter
Width
=
"36"
Height
=
"18"
Margin
=
"{TemplateBinding Padding}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"18"
/>
<
ColumnDefinition
Width
=
"18"
/>
</
Grid.ColumnDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Text
=
"{Binding DateTime, StringFormat=':mm'}"
HorizontalAlignment
=
"Left"
/>
</
Grid
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"TimeRulerLineBaseStyle"
TargetType
=
"RadSchedulerView:TimeRulerLine"
>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource TimeRulerLineStroke}"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"RadSchedulerView:TimeRulerLine"
>
<
Rectangle
Fill
=
"{TemplateBinding BorderBrush}"
MinWidth
=
"1"
MinHeight
=
"1"
/>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"MonthGoToDayButtonStyle"
TargetType
=
"telerik:RadButton"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource MonthViewTimeRulerItemForeground_Normal}"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:RadButton"
>
<
Border
x:Name
=
"OuterBorder"
BorderBrush
=
"{StaticResource MonthViewTimeRulerItemOuterBorder}"
Background
=
"{StaticResource MonthViewTimeRulerItemBackground}"
BorderThickness
=
"1"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"OuterBorder"
Storyboard.TargetProperty
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"OuterBorder"
Storyboard.TargetProperty
=
"Background"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemBackground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"InnerBorder"
Storyboard.TargetProperty
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemInnerBorder_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
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
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
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"InnerBorder"
BorderBrush
=
"{StaticResource MonthViewTimeRulerItemBackground}"
BorderThickness
=
"1"
>
<
ContentControl
x:Name
=
"Content"
Content
=
"{TemplateBinding Content}"
Margin
=
"-2"
/>
</
Border
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"MonthGoToDayTodayButtonStyle"
TargetType
=
"telerik:RadButton"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource MonthViewTimeRulerItemForeground_Today}"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:RadButton"
>
<
Border
x:Name
=
"OuterBorder"
BorderBrush
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_Today}"
Background
=
"{StaticResource MonthViewTimeRulerItemBackground_Today}"
BorderThickness
=
"1"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"OuterBorder"
Storyboard.TargetProperty
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_TodayMouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"OuterBorder"
Storyboard.TargetProperty
=
"Background"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemBackground_TodayMouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"InnerBorder"
Storyboard.TargetProperty
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemInnerBorder_TodayMouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"OuterBorder"
Storyboard.TargetProperty
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_TodayPressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
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"
BorderBrush
=
"{StaticResource MonthViewTimeRulerItemInnerBorder_Today}"
BorderThickness
=
"1"
>
<
ContentPresenter
Margin
=
"-2"
/>
</
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
>Collasped</
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
>
<
DataTemplate
x:Key
=
"MonthGroupTemplate"
>
<
TextBlock
Text
=
"{Binding DateTime, StringFormat=dddd}"
Margin
=
"6 2"
/>
</
DataTemplate
>
<
DataTemplate
x:Key
=
"MonthItemTemplate"
>
<
TextBlock
Text
=
"{Binding DateTime, StringFormat=dd}"
Margin
=
"6 2"
/>
</
DataTemplate
>
<!-- End Theme -->
<
DataTemplate
x:Key
=
"AppointmentToolTipTemplate"
>
<
Grid
MaxWidth
=
"300"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"43"
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
TextBlock
Text
=
"{Binding Subject}"
Grid.ColumnSpan
=
"2"
TextWrapping
=
"Wrap"
Margin
=
"5 8 4 3"
FontWeight
=
"Bold"
/>
<
Image
Grid.Row
=
"1"
VerticalAlignment
=
"Top"
HorizontalAlignment
=
"Left"
Margin
=
"5 5 0 0"
Source
=
"../../Images/ScheduleView/CustomStyles/clock.png"
Width
=
"28"
Height
=
"29"
/>
<
StackPanel
Orientation
=
"Vertical"
Grid.Column
=
"1"
Grid.Row
=
"1"
Margin
=
"0 5 0 0"
>
<
StackPanel
Orientation
=
"Horizontal"
Margin
=
"0 0 0 0"
>
<
TextBlock
Text
=
"{Binding Start, StringFormat='hh:mm tt'}"
TextWrapping
=
"Wrap"
FontSize
=
"10"
/>
<
TextBlock
Text
=
" - "
FontSize
=
"10"
/>
<
TextBlock
Text
=
"{Binding End, StringFormat='hh:mm tt'}"
TextWrapping
=
"Wrap"
FontSize
=
"10"
/>
</
StackPanel
>
<
TextBlock
Text
=
"{Binding Start, StringFormat='dddd dd MMM yyyy'}"
Margin
=
"0 3"
FontSize
=
"10"
/>
</
StackPanel
>
<
TextBlock
Grid.Row
=
"2"
Grid.ColumnSpan
=
"2"
Text
=
"{Binding Body}"
Margin
=
"5 3 5 8"
TextWrapping
=
"Wrap"
/>
</
Grid
>
</
DataTemplate
>
<
DataTemplate
x:Key
=
"AppointmentTemplate"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Grid.Row
=
"0"
Text
=
"{Binding Appointment.Resources[1].ResourceName}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"13"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
<
TextBlock
Grid.Row
=
"1"
Text
=
"{Binding Appointment.Subject}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"9"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
<
TextBlock
Grid.Row
=
"2"
Text
=
"{Binding Appointment.Body}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"9"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
<
TextBlock
Grid.Row
=
"3"
Text
=
"{Binding Appointment.Start}"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
FontSize
=
"9"
Foreground
=
"Black"
FontWeight
=
"Bold"
/>
</
Grid
>
</
DataTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector
x:Key
=
"GroupHeaderContentTemplateSelector"
>
<!-- Default templates: -->
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalMonthViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"4,1"
Text
=
"{Binding Name, StringFormat=%d MMM}"
/>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalMonthViewDateTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalDayViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"4,1"
Text
=
"{Binding Name, StringFormat=dd.MM.yyyy}"
/>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalDayViewDateTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalWeekViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"4,1"
Text
=
"{Binding Name, StringFormat=dd dddd}"
/>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalWeekViewDateTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalResourceTemplate
>
<
DataTemplate
>
<
Border
Background
=
"{Binding Name.Brush}"
Height
=
"80"
Margin
=
"1 1 1 0"
>
<
StackPanel
Margin
=
"5 5 5 5"
Orientation
=
"Horizontal"
>
<
StackPanel
Orientation
=
"Vertical"
>
<
TextBlock
Foreground
=
"Black"
FontWeight
=
"ExtraBold"
FontSize
=
"12"
Margin
=
"0 0 0 5"
Text
=
"{Binding Name.DisplayName}"
/>
</
StackPanel
>
</
StackPanel
>
</
Border
>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.HorizontalResourceTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalWeekViewDateTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
TextBlock
Margin
=
"1,4"
Text
=
"{Binding Name, StringFormat=dd dddd}"
VerticalAlignment
=
"Top"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalWeekViewDateTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalDayViewDateTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
TextBlock
Margin
=
"1,4"
Text
=
"{Binding Name, StringFormat=dd.MM.yyyy}"
VerticalAlignment
=
"Top"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalDayViewDateTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalMonthViewDateTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
TextBlock
Margin
=
"1,4"
Text
=
"{Binding Name, StringFormat=%d MMM}"
VerticalAlignment
=
"Top"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalMonthViewDateTemplate
>
<
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalResourceTemplate
>
<
DataTemplate
>
<
Border
Background
=
"{Binding Name.Brush}"
Width
=
"120"
Margin
=
"0 0 0 0"
>
<
StackPanel
Margin
=
"7 6 7 6"
>
<
TextBlock
Foreground
=
"Black"
FontWeight
=
"ExtraBold"
FontSize
=
"14"
Margin
=
"0 4"
Text
=
"{Binding Name.DisplayName}"
/>
</
StackPanel
>
</
Border
>
</
DataTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector.VerticalResourceTemplate
>
</
RadSchedulerView:OrientedGroupHeaderContentTemplateSelector
>
<!-- Highlights -->
<
Style
x:Key
=
"HighlightItemStyle"
TargetType
=
"RadSchedulerView: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
=
"RadSchedulerView:HighlightItem"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
TargetType
=
"RadSchedulerView:HighlightItem"
BasedOn
=
"{StaticResource HighlightItemStyle}"
/>
<
Style
x:Key
=
"DragDropHighlightStyle"
TargetType
=
"RadSchedulerView: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 Start,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 End,StringFormat=t}"
/>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"MouseOverHighlightStyle"
TargetType
=
"RadSchedulerView:HighlightItem"
>
<
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
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
>
<
Border
BorderBrush
=
"{StaticResource DecorationRectangleInnerBorder_MouseOver}"
BorderThickness
=
"1"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"SelectionHighlightStyle"
TargetType
=
"RadSchedulerView: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
=
"{TemplateBinding Background}"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
>
<
Border
BorderBrush
=
"{StaticResource DecorationRectangleInnerBorder_Selected}"
BorderThickness
=
"1"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
RadSchedulerView:SpecialSlotStyleSelector
x:Key
=
"SpecialSlotStyleSelector"
>
<
RadSchedulerView:SpecialSlotStyleSelector.DefaultStyle
>
<
Style
TargetType
=
"RadSchedulerView:HighlightItem"
BasedOn
=
"{StaticResource HighlightItemStyle}"
>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource SpecialSlotBackground}"
/>
</
Style
>
</
RadSchedulerView:SpecialSlotStyleSelector.DefaultStyle
>
<
RadSchedulerView:SpecialSlotStyleSelector.ReadOnlyStyle
>
<
Style
TargetType
=
"RadSchedulerView:HighlightItem"
BasedOn
=
"{StaticResource HighlightItemStyle}"
>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource SpecialSlotBackground_ReadOnly}"
/>
</
Style
>
</
RadSchedulerView:SpecialSlotStyleSelector.ReadOnlyStyle
>
</
RadSchedulerView:SpecialSlotStyleSelector
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector
x:Key
=
"TimeRulerItemStyleSelector"
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MonthViewGroupStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerMonthViewGroupItem"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource TimeRulerGroupItemForeground}"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"RadSchedulerView: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
>
<
Setter
Property
=
"ContentTemplate"
Value
=
"{StaticResource MonthGroupTemplate}"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MonthViewGroupStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerMonthViewItem"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource MonthViewTimeRulerItemForeground_Normal}"
/>
<
Setter
Property
=
"Margin"
Value
=
"0 -1 -1 0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"RadSchedulerView:TimeRulerMonthViewItem"
>
<
Grid
>
<
telerik:RadButton
Padding
=
"0"
VerticalAlignment
=
"Top"
Height
=
"22"
Style
=
"{StaticResource MonthGoToDayButtonStyle}"
Command
=
"RadSchedulerView: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
>
<
Setter
Property
=
"ContentTemplate"
Value
=
"{StaticResource MonthItemTemplate}"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MonthViewTodayTickStyle
>
<
Style
TargetType
=
"RadSchedulerView: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
=
"RadSchedulerView:TimeRulerMonthViewItem"
>
<
Grid
>
<
Border
BorderBrush
=
"{StaticResource GroupHeaderBorderBrush_Today}"
BorderThickness
=
"{StaticResource HorizontalGroupHeaderTodayBorderThickness}"
/>
<
telerik:RadButton
Padding
=
"0"
VerticalAlignment
=
"Top"
Height
=
"22"
Style
=
"{StaticResource MonthGoToDayTodayButtonStyle}"
Command
=
"RadSchedulerView: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
>
<
Setter
Property
=
"ContentTemplate"
Value
=
"{StaticResource MonthItemTemplate}"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MonthViewTodayTickStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.HorizontalGroupItemStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerGroupItem"
BasedOn
=
"{StaticResource TimeRulerGroupItemBaseStyle}"
>
<
Setter
Property
=
"Margin"
Value
=
"0 0 -1 0"
/>
<
Setter
Property
=
"FontWeight"
Value
=
"ExtraBold"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.HorizontalGroupItemStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.VerticalGroupItemStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerGroupItem"
BasedOn
=
"{StaticResource TimeRulerGroupItemBaseStyle}"
>
<
Setter
Property
=
"Margin"
Value
=
"0 0 0 -1"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.VerticalGroupItemStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MajorHorizontalTickStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerItem"
BasedOn
=
"{StaticResource TimeRulerItemMajorTickBaseStyle}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource TimeRulerItemMajorTickStroke}"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1 0 0 0"
/>
<
Setter
Property
=
"Padding"
Value
=
"6 3"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MajorHorizontalTickStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MajorVerticalTickStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerItem"
BasedOn
=
"{StaticResource TimeRulerItemMajorTickBaseStyle}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource MajorTickColor}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0 1 0 0"
/>
<
Setter
Property
=
"MinWidth"
Value
=
"60"
/>
<
Setter
Property
=
"Margin"
Value
=
"{StaticResource TimeRulerItemMargin_Vertical}"
/>
<
Setter
Property
=
"Padding"
Value
=
"{StaticResource TimeRulerItemPadding_Vertical}"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Right"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MajorVerticalTickStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MinorHorizontalTickStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerItem"
BasedOn
=
"{StaticResource TimeRulerItemMinorTickBaseStyle}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource TimeRulerItemMinorTickStroke}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1 0 0 0"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Bottom"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"Height"
Value
=
"4"
/>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MinorHorizontalTickStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MinorVerticalTickStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerItem"
BasedOn
=
"{StaticResource TimeRulerItemMinorTickBaseStyle}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource MinorTickColor}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0 1 0 0"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Right"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Right"
/>
<
Setter
Property
=
"Margin"
Value
=
"{StaticResource TimeRulerItemMargin_Vertical}"
/>
</
Style
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.MinorVerticalTickStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.HorizontalLineStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerLine"
BasedOn
=
"{StaticResource TimeRulerLineBaseStyle}"
/>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.HorizontalLineStyle
>
<
RadSchedulerView:OrientedTimeRulerItemStyleSelector.VerticalLineStyle
>
<
Style
TargetType
=
"RadSchedulerView:TimeRulerLine"
BasedOn
=
"{StaticResource TimeRulerLineBaseStyle}"
/>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector.VerticalLineStyle
>
</
RadSchedulerView:OrientedTimeRulerItemStyleSelector
>
</
UserControl.Resources
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
telerik:RadButton
Content
=
"Create New Event"
telerik:StyleManager.Theme
=
"Windows7"
FontWeight
=
"Bold"
Width
=
"125"
Height
=
"30"
HorizontalAlignment
=
"Left"
Click
=
"RadButton_Click"
Grid.Column
=
"0"
Grid.Row
=
"0"
/>
<
sdk:Label
x:Name
=
"lblStatus"
Content
=
"Wait.."
HorizontalAlignment
=
"Left"
Padding
=
"150 0 0 0"
Grid.Column
=
"0"
Grid.Row
=
"0"
/>
<
telerik:RadBusyIndicator
x:Name
=
"busyIndicator"
Grid.Row
=
"1"
BusyContent
=
"Loading data...."
>
<
telerik:RadScheduleView
x:Name
=
"SchedulerView"
Grid.Column
=
"0"
Grid.Row
=
"1"
TimeRulerItemTemplateSelector
=
"{x:Null}"
TimeRulerItemStyleSelector
=
"{StaticResource TimeRulerItemStyleSelector}"
telerik:StyleManager.Theme
=
"Windows7"
GroupHeaderContentTemplateSelector
=
"{StaticResource GroupHeaderContentTemplateSelector}"
MinAppointmentHeight
=
"80"
AppointmentCreated
=
"SchedulerView_AppointmentCreated"
AppointmentDeleted
=
"SchedulerView_AppointmentDeleted"
AppointmentEdited
=
"SchedulerView_AppointmentEdited"
ScrollViewer.HorizontalScrollBarVisibility
=
"Auto"
ScrollViewer.VerticalScrollBarVisibility
=
"Auto"
AppointmentItemContentTemplate
=
"{StaticResource AppointmentTemplate}"
SpecialSlotStyleSelector
=
"{StaticResource SpecialSlotStyleSelector}"
ShowDialog
=
"SchedulerView_ShowDialog"
EditAppointmentDialogStyle
=
"{StaticResource EditAppointmentDialogStyle}"
ToolTipTemplate
=
"{StaticResource AppointmentToolTipTemplate}"
IsInlineEditingEnabled
=
"True"
>
<
telerik:RadScheduleView.GroupDescriptionsSource
>
<
telerik:GroupDescriptionCollection
>
<
telerik:ResourceGroupDescription
ResourceType
=
"Rooms"
/>
<!--<
telerik:ResourceGroupDescription
ResourceType
=
"Resources"
ShowNullGroup
=
"True"
/>
<
telerik:ResourceGroupDescription
ResourceType
=
"Booking Status"
ShowNullGroup
=
"True"
/>-->
</
telerik:GroupDescriptionCollection
>
</
telerik:RadScheduleView.GroupDescriptionsSource
>
<
telerik:RadScheduleView.ViewDefinitions
>
<!--<
telerik:DayViewDefinition
TimerulerMajorTickStringFormat
=
"{}{0:%H}:{0:%m} "
GroupHeaderDateStringFormat
=
"{}{0:dddd(MM.dd.yyyy)}"
MinorTickLength
=
"30min"
MajorTickLength
=
"1d"
MinTimeRulerExtent
=
"2000"
/>
<
telerik:WeekViewDefinition
MinorTickLength
=
"30min"
MajorTickLength
=
"1d"
TimerulerMajorTickStringFormat
=
"{}{0:h tt}:{0:mm} "
TimerulerMinorTickStringFormat
=
":{0:mm} "
GroupHeaderDateStringFormat
=
"{}{0:dddd(MM/dd)}"
MinTimeRulerExtent
=
"2000"
/>
<
telerik:MonthViewDefinition
TimerulerGroupStringFormat="< {0:dddd} >"
TimerulerMajorTickStringFormat="{}{0:%M}.{0:%d}"
GroupHeaderDateStringFormat="{}{0:MM/dd}" />-->
<
telerik:TimelineViewDefinition
TimerulerGroupStringFormat
=
"{}{0:dd.MM.yyyy}"
TimerulerMajorTickStringFormat
=
"{}{0:%H}"
TimerulerMinorTickStringFormat
=
":{0:%m}"
MajorTickLength
=
"1h"
MinorTickLength
=
"15min"
DayStartTime
=
"8:00"
DayEndTime
=
"20:00"
VisibleDays
=
"1"
MinTimeRulerExtent
=
"800"
Title
=
"My Calendar"
LargeChangeInterval
=
"1d"
/>
</
telerik:RadScheduleView.ViewDefinitions
>
</
telerik:RadScheduleView
>
</
telerik:RadBusyIndicator
>
<
TextBlock
Text="Choose Culture =>" Grid.Row="0" Margin="8 0" Grid.Column="1" FontWeight="Bold"
VerticalAlignment="Center" HorizontalAlignment="Left" />
<
telerik:RadComboBox
x:Name
=
"AvailableCulturesComboBox"
Grid.Row
=
"1"
Grid.Column
=
"1"
VerticalAlignment
=
"Top"
Margin
=
"8 0"
SelectedIndex
=
"0"
Width
=
"150"
DisplayMemberPath
=
"DisplayName"
telerik:StyleManager.Theme
=
"Windows7"
/>
</
Grid
>
</
UserControl
>
thanks & regards
palak