This question is locked. New answers and comments are not allowed.
I have troubles translating part of the controls.
Is there something more I need too do then to use a specific culture?
I tried to analyse the localization demo but the only thing it does is change the culture...
Are there ressources elsewhere to translate the GUI? Where?
See the attached screenshot. My default culture is FR. Only the top right date is in french.
How do I localize the left hours...
How do I translate the top text ? Week, Month, Timeline...
Here is what I do whith the localization manager:
public class CustomLocalizationManager : LocalizationManager
{
public override string GetStringOverride(string key)
{
switch (key)
{
//ScheduleView
//http://www.telerik.com/help/wpf/radscheduleview-localization.html
case "Timeline":
return "Ligne de temps";
case "Day":
return "Jour";
case "Week":
return "Semaine";
case "Month":
return "Mois";
case "SaveAndCloseCommandText":
return "Speichern & Sliessen";
case "EditRecurrence":
return "Serie bearbeithen";
case "Categories":
return "Categories";
}
return base.GetStringOverride(key);
}
}
None of those keys are picked up. The only keys I see come trought are keys like EditAppointment and SetMonthViewMode for exemple.
Also the text of the add/edit dialogs should be translated...
How can I do his in my program, and how is it done in the demos?
Thank you for your help,
John.
Is there something more I need too do then to use a specific culture?
I tried to analyse the localization demo but the only thing it does is change the culture...
Are there ressources elsewhere to translate the GUI? Where?
See the attached screenshot. My default culture is FR. Only the top right date is in french.
How do I localize the left hours...
How do I translate the top text ? Week, Month, Timeline...
Here is what I do whith the localization manager:
LocalizationManager.Manager =
new
CustomLocalizationManager();
LocalizationManager.DefaultCulture =
new
CultureInfo(
"fr"
);
public class CustomLocalizationManager : LocalizationManager
{
public override string GetStringOverride(string key)
{
switch (key)
{
//ScheduleView
//http://www.telerik.com/help/wpf/radscheduleview-localization.html
case "Timeline":
return "Ligne de temps";
case "Day":
return "Jour";
case "Week":
return "Semaine";
case "Month":
return "Mois";
case "SaveAndCloseCommandText":
return "Speichern & Sliessen";
case "EditRecurrence":
return "Serie bearbeithen";
case "Categories":
return "Categories";
}
return base.GetStringOverride(key);
}
}
None of those keys are picked up. The only keys I see come trought are keys like EditAppointment and SetMonthViewMode for exemple.
Also the text of the add/edit dialogs should be translated...
How can I do his in my program, and how is it done in the demos?
Thank you for your help,
John.
12 Answers, 1 is accepted
0

Catherine
Top achievements
Rank 1
answered on 01 Mar 2011, 11:06 AM
Hello John,
You can use Title Property for ViewDefinition :
You can use Title Property for ViewDefinition :
<
telerik:RadScheduleView.ViewDefinitions>
<telerik:DayViewDefinition Title="Jour"/>
<telerik:WeekViewDefinition Title="Semaine" />
<telerik:MonthViewDefinition Title="Mois" />
</telerik:RadScheduleView.ViewDefinitions>
You can use a template to locate the remaining elements.
Regards.
C.Léoni.
0

Jonx
Top achievements
Rank 2
answered on 01 Mar 2011, 04:00 PM
Hello Catherine,
Thank you for your help...
Thanks for the title translation... it's working.
For the rest I need an exemple...
I'm sure they must be another way then using templates...
Also I would like to understand how it's done in the ScheduleView demo.
John.
Thank you for your help...
Thanks for the title translation... it's working.
For the rest I need an exemple...
I'm sure they must be another way then using templates...
Also I would like to understand how it's done in the ScheduleView demo.
John.
0

Catherine
Top achievements
Rank 1
answered on 01 Mar 2011, 04:37 PM
<
ResourceDictionary
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:scheduleVieW
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"
>
<
SolidColorBrush
x:Key
=
"RadScheduleForeground"
Color
=
"Black"
/>
<!-- Les entrées du dictionnaire de ressources sont définies ici. -->
<
SolidColorBrush
x:Key
=
"RadScheduleBackground"
Color
=
"#FFFFFFFF"
/>
<
SolidColorBrush
x:Key
=
"RadScheduleBorderBrush"
Color
=
"#00FFFFFF"
/>
<
SolidColorBrush
x:Key
=
"TimeRulerGroupItemForeground"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderBorderBrush"
Color
=
"#FFCBCBCB"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderOuterBorder_Vertical"
Color
=
"#FF848484"
/>
<
LinearGradientBrush
x:Key
=
"GroupHeaderHeaderBackground_Vertical"
EndPoint
=
"1,0.5"
StartPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderInnerBorder_Vertical"
Color
=
"#FFFFFFFF"
/>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderOuterBorder"
Color
=
"#FF848484"
/>
<
LinearGradientBrush
x:Key
=
"GroupHeaderHeaderBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"GroupHeaderHeaderInnerBorder"
Color
=
"#FFFFFFFF"
/>
<
LinearGradientBrush
x:Key
=
"GroupHeaderHeaderOuterBorder_Today"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FF282828"
/>
</
LinearGradientBrush
>
<
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_VerticalToday"
EndPoint
=
"1,0.5"
StartPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FF282828"
/>
</
LinearGradientBrush
>
<
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
>
<
Thickness
x:Key
=
"GroupHeaderTodayBorderThickness"
>0,2,2,2</
Thickness
>
<
ControlTemplate
x:Key
=
"GroupHeaderTemplate"
TargetType
=
"telerik:GroupHeader"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"Stretch"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"Left"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"HeaderOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"HeaderOuterBorderVertical"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"HeaderOuterBorderVertical"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderHeaderOuterBorder_Today}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"HeaderOuterBorderVertical"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderHeaderBackground_Today}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"HeaderInnerBorderVertical"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderHeaderInnerBorder_Today}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"HeaderOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderHeaderOuterBorder_VerticalToday}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"HeaderOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderHeaderBackground_VerticalToday}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"HeaderInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderHeaderInnerBorder_VerticalToday}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderTodayBorderThickness}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"1"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
Grid
x:Name
=
"Header"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Top"
>
<
Border
x:Name
=
"HeaderOuterBorder"
BorderBrush
=
"{StaticResource GroupHeaderHeaderOuterBorder_Vertical}"
BorderThickness
=
"1"
Background
=
"{StaticResource GroupHeaderHeaderBackground_Vertical}"
>
<
Border
x:Name
=
"HeaderInnerBorder"
BorderBrush
=
"{StaticResource GroupHeaderHeaderInnerBorder_Vertical}"
BorderThickness
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"HeaderOuterBorderVertical"
BorderBrush
=
"{StaticResource GroupHeaderHeaderOuterBorder}"
BorderThickness
=
"1"
Background
=
"{StaticResource GroupHeaderHeaderBackground}"
Visibility
=
"Collapsed"
>
<
Border
x:Name
=
"HeaderInnerBorderVertical"
BorderBrush
=
"{StaticResource GroupHeaderHeaderInnerBorder}"
BorderThickness
=
"1"
/>
</
Border
>
<
ContentPresenter
Margin
=
"2"
/>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
<
Style
x:Key
=
"GroupHeaderBaseStyle"
TargetType
=
"telerik:GroupHeader"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource TimeRulerGroupItemForeground}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource GroupHeaderBorderBrush}"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Canvas.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource GroupHeaderTemplate}"
/>
</
Style
>
<
SolidColorBrush
x:Key
=
"GroupHeaderBorderBrush_Today"
Color
=
"#FFFFC92B"
/>
<
Style
x:Key
=
"HorizontalTodayGroupHeaderStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
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
=
"HorizontalGroupHeaderStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
Setter
Property
=
"Margin"
Value
=
"0 0 -1 0"
/>
<
Setter
Property
=
"Padding"
Value
=
"-1 0 0 0"
/>
<
Setter
Property
=
"Canvas.ZIndex"
Value
=
"-2"
/>
</
Style
>
<
SolidColorBrush
x:Key
=
"HorizontalBottomLevelTodayForeground"
Color
=
"#FF000000"
/>
<
Style
x:Key
=
"HorizontalBottomLevelTodayGroupHeaderStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
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
=
"HorizontalBottomLevelGroupHeaderStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
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
=
"MonthViewBottomLevelWeekGroupStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
Setter
Property
=
"Margin"
Value
=
"0 0 0 -1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0 21 0 18"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"85"
/>
</
Style
>
<
Style
x:Key
=
"MonthViewWeekGroupStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
Setter
Property
=
"Margin"
Value
=
"0 0 0 -1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0 -1 0 0"
/>
</
Style
>
<
Style
x:Key
=
"VerticalBottomLevelTodayGroupHeaderStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
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
=
"VerticalTodayGroupHeaderStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
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"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
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
=
"VerticalGroupHeaderStyle"
BasedOn
=
"{StaticResource GroupHeaderBaseStyle}"
TargetType
=
"telerik:GroupHeader"
>
<
Setter
Property
=
"Margin"
Value
=
"0 0 0 -1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0 -1 0 0"
/>
<
Setter
Property
=
"Canvas.ZIndex"
Value
=
"-2"
/>
</
Style
>
<
telerik:OrientedGroupHeaderStyleSelector
x:Key
=
"GroupHeaderStyleSelector"
HorizontalTodayStyle
=
"{StaticResource HorizontalTodayGroupHeaderStyle}"
HorizontalStyle
=
"{StaticResource HorizontalGroupHeaderStyle}"
HorizontalTodayBottomLevelStyle
=
"{StaticResource HorizontalBottomLevelTodayGroupHeaderStyle}"
HorizontalBottomLevelStyle
=
"{StaticResource HorizontalBottomLevelGroupHeaderStyle}"
MonthViewBottomLevelWeekGroupStyle
=
"{StaticResource MonthViewBottomLevelWeekGroupStyle}"
MonthViewWeekGroupStyle
=
"{StaticResource MonthViewWeekGroupStyle}"
VerticalTodayBottomLevelStyle
=
"{StaticResource VerticalBottomLevelTodayGroupHeaderStyle}"
VerticalTodayStyle
=
"{StaticResource VerticalTodayGroupHeaderStyle}"
VerticalBottomLevelStyle
=
"{StaticResource VerticalBottomLevelGroupHeaderStyle}"
VerticalStyle
=
"{StaticResource VerticalGroupHeaderStyle}"
/>
<
telerik:OrientedGroupHeaderContentTemplateSelector
x:Key
=
"GroupHeaderContentTemplateSelector"
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalMonthViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Height
=
"16"
Margin
=
"4 1"
Text
=
"{Binding Name, StringFormat=%d MMM, ConverterCulture=fr-FR}"
/>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalMonthViewDateTemplate
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalDayViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Height
=
"16"
Margin
=
"4 1"
Text
=
"{Binding Name, StringFormat=dd dddd, ConverterCulture=fr-FR}"
/>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalDayViewDateTemplate
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalWeekViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Height
=
"16"
Margin
=
"4 1"
Text
=
"{Binding Name, StringFormat=dd dddd, ConverterCulture=fr-FR}"
/>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalWeekViewDateTemplate
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalResourceTemplate
>
<
DataTemplate
>
<
ContentPresenter
Content
=
"{Binding}"
Height
=
"16"
Margin
=
"4 1"
/>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalResourceTemplate
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalWeekViewDateTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
VerticalAlignment
=
"Top"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
TextBlock
Height
=
"16"
Margin
=
"4 1"
Text
=
"{Binding Name, StringFormat=dd dddd, ConverterCulture=fr-FR}"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalWeekViewDateTemplate
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalDayViewDateTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
VerticalAlignment
=
"Top"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
TextBlock
Height
=
"16"
Margin
=
"4 1"
Text
=
"{Binding Name, StringFormat=dd dddd, ConverterCulture=fr-FR}"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalDayViewDateTemplate
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalMonthViewDateTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
VerticalAlignment
=
"Top"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
TextBlock
Height
=
"16"
Margin
=
"4 1"
Text
=
"{Binding Name, StringFormat=%d MMM, ConverterCulture=fr-FR}"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalMonthViewDateTemplate
>
<
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalResourceTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
VerticalAlignment
=
"Top"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
ContentPresenter
Content
=
"{Binding}"
Height
=
"16"
Margin
=
"1 4"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.VerticalResourceTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector
>
<
SolidColorBrush
x:Key
=
"TimeRulerLineStroke"
Color
=
"#FFCBCBCB"
/>
<
Style
x:Key
=
"TimeRulerLineStyle"
TargetType
=
"telerik:TimeRulerLine"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource TimeRulerLineStroke}"
/>
<
Setter
Property
=
"Background"
Value
=
"White"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:TimeRulerLine"
>
<
Border
x:Name
=
"LineVisual"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"0 1 0 0"
Background
=
"{TemplateBinding Background}"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"LineVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"1 0 0 0"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"TimeRulerGroupItemStyle"
TargetType
=
"telerik: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
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:TimeRulerGroupItem"
>
<
Border
x:Name
=
"OuterBorder"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
/>
<
VisualState
x:Name
=
"Vertical"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderHeaderInnerBorder_Vertical}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"InnerBorder"
BorderBrush
=
"{StaticResource GroupHeaderHeaderInnerBorder}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
>
<
ContentPresenter
x:Name
=
"Content"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemForeground_Normal"
Color
=
"#FF000000"
/>
<
Style
x:Key
=
"TimeRulerItemStyle"
TargetType
=
"telerik:TimeRulerItem"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource MonthViewTimeRulerItemForeground_Normal}"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:TimeRulerItem"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
ContentPresenter
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
SolidColorBrush
x:Key
=
"TimeRulerItemMajorTickStroke_Vertical"
Color
=
"#FFCBCBCB"
/>
<
Thickness
x:Key
=
"TimeRulerItemMargin_Vertical"
>5 0</
Thickness
>
<
Thickness
x:Key
=
"TimeRulerItemPadding_Vertical"
>0</
Thickness
>
<
Style
x:Key
=
"VerticalTimeRulerItemStyle"
BasedOn
=
"{StaticResource TimeRulerItemStyle}"
TargetType
=
"telerik:TimeRulerItem"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource TimeRulerItemMajorTickStroke_Vertical}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0 1 0 0"
/>
<
Setter
Property
=
"MinWidth"
Value
=
"20"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Right"
/>
<
Setter
Property
=
"Margin"
Value
=
"{StaticResource TimeRulerItemMargin_Vertical}"
/>
<
Setter
Property
=
"Padding"
Value
=
"{StaticResource TimeRulerItemPadding_Vertical}"
/>
</
Style
>
<
Style
x:Key
=
"HorizontalTimeRulerItemStyle"
BasedOn
=
"{StaticResource TimeRulerItemStyle}"
TargetType
=
"telerik:TimeRulerItem"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource TimeRulerItemMajorTickStroke_Vertical}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1 0 0 0"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"4"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Bottom"
/>
</
Style
>
<
Thickness
x:Key
=
"HorizontalGroupHeaderTodayBorderThickness"
>2 0 2 2</
Thickness
>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemForeground_Today"
Color
=
"#FF000000"
/>
<
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
=
"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
>
<
LinearGradientBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_Today"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder_TodayMouseOver"
Color
=
"#FFFFC92B"
/>
<
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
>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_TodayMouseOver"
Color
=
"#FFFFFFFF"
/>
<
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
=
"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
>
<
LinearGradientBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_TodayPressed"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
<
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}"
BorderThickness
=
"1"
Background
=
"{StaticResource MonthViewTimeRulerItemBackground_Today}"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_TodayMouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemBackground_TodayMouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemInnerBorder_TodayMouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_TodayPressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemBackground_TodayPressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
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
>
<
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
=
"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"
/>
<
SolidColorBrush
x:Key
=
"MonthViewExpandIconStroke_MouseOver"
Color
=
"#FF000000"
/>
<
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
=
"MonthViewExpandIconStroke_Pressed"
Color
=
"#FF000000"
/>
<
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.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandOuterBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandButtonBackground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandInnerBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandIconStroke_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandIconStroke_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandButtonBackground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandInnerBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewExpandIconStroke_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Collapse"
>
<
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.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Expand"
>
<
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.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Root"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"{StaticResource MonthViewExpandOuterBorder}"
BorderThickness
=
"1"
Background
=
"{StaticResource MonthViewExpandButtonBackground}"
CornerRadius
=
"1"
>
<
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"
Data
=
"M0,4 L7,4 L3.5,0 Z"
Fill
=
"{StaticResource MonthViewExpandIconStroke}"
HorizontalAlignment
=
"Center"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"TimeRulerMonthViewTodayItemStyle"
TargetType
=
"telerik: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
=
"telerik:TimeRulerMonthViewItem"
>
<
Grid
>
<
Border
BorderBrush
=
"{StaticResource GroupHeaderBorderBrush_Today}"
BorderThickness
=
"{StaticResource HorizontalGroupHeaderTodayBorderThickness}"
/>
<
telerik:RadButton
CommandParameter
=
"{Binding Content.DateTime.Date, RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.SetDayViewMode"
Height
=
"22"
Padding
=
"0"
Style
=
"{StaticResource MonthGoToDayTodayButtonStyle}"
VerticalAlignment
=
"Top"
>
<
ContentPresenter
Margin
=
"{TemplateBinding Padding}"
/>
</
telerik:RadButton
>
<
telerik:RadToggleButton
HorizontalAlignment
=
"Right"
IsChecked
=
"{Binding IsExpanded, Mode=TwoWay}"
Style
=
"{StaticResource ExpandMonthViewButtonStyle}"
Visibility
=
"{Binding ExpandButtonVisibility}"
VerticalAlignment
=
"Bottom"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"TimeRulerMonthViewGroupItemStyle"
TargetType
=
"telerik: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
=
"telerik:TimeRulerMonthViewGroupItem"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
ContentPresenter
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder"
Color
=
"#FF848484"
/>
<
LinearGradientBrush
x:Key
=
"MonthViewTimeRulerItemBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemOuterBorder_MouseOver"
Color
=
"#FFFFC92B"
/>
<
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
>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemInnerBorder_MouseOver"
Color
=
"#FFFFFFFF"
/>
<
SolidColorBrush
x:Key
=
"MonthViewTimeRulerItemForeground_MouseOver"
Color
=
"#FF000000"
/>
<
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
=
"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
=
"MonthViewTimeRulerItemInnerBorder_Pressed"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
<
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}"
BorderThickness
=
"1"
Background
=
"{StaticResource MonthViewTimeRulerItemBackground}"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemBackground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemInnerBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemForeground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource MonthViewTimeRulerItemBackground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
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
=
"TimeRulerMonthViewItemStyle"
TargetType
=
"telerik:TimeRulerMonthViewItem"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource MonthViewTimeRulerItemForeground_Normal}"
/>
<
Setter
Property
=
"Margin"
Value
=
"0 -1 -1 0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:TimeRulerMonthViewItem"
>
<
Grid
>
<
telerik:RadButton
CommandParameter
=
"{Binding Content.DateTime.Date, RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.SetDayViewMode"
Height
=
"22"
Padding
=
"0"
Style
=
"{StaticResource MonthGoToDayButtonStyle}"
VerticalAlignment
=
"Top"
>
<
ContentPresenter
Margin
=
"{TemplateBinding Padding}"
/>
</
telerik:RadButton
>
<
telerik:RadToggleButton
HorizontalAlignment
=
"Right"
IsChecked
=
"{Binding IsExpanded, Mode=TwoWay}"
Style
=
"{StaticResource ExpandMonthViewButtonStyle}"
Visibility
=
"{Binding ExpandButtonVisibility}"
VerticalAlignment
=
"Bottom"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"TimeRulerGroupItemStyle_Vertical"
BasedOn
=
"{StaticResource TimeRulerGroupItemStyle}"
TargetType
=
"telerik:TimeRulerGroupItem"
>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource GroupHeaderHeaderBackground_Vertical}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource GroupHeaderHeaderOuterBorder_Vertical}"
/>
<
Setter
Property
=
"Orientation"
Value
=
"Vertical"
/>
</
Style
>
<
telerik:OrientedTimeRulerItemStyleSelector
x:Key
=
"TimeRulerItemStyleSelector"
HorizontalLineStyle
=
"{StaticResource TimeRulerLineStyle}"
HorizontalGroupItemStyle
=
"{StaticResource TimeRulerGroupItemStyle}"
MinorVerticalTickStyle
=
"{StaticResource VerticalTimeRulerItemStyle}"
MajorHorizontalTickStyle
=
"{StaticResource HorizontalTimeRulerItemStyle}"
MonthViewTodayTickStyle
=
"{StaticResource TimeRulerMonthViewTodayItemStyle}"
MonthViewGroupStyle
=
"{StaticResource TimeRulerMonthViewGroupItemStyle}"
MinorHoriozntalTickStyle
=
"{StaticResource HorizontalTimeRulerItemStyle}"
MajorVerticalTickStyle
=
"{StaticResource VerticalTimeRulerItemStyle}"
MonthViewTickStyle
=
"{StaticResource TimeRulerMonthViewItemStyle}"
VerticalGroupItemStyle
=
"{StaticResource TimeRulerGroupItemStyle_Vertical}"
VerticalLineStyle
=
"{StaticResource TimeRulerLineStyle}"
/>
<
telerik:TimeRulerItemTemplateSelector
x:Key
=
"TimeRulerItemTemplateSelector"
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
TextAlignment
=
"Left"
Text
=
"{Binding DateTime, StringFormat=HH:mm}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate
>
<
DataTemplate
/>
</
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding DateTime, StringFormat=HH:mm}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding DateTime, StringFormat=HH:mm}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate
>
<
DataTemplate
/>
</
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate
>
<
DataTemplate
/>
</
telerik:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2 1"
TextAlignment
=
"Left"
Text
=
"{Binding DateTime, StringFormat=dd/MM/yyyy}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate
>
<
telerik:TimeRulerItemTemplateSelector.MonthGroupTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"6 2"
Text
=
"{Binding DateTime, StringFormat=dd}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.MonthGroupTemplate
>
<
telerik:TimeRulerItemTemplateSelector.MonthItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"6 2"
Text
=
"{Binding DateTime, StringFormat=dd}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.MonthItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"0 2"
TextAlignment
=
"Right"
Text
=
"{Binding DateTime, StringFormat=HH:mm}"
Width
=
"54"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate
>
<
DataTemplate
/>
</
telerik:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"0 2"
TextAlignment
=
"Right"
Text
=
"{Binding DateTime, StringFormat=HH:mm}"
Width
=
"54"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
VerticalAlignment
=
"Top"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
TextBlock
Height
=
"16"
Margin
=
"1 2"
TextAlignment
=
"Right"
Text
=
"{Binding DateTime, StringFormat=dd/MM/yyyy}"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"0 2"
TextAlignment
=
"Right"
Text
=
"{Binding DateTime, StringFormat=HH:mm}"
Width
=
"54"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate
>
<
DataTemplate
/>
</
telerik:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate
>
<
DataTemplate
/>
</
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate
>
</
telerik:TimeRulerItemTemplateSelector
>
<
SolidColorBrush
x:Key
=
"DecorationRectangleBackground_DragOver"
Color
=
"#99FCE7AD"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleOuterBorder_DragOver"
Color
=
"#FF848484"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleInnerBorder_DragOver"
Color
=
"#99FFFFFF"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentResizeCueTopLeftMarkStroke"
EndPoint
=
"1 1"
StartPoint
=
"0 0"
>
<
GradientStop
Color
=
"#FF000000"
Offset
=
"0.33"
/>
<
GradientStop
Color
=
"#00000000"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"AppointmentResizeCueBottomRightMarkStroke"
EndPoint
=
"0 0"
StartPoint
=
"1 1"
>
<
GradientStop
Color
=
"#FF000000"
Offset
=
"0.33"
/>
<
GradientStop
Color
=
"#00000000"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
Style
x:Key
=
"DragDropHighlightStyle"
TargetType
=
"telerik: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
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
Grid
>
<
Border
BorderBrush
=
"{StaticResource DecorationRectangleInnerBorder_DragOver}"
BorderThickness
=
"1"
/>
<
Path
HorizontalAlignment
=
"Left"
Height
=
"8"
Margin
=
"-2"
Stroke
=
"{StaticResource AppointmentResizeCueTopLeftMarkStroke}"
VerticalAlignment
=
"Top"
Width
=
"8"
>
<
Path.Data
>
<
GeometryGroup
>
<
EllipseGeometry
Center
=
"2 2"
RadiusY
=
"2"
RadiusX
=
"2"
/>
<
LineGeometry
EndPoint
=
"8 8"
StartPoint
=
"3 3"
/>
</
GeometryGroup
>
</
Path.Data
>
</
Path
>
<
TextBlock
x:Name
=
"StartTextBox"
Foreground
=
"{StaticResource RadScheduleForeground}"
HorizontalAlignment
=
"Left"
Margin
=
"4 2"
Text
=
"{Binding Start, StringFormat=t, ConverterCulture=fr-FR}"
VerticalAlignment
=
"Top"
/>
<
Path
HorizontalAlignment
=
"Right"
Height
=
"8"
Margin
=
"-2"
Stroke
=
"{StaticResource AppointmentResizeCueBottomRightMarkStroke}"
VerticalAlignment
=
"Bottom"
Width
=
"8"
>
<
Path.Data
>
<
GeometryGroup
>
<
EllipseGeometry
Center
=
"6 6"
RadiusY
=
"2"
RadiusX
=
"2"
/>
<
LineGeometry
EndPoint
=
"5 5"
StartPoint
=
"0 0"
/>
</
GeometryGroup
>
</
Path.Data
>
</
Path
>
<
TextBlock
x:Name
=
"EndTextBox"
Foreground
=
"{StaticResource RadScheduleForeground}"
HorizontalAlignment
=
"Right"
Margin
=
"4 2"
Text
=
"{Binding End, StringFormat=t, ConverterCulture=fr-FR}"
VerticalAlignment
=
"Bottom"
/>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
SolidColorBrush
x:Key
=
"DecorationRectangleBackground_MouseOver"
Color
=
"#FFFFFBD1"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleOuterBorder_MouseOver"
Color
=
"#FFFFC92B"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleInnerBorder_MouseOver"
Color
=
"#FFFFFFFF"
/>
<
Style
x:Key
=
"MouseOverHighlightStyle"
TargetType
=
"telerik: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
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
Border
BorderBrush
=
"{StaticResource DecorationRectangleInnerBorder_MouseOver}"
BorderThickness
=
"1"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
SolidColorBrush
x:Key
=
"DecorationRectangleBackground_Selected"
Color
=
"#AAFCE7AD"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleOuterBorder_Selected"
Color
=
"#AAFFC92B"
/>
<
SolidColorBrush
x:Key
=
"DecorationRectangleInnerBorder_Selected"
Color
=
"#AAFFFFFF"
/>
<
Style
x:Key
=
"SelectionHighlightStyle"
TargetType
=
"telerik: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
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
Border
BorderBrush
=
"{StaticResource DecorationRectangleInnerBorder_Selected}"
BorderThickness
=
"1"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
ControlTemplate
x:Key
=
"ResizeArrowCueTemplate"
TargetType
=
"telerik:DragArrow"
>
<
ContentPresenter
/>
</
ControlTemplate
>
<
SolidColorBrush
x:Key
=
"AppointmentItemOuterBorder_Drag"
Color
=
"#AA848484"
/>
<
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"
/>
<
DataTemplate
x:Key
=
"DragVisualCueItemTemplate"
>
<
Grid
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemOuterBorder_Drag}"
BorderThickness
=
"1"
Background
=
"{StaticResource AppointmentItemBackground_Drag}"
CornerRadius
=
"2"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemInnerBorder_Drag}"
BorderThickness
=
"1"
/>
</
Border
>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"8 2 8 2"
TextWrapping
=
"Wrap"
Text
=
"{Binding Subject}"
TextTrimming
=
"WordEllipsis"
/>
</
Grid
>
</
DataTemplate
>
<
SolidColorBrush
x:Key
=
"AppointmentResizeCueBorderBrush"
Color
=
"#FF848484"
/>
<
LinearGradientBrush
x:Key
=
"AppointmentResizeCueBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#88FDD3A8"
/>
<
GradientStop
Color
=
"#88FCE79F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
telerik:InvertedBooleanToVisibilityConverter
x:Key
=
"InvertedBooleanToVisibilityConverter"
/>
<
telerik:BooleanToVisibilityConverter
x:Key
=
"BooleanToVisibilityConverter"
/>
<
DataTemplate
x:Key
=
"ResizeArrowCueItemTemplate"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentResizeCueBorderBrush}"
BorderThickness
=
"1"
Background
=
"{StaticResource AppointmentResizeCueBackground}"
CornerRadius
=
"2"
>
<
Grid
>
<
Grid
Visibility
=
"{Binding IsResizedFromEnd, Converter={StaticResource InvertedBooleanToVisibilityConverter}, Mode=OneTime}"
>
<
Path
HorizontalAlignment
=
"Left"
Height
=
"8"
Margin
=
"-2"
Stroke
=
"{StaticResource AppointmentResizeCueTopLeftMarkStroke}"
VerticalAlignment
=
"Top"
Width
=
"8"
>
<
Path.Data
>
<
GeometryGroup
>
<
EllipseGeometry
Center
=
"2 2"
RadiusY
=
"2"
RadiusX
=
"2"
/>
<
LineGeometry
EndPoint
=
"8 8"
StartPoint
=
"3 3"
/>
</
GeometryGroup
>
</
Path.Data
>
</
Path
>
<
TextBlock
x:Name
=
"StartTextBox"
Foreground
=
"{StaticResource RadScheduleForeground}"
HorizontalAlignment
=
"Left"
Margin
=
"4 2"
Text
=
"{Binding Occurrence.Start, Mode=OneTime, StringFormat=t, ConverterCulture=fr-FR}"
VerticalAlignment
=
"Top"
/>
</
Grid
>
<
Grid
Visibility
=
"{Binding IsResizedFromEnd, Converter={StaticResource BooleanToVisibilityConverter}, Mode=OneTime}"
>
<
Path
HorizontalAlignment
=
"Right"
Height
=
"8"
Margin
=
"-2"
Stroke
=
"{StaticResource AppointmentResizeCueBottomRightMarkStroke}"
VerticalAlignment
=
"Bottom"
Width
=
"8"
>
<
Path.Data
>
<
GeometryGroup
>
<
EllipseGeometry
Center
=
"6 6"
RadiusY
=
"2"
RadiusX
=
"2"
/>
<
LineGeometry
EndPoint
=
"5 5"
StartPoint
=
"0 0"
/>
</
GeometryGroup
>
</
Path.Data
>
</
Path
>
<
TextBlock
x:Name
=
"EndTextBox"
Foreground
=
"{StaticResource RadScheduleForeground}"
HorizontalAlignment
=
"Right"
Margin
=
"4 2"
Text
=
"{Binding Occurrence.End, Mode=OneTime, StringFormat=t, ConverterCulture=fr-FR}"
VerticalAlignment
=
"Bottom"
/>
</
Grid
>
</
Grid
>
</
Border
>
</
DataTemplate
>
<
LinearGradientBrush
x:Key
=
"AppointmentItemBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
/>
<
GradientStop
Color
=
"#FFD4D4D4"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"AppointmentItemOuterBorder"
Color
=
"#FF848484"
/>
<
DataTemplate
x:Key
=
"AppointmentItemTemplate"
>
<
TextBlock
Margin
=
"6 2"
TextWrapping
=
"Wrap"
Text
=
"{Binding Subject}"
TextTrimming
=
"WordEllipsis"
/>
</
DataTemplate
>
<
SolidColorBrush
x:Key
=
"AppointmentItemInnerBorder"
Color
=
"#FFFFFFFF"
/>
<
SolidColorBrush
x:Key
=
"AppointmentItemOuterBorder_MouseOver"
Color
=
"#FFFFC92B"
/>
<
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"
/>
<
telerik:RecurrenceStateIsExeptionToVisibilityConverter
x:Key
=
"RecurrenceStateIsExeptionToVisibilityConverter"
/>
<
telerik:RecurrenceStateIsOccurenceToVisibilityConverter
x:Key
=
"RecurrenceStateIsOccurenceToVisibilityConverter"
/>
<
SolidColorBrush
x:Key
=
"AppointmentItemResizeGripStroke"
Color
=
"#FF444444"
/>
<
SolidColorBrush
x:Key
=
"AppointmentItemResizeGripBackground"
Color
=
"#FFFFFFFF"
/>
<
SolidColorBrush
x:Key
=
"AppointmentItemDeleteIconStroke"
Color
=
"#FF444444"
/>
<
telerik:Office_BlackTheme
x:Key
=
"Theme"
/>
<
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
=
"AppointmentItemOuterBorder_Selected"
Color
=
"#FFFFC92B"
/>
<
SolidColorBrush
x:Key
=
"AppointmentItemInnerBorder_Selected"
Color
=
"#FFFFFFFF"
/>
<
ControlTemplate
x:Key
=
"AppointmentItemHorizontalControlTemplate"
TargetType
=
"telerik:AppointmentItem"
>
<
Grid
x:Name
=
"Root"
>
<
telerik:CommandManager.InputBindings
>
<
telerik:InputBindingCollection
>
<
telerik:MouseBinding
Command
=
"telerik:RadScheduleViewCommands.EditAppointment"
Gesture
=
"LeftDoubleClick"
/>
</
telerik:InputBindingCollection
>
</
telerik:CommandManager.InputBindings
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.200"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
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.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.400"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
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.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"SelectionStates"
>
<
VisualState
x:Name
=
"Unselected"
/>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource AppointmentItemBackground_Selected}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource AppointmentItemOuterBorder_Selected}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisualInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource AppointmentItemInnerBorder_Selected}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
CornerRadius
=
"2"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemInnerBorder}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"CommonStatesVisual"
BorderBrush
=
"{StaticResource AppointmentItemOuterBorder_MouseOver}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{StaticResource AppointmentItemBackground_MouseOver}"
CornerRadius
=
"2"
Visibility
=
"Collapsed"
>
<
Border
x:Name
=
"CommonStatesVisualInnerBorder"
BorderBrush
=
"{StaticResource AppointmentItemInnerBorder_MouseOver}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"PART_Category"
Background
=
"{Binding Category.CategoryBrush}"
Margin
=
"2"
/>
<
Border
x:Name
=
"PART_TimeMarker"
Background
=
"{Binding TimeMarker.TimeMarkerBrush}"
HorizontalAlignment
=
"Left"
Margin
=
"2"
Width
=
"5"
/>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Image
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"6 4 0 0"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png"
Visibility
=
"{Binding RecurrenceState, Converter={StaticResource RecurrenceStateIsExeptionToVisibilityConverter}}"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
Image
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"6 4 0 0"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png"
Visibility
=
"{Binding RecurrenceState, Converter={StaticResource RecurrenceStateIsOccurenceToVisibilityConverter}}"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
ContentPresenter
Grid.Column
=
"1"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Grid
>
<
Grid
x:Name
=
"MouseOverOverlay"
Opacity
=
"0"
Visibility
=
"Collapsed"
>
<!-- Drag And Drop -->
<
Border
x:Name
=
"PART_StartResizeGrip"
telerik:RadDragAndDropManager.AllowDrag
=
"False"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Stretch"
>
<
StackPanel
x:Name
=
"StartResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
Border
x:Name
=
"PART_EndResizeGrip"
telerik:RadDragAndDropManager.AllowDrag
=
"False"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Stretch"
>
<
StackPanel
x:Name
=
"EndResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<!-- Suppression -->
<
telerik:RadButton
x:Name
=
"DeleteButton"
CommandParameter
=
"{Binding RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.DeleteAppointment"
HorizontalAlignment
=
"Right"
Height
=
"11"
Margin
=
"5"
Padding
=
"0"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Top"
Width
=
"11"
>
<
Path
Data
=
"M0,0 L5,5 M5,0 L0,5"
Stroke
=
"{StaticResource AppointmentItemDeleteIconStroke}"
/>
</
telerik:RadButton
>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
<
Style
x:Key
=
"AppointmentItemBaseStyle"
TargetType
=
"telerik: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
=
"ContentTemplate"
Value
=
"{StaticResource AppointmentItemTemplate}"
/>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource AppointmentItemHorizontalControlTemplate}"
/>
<
Setter
Property
=
"Canvas.ZIndex"
Value
=
"1"
/>
<
Setter
Property
=
"AllowDrop"
Value
=
"False"
/>
</
Style
>
<
ControlTemplate
x:Key
=
"AppointmentItemVerticalControlTemplate"
TargetType
=
"telerik:AppointmentItem"
>
<
Grid
x:Name
=
"Root"
>
<
telerik:CommandManager.InputBindings
>
<
telerik:InputBindingCollection
>
<
telerik:MouseBinding
Command
=
"telerik:RadScheduleViewCommands.EditAppointment"
Gesture
=
"LeftDoubleClick"
/>
</
telerik:InputBindingCollection
>
</
telerik:CommandManager.InputBindings
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.200"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
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.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.400"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
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.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"SelectionStates"
>
<
VisualState
x:Name
=
"Unselected"
/>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource AppointmentItemBackground_Selected}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource AppointmentItemOuterBorder_Selected}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisualInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource AppointmentItemInnerBorder_Selected}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
CornerRadius
=
"2"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemInnerBorder}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"CommonStatesVisual"
BorderBrush
=
"{StaticResource AppointmentItemOuterBorder_MouseOver}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{StaticResource AppointmentItemBackground_MouseOver}"
CornerRadius
=
"2"
Visibility
=
"Collapsed"
>
<
Border
x:Name
=
"CommonStatesVisualInnerBorder"
BorderBrush
=
"{StaticResource AppointmentItemInnerBorder_MouseOver}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"PART_Category"
Background
=
"{Binding Category.CategoryBrush}"
Margin
=
"2"
/>
<
Border
x:Name
=
"PART_TimeMarker"
Background
=
"{Binding TimeMarker.TimeMarkerBrush}"
HorizontalAlignment
=
"Left"
Margin
=
"2"
Width
=
"5"
/>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Image
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"4 4 0 0"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png"
Visibility
=
"{Binding RecurrenceState, Converter={StaticResource RecurrenceStateIsExeptionToVisibilityConverter}}"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
Image
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"4 4 0 0"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png"
Visibility
=
"{Binding RecurrenceState, Converter={StaticResource RecurrenceStateIsOccurenceToVisibilityConverter}}"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
ContentPresenter
Grid.Column
=
"1"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Grid
>
<
Grid
x:Name
=
"MouseOverOverlay"
Opacity
=
"0"
Visibility
=
"Collapsed"
>
<!-- Drag And Drop -->
<
Border
x:Name
=
"PART_StartResizeGrip"
telerik:RadDragAndDropManager.AllowDrag
=
"False"
Background
=
"Transparent"
Cursor
=
"SizeNS"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Top"
>
<
StackPanel
x:Name
=
"StartResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
Orientation
=
"Horizontal"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
Border
x:Name
=
"PART_EndResizeGrip"
telerik:RadDragAndDropManager.AllowDrag
=
"False"
Background
=
"Transparent"
Cursor
=
"SizeNS"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Bottom"
>
<
StackPanel
x:Name
=
"EndResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
Orientation
=
"Horizontal"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"{StaticResource AppointmentItemResizeGripStroke}"
BorderThickness
=
"0,0,1,1"
Background
=
"{StaticResource AppointmentItemResizeGripBackground}"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<!-- Suppresion -->
<
telerik:RadButton
x:Name
=
"DeleteButton"
CommandParameter
=
"{Binding RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.DeleteAppointment"
HorizontalAlignment
=
"Right"
Height
=
"11"
Margin
=
"5"
Padding
=
"0"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Top"
Width
=
"11"
>
<
Path
Data
=
"M0,0 L5,5 M5,0 L0,5"
Stroke
=
"{StaticResource AppointmentItemDeleteIconStroke}"
/>
</
telerik:RadButton
>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
<
telerik:OrientedAppointmentItemStyleSelector
x:Key
=
"AppointmentItemStyleSelector"
>
<
telerik:OrientedAppointmentItemStyleSelector.HorizontalStyle
>
<
Style
BasedOn
=
"{StaticResource AppointmentItemBaseStyle}"
TargetType
=
"telerik:AppointmentItem"
>
<
Setter
Property
=
"Margin"
Value
=
"0 1 0 0"
/>
</
Style
>
</
telerik:OrientedAppointmentItemStyleSelector.HorizontalStyle
>
<
telerik:OrientedAppointmentItemStyleSelector.MonthViewStyle
>
<
Style
BasedOn
=
"{StaticResource AppointmentItemBaseStyle}"
TargetType
=
"telerik:AppointmentItem"
>
<
Setter
Property
=
"Margin"
Value
=
"2 1 2 0"
/>
</
Style
>
</
telerik:OrientedAppointmentItemStyleSelector.MonthViewStyle
>
<
telerik:OrientedAppointmentItemStyleSelector.VerticalStyle
>
<
Style
BasedOn
=
"{StaticResource AppointmentItemBaseStyle}"
TargetType
=
"telerik:AppointmentItem"
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource AppointmentItemVerticalControlTemplate}"
/>
<
Setter
Property
=
"Margin"
Value
=
"1 0 0 0"
/>
</
Style
>
</
telerik:OrientedAppointmentItemStyleSelector.VerticalStyle
>
</
telerik:OrientedAppointmentItemStyleSelector
>
<
DataTemplate
x:Key
=
"InlineEditTempate"
>
<
telerik:PickerTextBox
Margin
=
"8 2 8 2"
TextWrapping
=
"Wrap"
Text
=
"{Binding Appointment.Subject, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
DataTemplate
>
<
DataTemplate
x:Key
=
"ToolTipTemplate"
>
<
TextBlock
MaxWidth
=
"200"
TextWrapping
=
"Wrap"
Text
=
"{Binding Subject}"
/>
</
DataTemplate
>
<
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
>
<
telerik:CategoryCollection
x:Key
=
"DefaultCategoryCollection"
>
<
telerik:Category
CategoryBrush
=
"{StaticResource RedCategoryBrush}"
CategoryName
=
"Red Category"
/>
<
telerik:Category
CategoryBrush
=
"{StaticResource GreenCategoryBrush}"
CategoryName
=
"Green Category"
/>
<
telerik:Category
CategoryBrush
=
"{StaticResource BlueCategoryBrush}"
CategoryName
=
"Blue Category"
/>
<
telerik:Category
CategoryBrush
=
"{StaticResource PurpleCategoryBrush}"
CategoryName
=
"Purple Category"
/>
<
telerik:Category
CategoryBrush
=
"{StaticResource YellowCategoryBrush}"
CategoryName
=
"Yellow Category"
/>
<
telerik:Category
CategoryBrush
=
"{StaticResource OliveCategoryBrush}"
CategoryName
=
"Olive Category"
/>
<
telerik:Category
CategoryBrush
=
"{StaticResource PinkCategoryBrush}"
CategoryName
=
"Pink Category"
/>
<
telerik:Category
CategoryBrush
=
"{StaticResource OrangeCategoryBrush}"
CategoryName
=
"Orange Category"
/>
</
telerik:CategoryCollection
>
<
LinearGradientBrush
x:Key
=
"FreeMarkerBrush"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF00C800"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FF1E841E"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
LinearGradientBrush
x:Key
=
"TentativeMarkerBrush"
EndPoint
=
"9,9"
MappingMode
=
"Absolute"
SpreadMethod
=
"Repeat"
StartPoint
=
"2,2"
>
<
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
>
<
telerik:TimeMarkerCollection
x:Key
=
"DefaultTimeMarkerCollection"
>
<
telerik:TimeMarker
TimeMarkerName
=
"Free"
TimeMarkerBrush
=
"{StaticResource FreeMarkerBrush}"
/>
<
telerik:TimeMarker
TimeMarkerName
=
"Tentative"
TimeMarkerBrush
=
"{StaticResource TentativeMarkerBrush}"
/>
<
telerik:TimeMarker
TimeMarkerName
=
"Busy"
TimeMarkerBrush
=
"{StaticResource BusyMarkerBrush}"
/>
<
telerik:TimeMarker
TimeMarkerName
=
"Out Of Office"
TimeMarkerBrush
=
"{StaticResource OutOfOfficeMarkerBrush}"
/>
</
telerik:TimeMarkerCollection
>
<
telerik:InvertedBooleanConverter
x:Key
=
"InvertedBooleanConverter"
/>
<
DataTemplate
x:Key
=
"TimeMarkerComboBoxItemContentTemplate"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Rectangle
Fill
=
"{Binding TimeMarkerBrush}"
Height
=
"12"
Margin
=
"2"
Width
=
"12"
/>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding TimeMarkerName}"
/>
</
StackPanel
>
</
DataTemplate
>
<
DataTemplate
x:Key
=
"CategoryComboBoxItemContentTemplate"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Rectangle
Fill
=
"{Binding CategoryBrush}"
Height
=
"12"
Margin
=
"2"
Width
=
"12"
/>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding DisplayName}"
/>
</
StackPanel
>
</
DataTemplate
>
<
telerik:NullToVisibilityConverter
x:Key
=
"NullToVisibilityConverter"
/>
<
telerik:LocalizationManager
x:Key
=
"LocalizationManager"
/>
<
telerik:BoolToInputModeConverter
x:Key
=
"BoolToInputModeConverter"
/>
<
telerik:InvertedVisibilityConverter
x:Key
=
"InvertedVisibilityConverter"
/>
<
ControlTemplate
x:Key
=
"EditAppointmentTemplate"
TargetType
=
"telerik: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"
Margin
=
"-1 -1 -1 3"
Grid.Row
=
"0"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
>
<
telerik:RadButton
x:Name
=
"EditRecurrenceButton"
Command
=
"telerik:RadScheduleViewCommands.EditRecurrenceRule"
IsEnabled
=
"{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Visibility
=
"{Binding CanEditParentAppointment, Converter={StaticResource InvertedBooleanToVisibilityConverter}}"
>
<
ToolTipService.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"EditRecurrence"
/>
</
ToolTipService.ToolTip
>
<
StackPanel
Margin
=
"2 0"
Orientation
=
"Horizontal"
>
<
Image
Margin
=
"2 0"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/Recurrence.png"
Stretch
=
"None"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"4 0"
telerik:LocalizationManager.ResourceKey
=
"EditRecurrence"
/>
</
StackPanel
>
</
telerik:RadButton
>
<
telerik:RadButton
x:Name
=
"EditParentAppointmentButton"
Command
=
"telerik:RadScheduleViewCommands.EditParentAppointment"
IsEnabled
=
"{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
telerik:LocalizationManager.ResourceKey
=
"EditParentAppointment"
Visibility
=
"{Binding CanEditParentAppointment, Converter={StaticResource BooleanToVisibilityConverter}}"
>
<
ToolTipService.ToolTip
>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
telerik:LocalizationManager.ResourceKey
=
"EditParentAppointment"
/>
</
ToolTipService.ToolTip
>
</
telerik:RadButton
>
<
telerik:RadToolBarSeparator
/>
<
TextBlock
x:Name
=
"ShowAs"
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"1 0 1 1"
telerik:LocalizationManager.ResourceKey
=
"ShowAs"
VerticalAlignment
=
"Center"
/>
<
telerik:RadComboBox
x:Name
=
"PART_TimeMarkers"
ClearSelectionButtonContent
=
"{Binding ClearSelectionButtonContent}"
ClearSelectionButtonVisibility
=
"Visible"
EmptyText
=
"{Binding TimeMarkersEmptyText}"
ItemTemplate
=
"{StaticResource TimeMarkerComboBoxItemContentTemplate}"
ItemsSource
=
"{Binding TimeMarkers}"
IsEnabled
=
"{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Margin
=
"2 1"
SelectionBoxTemplate
=
"{StaticResource TimeMarkerComboBoxItemContentTemplate}"
SelectedItem
=
"{Binding Occurrence.Appointment.TimeMarker, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Width
=
"110"
/>
<
telerik:RadComboBox
x:Name
=
"PART_Categories"
ClearSelectionButtonContent
=
"{Binding ClearSelectionButtonContent}"
ClearSelectionButtonVisibility
=
"Visible"
EmptyText
=
"{Binding CategoriesEmptyText}"
ItemTemplate
=
"{StaticResource CategoryComboBoxItemContentTemplate}"
ItemsSource
=
"{Binding Categories}"
IsEnabled
=
"{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Margin
=
"2 1"
SelectionBoxTemplate
=
"{StaticResource CategoryComboBoxItemContentTemplate}"
SelectedItem
=
"{Binding Occurrence.Appointment.Category, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Width
=
"120"
/>
<
telerik:RadToggleButton
x:Name
=
"HighImportaceButton"
Height
=
"22"
IsChecked
=
"{Binding IsHighImportance, Mode=TwoWay}"
IsEnabled
=
"{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Width
=
"22"
>
<
ToolTipService.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"HighImportance"
/>
</
ToolTipService.ToolTip
>
<
StackPanel
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
>
<
Path
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"
HorizontalAlignment
=
"Center"
Height
=
"10"
Stretch
=
"Fill"
Width
=
"5.451"
>
<
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
HorizontalAlignment
=
"Center"
Height
=
"3"
Width
=
"3"
>
<
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"
Height
=
"22"
IsChecked
=
"{Binding IsLowImportance, Mode=TwoWay}"
IsEnabled
=
"{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Width
=
"22"
>
<
ToolTipService.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"LowImportance"
/>
</
ToolTipService.ToolTip
>
<
Path
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"
HorizontalAlignment
=
"Center"
Height
=
"12"
Stretch
=
"Fill"
Stroke
=
"#FF0365A7"
VerticalAlignment
=
"Center"
Width
=
"9"
>
<
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"
Background
=
"{Binding SelectedItem.CategoryBrush, ElementName=PART_Categories}"
CornerRadius
=
"3"
Height
=
"20"
Margin
=
"6 6"
Grid.Row
=
"1"
Visibility
=
"{Binding SelectedItem, Converter={StaticResource NullToVisibilityConverter}, ElementName=PART_Categories}"
>
<
TextBlock
Margin
=
"6 0"
Text
=
"{Binding SelectedItem.DisplayName, ElementName=PART_Categories}"
VerticalAlignment
=
"Center"
/>
</
Border
>
<
Grid
x:Name
=
"Details"
Margin
=
"6"
Grid.Row
=
"2"
>
<
Grid.Resources
>
<
telerik:InputMode
x:Key
=
"RadDateTimePickerInputModeDatePicker"
>DatePicker</
telerik:InputMode
>
</
Grid.Resources
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"150"
/>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"0"
telerik:LocalizationManager.ResourceKey
=
"Subject"
/>
<
TextBox
Grid.ColumnSpan
=
"2"
Grid.Column
=
"1"
IsReadOnly
=
"{Binding IsReadOnly}"
Margin
=
"3"
Grid.Row
=
"0"
Text
=
"{Binding Occurrence.Appointment.Subject, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"1"
telerik:LocalizationManager.ResourceKey
=
"Body"
/>
<
TextBox
Grid.ColumnSpan
=
"2"
Grid.Column
=
"1"
Height
=
"70"
IsReadOnly
=
"{Binding IsReadOnly}"
Margin
=
"3"
Grid.Row
=
"1"
TextWrapping
=
"Wrap"
Text
=
"{Binding Occurrence.Appointment.Body, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalScrollBarVisibility
=
"Visible"
VerticalAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
/>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"2"
telerik:LocalizationManager.ResourceKey
=
"StartTime"
/>
<
telerik:RadDateTimePicker
Culture
=
"{Binding DefaultCulture, Source={StaticResource LocalizationManager}}"
Grid.Column
=
"1"
IsReadOnly
=
"{Binding IsReadOnly}"
IsEnabled
=
"{Binding IsNotRecurrent}"
Margin
=
"3"
Grid.Row
=
"2"
SelectedValue
=
"{Binding Occurrence.Appointment.Start, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
>
<
telerik:RadDateTimePicker.InputMode
>
<
Binding
Converter
=
"{StaticResource BoolToInputModeConverter}"
Path
=
"IsAllDayEvent"
>
<
Binding.ConverterParameter
>
<
telerik:InputMode
>DatePicker</
telerik:InputMode
>
</
Binding.ConverterParameter
>
</
Binding
>
</
telerik:RadDateTimePicker.InputMode
>
</
telerik:RadDateTimePicker
>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"3"
telerik:LocalizationManager.ResourceKey
=
"EndTime"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadDateTimePicker
Culture
=
"{Binding DefaultCulture, Source={StaticResource LocalizationManager}}"
Grid.Column
=
"1"
IsReadOnly
=
"{Binding IsReadOnly}"
IsEnabled
=
"{Binding IsNotRecurrent}"
Margin
=
"3"
Grid.Row
=
"3"
SelectedValue
=
"{Binding Occurrence.Appointment.End, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
>
<
telerik:RadDateTimePicker.InputMode
>
<
Binding
Converter
=
"{StaticResource BoolToInputModeConverter}"
Path
=
"IsAllDayEvent"
>
<
Binding.ConverterParameter
>
<
telerik:InputMode
>DatePicker</
telerik:InputMode
>
</
Binding.ConverterParameter
>
</
Binding
>
</
telerik:RadDateTimePicker.InputMode
>
</
telerik:RadDateTimePicker
>
</
Grid
>
<
Grid
Margin
=
"3"
Grid.Row
=
"3"
Visibility
=
"{Binding ResourceTypesVisibility}"
>
<
ScrollViewer
x:Name
=
"ResourcesScrollViewer"
IsTabStop
=
"false"
Margin
=
"3"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalScrollBarVisibility
=
"Auto"
/>
<
TextBlock
HorizontalAlignment
=
"Center"
Margin
=
"3"
Text
=
"You can only change the resources by opening the series"
Visibility
=
"{Binding ResourceTypesVisibility, Converter={StaticResource InvertedVisibilityConverter}}"
/>
</
Grid
>
<
StackPanel
HorizontalAlignment
=
"Right"
Margin
=
"13 6"
Orientation
=
"Horizontal"
Grid.Row
=
"4"
>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Confirm"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
>
<
ToolTipService.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"SaveAndClose"
/>
</
ToolTipService.ToolTip
>
</
telerik:RadButton
>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Cancel"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
Grid
>
</
ControlTemplate
>
<
telerik:InvertedNullToVisibilityConverter
x:Key
=
"InvertedNullToVisibilityConverter"
/>
<
Style
x:Key
=
"EditAppointmentDialogStyle"
TargetType
=
"telerik:SchedulerDialog"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource RadScheduleForeground}"
/>
<
Setter
Property
=
"Width"
Value
=
"500"
/>
<
Setter
Property
=
"IsTabStop"
Value
=
"False"
/>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource EditAppointmentTemplate}"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
HorizontalAlignment
=
"Left"
MaxWidth
=
"400"
Orientation
=
"Horizontal"
>
<
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
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png"
Stretch
=
"None"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
SolidColorBrush
x:Key
=
"DialogGroupBorderBrush"
Color
=
"#FFD5DFE5"
/>
<
telerik:EnumToBooleanConverter
x:Key
=
"EnumToBoolConverter"
/>
<
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, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
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"
ContentTemplate
=
"{TemplateBinding SelectedContentTemplate}"
Content
=
"{TemplateBinding SelectedContent}"
Grid.Column
=
"1"
Duration
=
"0:0:0.200"
IsTabStop
=
"False"
>
<
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
=
"telerik:SchedulerDialog"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Vertical"
>
<
TextBlock
Margin
=
"10,8,0,0"
Grid.Row
=
"0"
telerik:LocalizationManager.ResourceKey
=
"AppointmentTime"
/>
<
Border
BorderBrush
=
"{StaticResource DialogGroupBorderBrush}"
BorderThickness
=
"1"
CornerRadius
=
"5"
Margin
=
"10,3,10,5"
Padding
=
"0,0,0,4"
>
<
Grid
HorizontalAlignment
=
"Center"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Foreground
=
"{StaticResource RadScheduleForeground}"
MinWidth
=
"65"
Grid.Row
=
"0"
telerik:LocalizationManager.ResourceKey
=
"StartColon"
VerticalAlignment
=
"Center"
/>
<
telerik:RadDateTimePicker
x:Name
=
"StartTimePicker"
Grid.Column
=
"1"
InputMode
=
"TimePicker"
Margin
=
"3"
Grid.Row
=
"0"
SelectedValue
=
"{Binding Start, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Width
=
"120"
/>
<
TextBlock
Grid.Column
=
"0"
Foreground
=
"{StaticResource RadScheduleForeground}"
MinWidth
=
"65"
Grid.Row
=
"1"
telerik:LocalizationManager.ResourceKey
=
"EndColon"
VerticalAlignment
=
"Center"
/>
<
telerik:RadDateTimePicker
x:Name
=
"EndTimePicker"
Grid.Column
=
"1"
InputMode
=
"TimePicker"
Margin
=
"3"
Grid.Row
=
"1"
SelectedValue
=
"{Binding End, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Width
=
"120"
/>
<
TextBlock
Grid.Column
=
"2"
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"18 0 0 0"
MinWidth
=
"65"
Grid.RowSpan
=
"2"
telerik:LocalizationManager.ResourceKey
=
"DurationColon"
VerticalAlignment
=
"Center"
/>
<
scheduleVieW:DurationPicker
x:Name
=
"DurationPicker"
Grid.Column
=
"3"
Margin
=
"3"
Grid.RowSpan
=
"2"
SelectedDuration
=
"{Binding Duration, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"120"
/>
</
Grid
>
</
Border
>
</
StackPanel
>
<
StackPanel
Orientation
=
"Vertical"
Grid.Row
=
"1"
>
<
TextBlock
Margin
=
"10 5 0 0"
Grid.Row
=
"0"
telerik:LocalizationManager.ResourceKey
=
"RecurrencePattern"
/>
<
Border
BorderBrush
=
"{StaticResource DialogGroupBorderBrush}"
BorderThickness
=
"1"
CornerRadius
=
"5"
Margin
=
"10,3,10,5"
>
<
telerik:RadTabControl
Style
=
"{StaticResource RepeatSelectionTabControlStyle}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
>
<
telerik:RadTabItem
x:Name
=
"RepeatDaily"
Header
=
"Daily"
IsSelected
=
"{Binding RecurrenceType, ConverterParameter=Daily;WeekDays, Converter={StaticResource EnumToBoolConverter}}"
Style
=
"{StaticResource RepeatSelectionTabItemControlStyle}"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
RadioButton
x:Name
=
"DailyRB"
GroupName
=
"DailyGroup"
IsChecked
=
"{Binding RecurrenceType, ConverterParameter=Daily, Converter={StaticResource EnumToBoolConverter}}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Every"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadNumericUpDown
x:Name
=
"DailyDetailsUpDown"
IsInteger
=
"True"
Maximum
=
"999"
Margin
=
"3"
MinWidth
=
"70"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Days"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
<
RadioButton
x:Name
=
"WorkdaysRB"
GroupName
=
"DailyGroup"
IsChecked
=
"{Binding RecurrenceType, ConverterParameter=WeekDays, Converter={StaticResource EnumToBoolConverter}}"
Margin
=
"3"
Grid.Row
=
"1"
telerik:LocalizationManager.ResourceKey
=
"EveryWeekday"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
x:Name
=
"RepeatWeekly"
Header
=
"Weekly"
IsSelected
=
"{Binding RecurrenceType, ConverterParameter=Weekly, Converter={StaticResource EnumToBoolConverter}}"
Style
=
"{StaticResource RepeatSelectionTabItemControlStyle}"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"RecurEvery"
VerticalAlignment
=
"Center"
/>
<
telerik:RadNumericUpDown
x:Name
=
"EveryWeekUpDown"
IsInteger
=
"True"
Maximum
=
"99"
Margin
=
"3"
MinWidth
=
"70"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"WeeksOn"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
<
ItemsControl
IsTabStop
=
"False"
ItemsSource
=
"{Binding WeekDays}"
Grid.Row
=
"1"
>
<
ItemsControl.ItemsPanel
>
<
ItemsPanelTemplate
>
<
telerik:RadUniformGrid
Rows
=
"2"
/>
</
ItemsPanelTemplate
>
</
ItemsControl.ItemsPanel
>
<
ItemsControl.ItemTemplate
>
<
DataTemplate
>
<
CheckBox
Content
=
"{Binding Name}"
IsChecked
=
"{Binding IsSelected, Mode=TwoWay}"
Margin
=
"3 3 12 3"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
DataTemplate
>
</
ItemsControl.ItemTemplate
>
</
ItemsControl
>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
x:Name
=
"RepeatMonthly"
Header
=
"Monthly"
IsSelected
=
"{Binding RecurrenceType, ConverterParameter=Monthly;MonthlyNth, Converter={StaticResource EnumToBoolConverter}}"
Style
=
"{StaticResource RepeatSelectionTabItemControlStyle}"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
RadioButton
x:Name
=
"MonthlyRB"
GroupName
=
"MonthlyButtons"
IsChecked
=
"{Binding RecurrenceType, ConverterParameter=Monthly, Converter={StaticResource EnumToBoolConverter}}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Day"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadNumericUpDown
x:Name
=
"MonthlyDetailsUpDown1"
IsInteger
=
"True"
Maximum
=
"31"
Margin
=
"3"
MinWidth
=
"70"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Value
=
"{Binding DayOfMonth, Mode=TwoWay}"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OfEvery"
VerticalAlignment
=
"Center"
/>
<
telerik:RadNumericUpDown
x:Name
=
"MonthlyDetailsUpDown2"
IsInteger
=
"True"
Maximum
=
"99"
Margin
=
"3"
MinWidth
=
"70"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Months"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"1"
>
<
RadioButton
x:Name
=
"MonthlyNthRB"
GroupName
=
"MonthlyButtons"
IsChecked
=
"{Binding RecurrenceType, ConverterParameter=MonthlyNth, Converter={StaticResource EnumToBoolConverter}}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"The"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadComboBox
DisplayMemberPath
=
"Name"
ItemsSource
=
"{Binding WeekOfMonths}"
Margin
=
"3"
SelectedValuePath
=
"Value"
SelectedValue
=
"{Binding WeekOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"70"
/>
<
telerik:RadComboBox
DisplayMemberPath
=
"Name"
ItemsSource
=
"{Binding NthRecurrenceDays}"
Margin
=
"3"
SelectedValuePath
=
"Value"
SelectedValue
=
"{Binding NthRecurrenceDay, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"100"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OfEvery"
VerticalAlignment
=
"Center"
/>
<
telerik:RadNumericUpDown
x:Name
=
"MonthlyDetailsUpDown3"
IsInteger
=
"True"
Maximum
=
"99"
Margin
=
"3"
MinWidth
=
"70"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Months"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
x:Name
=
"RepeatYearly"
Header
=
"Yearly"
IsSelected
=
"{Binding RecurrenceType, ConverterParameter=Yearly;YearlyNth, Converter={StaticResource EnumToBoolConverter}}"
Style
=
"{StaticResource RepeatSelectionTabItemControlStyle}"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"50*"
/>
<
RowDefinition
Height
=
"50*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
RadioButton
x:Name
=
"YearlyRB"
GroupName
=
"YearlyGroup"
IsChecked
=
"{Binding RecurrenceType, ConverterParameter=Yearly, Converter={StaticResource EnumToBoolConverter}}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Every"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails12"
DisplayMemberPath
=
"Value"
ItemsSource
=
"{Binding NamesOfMonths}"
Margin
=
"3"
SelectedValuePath
=
"Key"
SelectedValue
=
"{Binding MonthOfYear, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"100"
/>
<
telerik:RadNumericUpDown
x:Name
=
"YearlyDetailsUpDown3"
IsInteger
=
"True"
Maximum
=
"31"
Margin
=
"3"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Value
=
"{Binding DayOfMonth, Mode=TwoWay}"
VerticalAlignment
=
"Center"
Width
=
"70"
/>
</
StackPanel
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"1"
>
<
RadioButton
x:Name
=
"YearlyNthRB"
GroupName
=
"YearlyGroup"
IsChecked
=
"{Binding RecurrenceType, ConverterParameter=YearlyNth, Converter={StaticResource EnumToBoolConverter}}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"The"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails21"
DisplayMemberPath
=
"Name"
ItemsSource
=
"{Binding WeekOfMonths}"
Margin
=
"3"
SelectedValuePath
=
"Value"
SelectedValue
=
"{Binding WeekOfMonth, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"80"
/>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails22"
DisplayMemberPath
=
"Name"
ItemsSource
=
"{Binding NthRecurrenceDays}"
Margin
=
"3"
SelectedValuePath
=
"Value"
SelectedValue
=
"{Binding NthRecurrenceDay, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"100"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Of"
VerticalAlignment
=
"Center"
/>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails23"
DisplayMemberPath
=
"Value"
ItemsSource
=
"{Binding NamesOfMonths}"
Margin
=
"3"
SelectedValuePath
=
"Key"
SelectedValue
=
"{Binding MonthOfYear, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"100"
/>
</
StackPanel
>
</
Grid
>
</
telerik:RadTabItem
>
</
telerik:RadTabControl
>
</
Border
>
</
StackPanel
>
<
StackPanel
Orientation
=
"Vertical"
Grid.Row
=
"2"
>
<
TextBlock
Margin
=
"8,5,0,0"
telerik:LocalizationManager.ResourceKey
=
"RangeOfRecurrence"
/>
<
Border
BorderBrush
=
"{StaticResource DialogGroupBorderBrush}"
BorderThickness
=
"1"
CornerRadius
=
"5"
Margin
=
"10,3,10,5"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"1*"
/>
<
ColumnDefinition
Width
=
"2*"
/>
</
Grid.ColumnDefinitions
>
<
StackPanel
Grid.Column
=
"0"
Orientation
=
"Horizontal"
>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"StartColon"
VerticalAlignment
=
"Center"
/>
<
telerik:RadDatePicker
x:Name
=
"StartDate"
Margin
=
"3"
SelectedValue
=
"{Binding Start, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"100"
/>
</
StackPanel
>
<
telerik:RadUniformGrid
Columns
=
"1"
Grid.Column
=
"1"
>
<
RadioButton
x:Name
=
"NoEndDate"
IsChecked
=
"{Binding RecurrenceRangeType, ConverterParameter=NoEndDate, Converter={StaticResource EnumToBoolConverter}, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"NoEndDate"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
StackPanel
Orientation
=
"Horizontal"
>
<
RadioButton
x:Name
=
"EndAfter"
IsChecked
=
"{Binding RecurrenceRangeType, ConverterParameter=MaxOccurrences, Converter={StaticResource EnumToBoolConverter}, Mode=TwoWay}"
Margin
=
"3"
MinWidth
=
"100"
telerik:LocalizationManager.ResourceKey
=
"EndAfter"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadNumericUpDown
x:Name
=
"OccurencesUpDown"
IsInteger
=
"True"
Maximum
=
"9999"
Margin
=
"3"
MinWidth
=
"70"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Value
=
"{Binding MaxOccurrences, Mode=TwoWay}"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Occurrences"
VerticalAlignment
=
"Center"
/>
</
StackPanel
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
RadioButton
x:Name
=
"EndBy"
IsChecked
=
"{Binding RecurrenceRangeType, ConverterParameter=RepeatUntil, Converter={StaticResource EnumToBoolConverter}, Mode=TwoWay}"
Margin
=
"3"
MinWidth
=
"70"
telerik:LocalizationManager.ResourceKey
=
"EndBy"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadDatePicker
Margin
=
"3"
SelectedValue
=
"{Binding RecursUntil, Mode=TwoWay}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
VerticalAlignment
=
"Center"
Width
=
"120"
/>
</
StackPanel
>
</
telerik:RadUniformGrid
>
</
Grid
>
</
Border
>
</
StackPanel
>
<
StackPanel
HorizontalAlignment
=
"Right"
Margin
=
"13 6"
Orientation
=
"Horizontal"
Grid.Row
=
"3"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
x:Name
=
"RemoveRecurrenceBtn"
Command
=
"telerik:RadScheduleViewCommands.DeleteRecurrenceRule"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"RemoveRecurrence"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Visibility
=
"{Binding IsEnabled, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource Self}}"
/>
<
telerik:RadButton
x:Name
=
"OKButton"
Command
=
"telerik:WindowCommands.Confirm"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
telerik:RadButton
x:Name
=
"CancelButton"
Command
=
"telerik:WindowCommands.Cancel"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
Grid
>
</
ControlTemplate
>
<
Style
x:Key
=
"EditRecurrenceDialogStyle"
TargetType
=
"telerik: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
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png"
Stretch
=
"None"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
HorizontalAlignment
=
"Left"
MaxWidth
=
"450"
Orientation
=
"Horizontal"
>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
telerik:LocalizationManager.ResourceKey
=
"Event"
Visibility
=
"{Binding Appointment.IsAllDayEvent, Converter={StaticResource BooleanToVisibilityConverter}}"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
telerik:LocalizationManager.ResourceKey
=
"Appointment"
Visibility
=
"{Binding Appointment.IsAllDayEvent, Converter={StaticResource InvertedBooleanToVisibilityConverter}}"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
Text
=
" - "
/>
<
TextBlock
x:Name
=
"SubjectTextBlock"
Foreground
=
"{StaticResource RadScheduleForeground}"
Text
=
"{Binding Appointment.Subject}"
Visibility
=
"{Binding Appointment.Subject, Converter={StaticResource NullToVisibilityConverter}}"
/>
<
TextBlock
Foreground
=
"{StaticResource RadScheduleForeground}"
telerik:LocalizationManager.ResourceKey
=
"Untitled"
Visibility
=
"{Binding Appointment.Subject, Converter={StaticResource InvertedNullToVisibilityConverter}}"
/>
</
StackPanel
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
ControlTemplate
x:Key
=
"DeleteAppointmentConfirmTemplate"
TargetType
=
"telerik:SchedulerDialog"
>
<
StackPanel
>
<
Grid
>
<
Image
HorizontalAlignment
=
"Left"
Margin
=
"15"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png"
Stretch
=
"None"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Margin
=
"85 15 15 15"
telerik:LocalizationManager.ResourceKey
=
"DeleteItemQuestion"
TextWrapping
=
"Wrap"
VerticalAlignment
=
"Center"
/>
</
Grid
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13 6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Confirm"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Cancel"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
<
Style
x:Key
=
"DeleteAppointmentConfirmDialogStyle"
TargetType
=
"telerik:SchedulerDialog"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource RadScheduleForeground}"
/>
<
Setter
Property
=
"Width"
Value
=
"300"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"DeleteItem"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource DeleteAppointmentConfirmTemplate}"
/>
</
Style
>
<
ControlTemplate
x:Key
=
"RecurrenceChoiceTemplate"
TargetType
=
"telerik:SchedulerDialog"
>
<
StackPanel
>
<
Grid
>
<
Image
HorizontalAlignment
=
"Left"
Margin
=
"15"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png"
Stretch
=
"None"
VerticalAlignment
=
"Center"
/>
<
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
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OpenOccurrence"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
RadioButton
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OpenSeries"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
Grid
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13 6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Confirm"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Cancel"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
<
Style
x:Key
=
"RecurrenceChoiceDialogStyle"
TargetType
=
"telerik:SchedulerDialog"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource RadScheduleForeground}"
/>
<
Setter
Property
=
"Width"
Value
=
"300"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource RecurrenceChoiceTemplate}"
/>
</
Style
>
<
ControlTemplate
x:Key
=
"RecurrenceChoiceDeletingTemplate"
TargetType
=
"telerik:SchedulerDialog"
>
<
StackPanel
>
<
Grid
>
<
Image
HorizontalAlignment
=
"Left"
Margin
=
"15"
Source
=
"/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png"
Stretch
=
"None"
VerticalAlignment
=
"Center"
/>
<
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
GroupName
=
"RecurrenceModeChoiceDel"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"DeleteOccurrence"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
RadioButton
GroupName
=
"RecurrenceModeChoiceDel"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"DeleteSeries"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
Grid
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13 6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Confirm"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Cancel"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
<
Style
x:Key
=
"RecurrenceChoiceDeleteDialogStyle"
TargetType
=
"telerik:SchedulerDialog"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource RadScheduleForeground}"
/>
<
Setter
Property
=
"Width"
Value
=
"300"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource RecurrenceChoiceDeletingTemplate}"
/>
</
Style
>
<
ControlTemplate
x:Key
=
"RecurrenceChoiceResizeTemplate"
TargetType
=
"telerik: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"
Width
=
"250"
/>
<
RadioButton
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"ResizeOccurrence"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
RadioButton
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"ResizeSeries"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13 6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Confirm"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Cancel"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
<
Style
x:Key
=
"RecurrenceChoiceResizeDialogStyle"
TargetType
=
"telerik:SchedulerDialog"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource RadScheduleForeground}"
/>
<
Setter
Property
=
"Width"
Value
=
"350"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource RecurrenceChoiceResizeTemplate}"
/>
</
Style
>
<
ControlTemplate
x:Key
=
"RecurrenceChoiceDragDropTemplate"
TargetType
=
"telerik: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"
Width
=
"250"
/>
<
RadioButton
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"DragDropOccurrence"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
RadioButton
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"DragDropSeries"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13 6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Confirm"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
<
telerik:RadButton
Command
=
"telerik:WindowCommands.Cancel"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
<
Style
x:Key
=
"RecurrenceChoiceDragDropDialogStyle"
TargetType
=
"telerik:SchedulerDialog"
>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource RadScheduleForeground}"
/>
<
Setter
Property
=
"Width"
Value
=
"350"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource RecurrenceChoiceDragDropTemplate}"
/>
</
Style
>
<
Style
x:Key
=
"ScheduleViewBaseStyle"
TargetType
=
"telerik:ScheduleViewBase"
>
<
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
=
"GroupHeaderStyleSelector"
Value
=
"{StaticResource GroupHeaderStyleSelector}"
/>
<
Setter
Property
=
"GroupHeaderContentTemplateSelector"
Value
=
"{StaticResource GroupHeaderContentTemplateSelector}"
/>
<
Setter
Property
=
"TimeRulerItemStyleSelector"
Value
=
"{StaticResource TimeRulerItemStyleSelector}"
/>
<
Setter
Property
=
"TimeRulerItemTemplateSelector"
Value
=
"{StaticResource TimeRulerItemTemplateSelector}"
/>
<
Setter
Property
=
"DragDropHighlightStyle"
Value
=
"{StaticResource DragDropHighlightStyle}"
/>
<
Setter
Property
=
"MouseOverHighlightStyle"
Value
=
"{StaticResource MouseOverHighlightStyle}"
/>
<
Setter
Property
=
"SelectionHighlightStyle"
Value
=
"{StaticResource SelectionHighlightStyle}"
/>
<
Setter
Property
=
"ResizeArrowCueTemplate"
Value
=
"{StaticResource ResizeArrowCueTemplate}"
/>
<
Setter
Property
=
"DragVisualCueItemTemplate"
Value
=
"{StaticResource DragVisualCueItemTemplate}"
/>
<
Setter
Property
=
"ResizeArrowCueItemTemplate"
Value
=
"{StaticResource ResizeArrowCueItemTemplate}"
/>
<
Setter
Property
=
"AppointmentStyleSelector"
Value
=
"{StaticResource AppointmentItemStyleSelector}"
/>
<
Setter
Property
=
"InlineEditingTemplate"
Value
=
"{StaticResource InlineEditTempate}"
/>
<
Setter
Property
=
"ToolTipTemplate"
Value
=
"{StaticResource ToolTipTemplate}"
/>
<
Setter
Property
=
"CategoriesSource"
Value
=
"{StaticResource DefaultCategoryCollection}"
/>
<
Setter
Property
=
"TimeMarkersSource"
Value
=
"{StaticResource DefaultTimeMarkerCollection}"
/>
<
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
>
<
SolidColorBrush
x:Key
=
"SchedulerHeaderOuterBorder"
Color
=
"#FFB5B5B5"
/>
<
LinearGradientBrush
x:Key
=
"SchedulerHeaderBackground"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF868686"
/>
<
GradientStop
Color
=
"#FF4F4F4F"
Offset
=
"0.5"
/>
<
GradientStop
Color
=
"#FF0E0E0E"
Offset
=
"0.5"
/>
<
GradientStop
Color
=
"#FF5B5B5B"
Offset
=
"1"
/>
</
LinearGradientBrush
>
<
SolidColorBrush
x:Key
=
"SchedulerHeaderInnerBorder"
Color
=
"Transparent"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonForeground"
Color
=
"#FFFFFFFF"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonOuterBorder"
Color
=
"#FF848484"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonBackground"
Color
=
"#00000000"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonInnerBorder"
Color
=
"#00000000"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonForeground_MouseOver"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"ViewModeButtonOuterBorder_MouseOver"
Color
=
"#FFFFC92B"
/>
<
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"
/>
<
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
=
"#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
=
"ViewModeButtonInnerBorder_Pressed"
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
<
Style
x:Key
=
"ViewModeSelectionListBoxItemStyle"
TargetType
=
"ListBoxItem"
>
<
Setter
Property
=
"Margin"
Value
=
"2"
/>
<
Setter
Property
=
"Padding"
Value
=
"6 3"
/>
<
Setter
Property
=
"MinWidth"
Value
=
"84"
/>
<
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.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonForeground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonForeground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"{StaticResource ViewModeButtonOuterBorder}"
BorderThickness
=
"1"
Background
=
"{StaticResource ViewModeButtonBackground}"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"{StaticResource ViewModeButtonInnerBorder}"
/>
</
Border
>
<
ContentControl
x:Name
=
"Content"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
Foreground
=
"{TemplateBinding Foreground}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
telerik:LocalizationManager.ResourceKey
=
"{Binding Title}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
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
=
"ItemContainerStyle"
Value
=
"{StaticResource ViewModeSelectionListBoxItemStyle}"
/>
<
Setter
Property
=
"ItemsPanel"
>
<
Setter.Value
>
<
ItemsPanelTemplate
>
<
telerik:RadUniformGrid
Rows
=
"1"
/>
</
ItemsPanelTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
SolidColorBrush
x:Key
=
"NavigationIntervalForegroundRear"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"NavigationIntervalForegroundFront"
Color
=
"#FFFFFFFF"
/>
<
Style
x:Key
=
"NavigationIntervalStyle"
TargetType
=
"ContentControl"
>
<
Setter
Property
=
"Margin"
Value
=
"5"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Right"
/>
<
Setter
Property
=
"FontWeight"
Value
=
"Bold"
/>
<
Setter
Property
=
"ContentTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Grid
>
<
TextBlock
Foreground
=
"{StaticResource NavigationIntervalForegroundRear}"
Margin
=
"0 1 0 0"
Text
=
"{Binding}"
/>
<
TextBlock
Foreground
=
"{StaticResource NavigationIntervalForegroundFront}"
Margin
=
"0 0 0 1"
Text
=
"{Binding}"
/>
</
Grid
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
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
>
<
SolidColorBrush
x:Key
=
"NavigationIconBackground_Normal"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"NavigationIconForeground_Normal"
Color
=
"#FFFFFFFF"
/>
<
SolidColorBrush
x:Key
=
"NavigationIconForeground_Highlighted"
Color
=
"#FF000000"
/>
<
SolidColorBrush
x:Key
=
"NavigationIconBackground_Highlighted"
Color
=
"#FFFFFFFF"
/>
<
Style
x:Key
=
"NavigationButtonBackStyle"
BasedOn
=
"{StaticResource NavigationButtonBaseStyle}"
TargetType
=
"telerik:RadButton"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:RadButton"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconForeground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconForeground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconBackground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconForeground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconForeground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconBackground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"{StaticResource ViewModeButtonOuterBorder}"
BorderThickness
=
"1"
Background
=
"{StaticResource ViewModeButtonBackground}"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"{StaticResource ViewModeButtonInnerBorder}"
/>
</
Border
>
<
Path
x:Name
=
"IconBackground"
Data
=
"M4,0 L0,3.5 4,7 Z"
Fill
=
"{StaticResource NavigationIconBackground_Normal}"
Height
=
"7"
Margin
=
"0 1 0 0"
Width
=
"4"
/>
<
Path
x:Name
=
"IconForeground"
Data
=
"M4,0 L0,3.5 4,7 Z"
Fill
=
"{StaticResource NavigationIconForeground_Normal}"
Height
=
"7"
Margin
=
"0 0 0 1"
Width
=
"4"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
ControlTemplate
x:Key
=
"CalendarIcon"
TargetType
=
"ContentControl"
>
<
Grid
>
<
Path
x:Name
=
"CalendarIconBackground"
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"
Height
=
"7"
Margin
=
"0 1 0 0"
Stroke
=
"{TemplateBinding Background}"
Width
=
"7"
/>
<
Path
x:Name
=
"CalendarIconForeground"
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"
Height
=
"7"
Margin
=
"0 0 0 1"
Stroke
=
"{TemplateBinding Foreground}"
Width
=
"7"
/>
</
Grid
>
</
ControlTemplate
>
<
Style
x:Key
=
"NavigationCalendarToggleButton"
BasedOn
=
"{StaticResource NavigationButtonBaseStyle}"
TargetType
=
"telerik:RadDropDownButton"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:RadDropDownButton"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconForeground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconBackground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconForeground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconBackground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Opened"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconForeground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconBackground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"{StaticResource ViewModeButtonOuterBorder}"
BorderThickness
=
"1"
Background
=
"{StaticResource ViewModeButtonBackground}"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"{StaticResource ViewModeButtonInnerBorder}"
/>
</
Border
>
<
ContentControl
x:Name
=
"CalendarIcon"
Background
=
"{StaticResource NavigationIconBackground_Normal}"
Foreground
=
"{StaticResource NavigationIconForeground_Normal}"
HorizontalContentAlignment
=
"Center"
IsTabStop
=
"False"
Margin
=
"0 0 0 1"
Template
=
"{StaticResource CalendarIcon}"
/>
<
Popup
x:Name
=
"DropDownPopup"
IsOpen
=
"{Binding IsOpen, RelativeSource={RelativeSource TemplatedParent}}"
>
<
ContentPresenter
x:Name
=
"DropDownPopupContent"
ContentTemplate
=
"{TemplateBinding DropDownContentTemplate}"
Content
=
"{TemplateBinding DropDownContent}"
DataContext
=
"{Binding DataContext, RelativeSource={RelativeSource TemplatedParent}}"
/>
</
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
DropDownIndicatorVisibility
=
"Collapsed"
IsOpen
=
"{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
Style
=
"{StaticResource NavigationCalendarToggleButton}"
>
<
telerik:RadDropDownButton.DropDownContent
>
<
telerik:RadCalendar
x:Name
=
"PART_Calendar"
Culture
=
"{TemplateBinding Culture}"
DisplayDateEnd
=
"{TemplateBinding DisplayDateEnd}"
DateSelectionMode
=
"{TemplateBinding DateSelectionMode}"
DisplayDateStart
=
"{TemplateBinding DisplayDateStart}"
DisplayDate
=
"{Binding DisplayDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
IsReadOnly
=
"{TemplateBinding IsReadOnly}"
SelectableDateEnd
=
"{TemplateBinding SelectableDateEnd}"
SelectionMode
=
"Single"
SelectedDate
=
"{Binding SelectedDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
SelectableDateStart
=
"{TemplateBinding SelectableDateStart}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
/>
</
telerik:RadDropDownButton.DropDownContent
>
</
telerik:RadDropDownButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"NavigationButtonNextStyle"
BasedOn
=
"{StaticResource NavigationButtonBaseStyle}"
TargetType
=
"telerik:RadButton"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"telerik:RadButton"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconForeground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconForeground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconBackground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_MouseOver}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconForeground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconForeground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource NavigationIconBackground_Highlighted}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonOuterBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonBackground_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource ViewModeButtonInnerBorder_Pressed}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"{StaticResource ViewModeButtonOuterBorder}"
BorderThickness
=
"1"
Background
=
"{StaticResource ViewModeButtonBackground}"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"{StaticResource ViewModeButtonInnerBorder}"
/>
</
Border
>
<
Path
x:Name
=
"IconBackground"
Data
=
"M0,0 L4,3.5 0,7 Z"
Fill
=
"{StaticResource NavigationIconBackground_Normal}"
Height
=
"7"
Margin
=
"0 1 0 0"
Width
=
"4"
/>
<
Path
x:Name
=
"IconForeground"
Data
=
"M0,0 L4,3.5 0,7 Z"
Fill
=
"{StaticResource NavigationIconForeground_Normal}"
Height
=
"7"
Margin
=
"0 0 0 1"
Width
=
"4"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
ControlTemplate
x:Key
=
"RadScheduleViewControlTemplate"
TargetType
=
"telerik:RadScheduleView"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrienatationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"HeadersHeight"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"HeadersWidth"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.ColumnSpan)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.RowSpan)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"2"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_TimeRulerPanel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"0"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_TimeRulerPanel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"1"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Offset"
Storyboard.TargetName
=
"PART_TimeRulerPanel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{Binding VerticalOffset, RelativeSource={RelativeSource TemplatedParent}}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Border
x:Name
=
"NavigationHeader"
BorderBrush
=
"{StaticResource SchedulerHeaderOuterBorder}"
BorderThickness
=
"1"
Background
=
"{StaticResource SchedulerHeaderBackground}"
Visibility
=
"{TemplateBinding NavigationHeaderVisibility}"
>
<
Border
BorderBrush
=
"{StaticResource SchedulerHeaderInnerBorder}"
BorderThickness
=
"1"
>
<
Grid
x:Name
=
"ScheduleViewHeader"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
ListBox
x:Name
=
"ViewModeSelection"
Grid.Column
=
"0"
ItemsSource
=
"{TemplateBinding ViewDefinitions}"
Style
=
"{StaticResource ViewModeSelectionListBoxStyle}"
SelectedItem
=
"{Binding ActiveViewDefinition, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
SelectionMode
=
"Single"
/>
<
StackPanel
Grid.Column
=
"1"
HorizontalAlignment
=
"Right"
Orientation
=
"Horizontal"
>
<
ContentControl
x:Name
=
"CurrentInterval"
Content
=
"{TemplateBinding CurrentVisibleRangeText}"
HorizontalAlignment
=
"Right"
Style
=
"{StaticResource NavigationIntervalStyle}"
VerticalAlignment
=
"Center"
/>
<
telerik:RadButton
Command
=
"telerik:RadScheduleViewCommands.DecreaseVisibleDateLarge"
Style
=
"{StaticResource NavigationButtonBackStyle}"
/>
<
telerik:RadDatePicker
x:Name
=
"PART_NavigationPicker"
Style
=
"{StaticResource NavigationDateTimePickerStyle}"
SelectedValue
=
"{Binding CurrentDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
/>
<
telerik:RadButton
Command
=
"telerik:RadScheduleViewCommands.IncreaseVisibleDateLarge"
Style
=
"{StaticResource NavigationButtonNextStyle}"
/>
</
StackPanel
>
</
Grid
>
</
Border
>
</
Border
>
<
telerik:RadTransitionControl
x:Name
=
"PART_TranstionControl"
Duration
=
"00:00:00.500"
Grid.Row
=
"1"
>
<
telerik:RadTransitionControl.Transition
>
<
telerik:SlideAndZoomTransition
MinZoom
=
"1"
/>
</
telerik:RadTransitionControl.Transition
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
Border
x:Name
=
"HeadersHeight"
Grid.ColumnSpan
=
"3"
Height
=
"{TemplateBinding HeadersLength}"
/>
<
Border
x:Name
=
"HeadersWidth"
Grid.RowSpan
=
"3"
Width
=
"{TemplateBinding HeadersLength}"
/>
<
telerik:TimeRulerPanel
x:Name
=
"PART_TimeRulerPanel"
Grid.Column
=
"1"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
Offset
=
"{Binding HorizontalOffset, RelativeSource={RelativeSource TemplatedParent}}"
Grid.Row
=
"0"
/>
<
telerik:AppointmentsPanel
x:Name
=
"PART_ItemsHost"
Background
=
"{x:Null}"
Grid.ColumnSpan
=
"2"
Grid.Column
=
"0"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
Grid.Row
=
"1"
Canvas.ZIndex
=
"1"
/>
<
telerik:TimeRulerLinesPanel
x:Name
=
"PART_TimeRulerLinesPanel"
Background
=
"Transparent"
Grid.Column
=
"1"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
PixelLength
=
"{TemplateBinding EffectivePixelLength}"
Grid.Row
=
"1"
>
<!-- Commande de création -->
<
telerik:CommandManager.InputBindings
>
<
telerik:InputBindingCollection
>
<
telerik:MouseBinding
Command
=
"telerik:RadScheduleViewCommands.CreateAppointment"
MouseAction
=
"LeftDoubleClick"
/>
</
telerik:InputBindingCollection
>
</
telerik:CommandManager.InputBindings
>
</
telerik:TimeRulerLinesPanel
>
<
telerik:HighlightPanel
x:Name
=
"PART_HighlightPanel"
Background
=
"Transparent"
Grid.Column
=
"1"
HorizontalAlignment
=
"Left"
IsHitTestVisible
=
"False"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
PixelLength
=
"{TemplateBinding EffectivePixelLength}"
Grid.Row
=
"1"
VerticalAlignment
=
"Top"
Canvas.ZIndex
=
"1"
/>
<
Border
x:Name
=
"AppointmentsBorder"
BorderBrush
=
"{StaticResource GroupHeaderBorderBrush}"
BorderThickness
=
"1"
Grid.Column
=
"1"
Grid.Row
=
"1"
/>
<
Border
x:Name
=
"VerticalHeadersBorder"
BorderBrush
=
"{StaticResource GroupHeaderHeaderOuterBorder_Vertical}"
BorderThickness
=
"0 1"
Grid.Column
=
"0"
Grid.Row
=
"1"
Canvas.ZIndex
=
"3"
/>
<
Border
x:Name
=
"HorizontalHeadersBorder"
BorderBrush
=
"{StaticResource GroupHeaderHeaderOuterBorder}"
BorderThickness
=
"1 0"
Grid.Column
=
"1"
Grid.Row
=
"0"
Canvas.ZIndex
=
"3"
/>
<
ScrollBar
x:Name
=
"PART_HorizontalScrollBar"
Grid.Column
=
"1"
LargeChange
=
"{TemplateBinding HorizontalLargeChange}"
Maximum
=
"{TemplateBinding ExtentWidth}"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
SmallChange
=
"{TemplateBinding HorizontalSmallChange}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Visibility
=
"{TemplateBinding ComputedHorizontalScrollBarVisibility}"
ViewportSize
=
"{TemplateBinding ViewportWidth}"
/>
<
ScrollBar
x:Name
=
"PART_VerticalScrollBar"
Grid.Column
=
"2"
LargeChange
=
"{TemplateBinding VerticalLargeChange}"
Maximum
=
"{TemplateBinding ExtentHeight}"
Orientation
=
"Vertical"
Grid.Row
=
"1"
SmallChange
=
"{TemplateBinding VerticalSmallChange}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Visibility
=
"{TemplateBinding ComputedVerticalScrollBarVisibility}"
ViewportSize
=
"{TemplateBinding ViewportHeight}"
/>
<
Grid
x:Name
=
"WarningsPanel"
Grid.ColumnSpan
=
"3"
Grid.Row
=
"0"
Grid.RowSpan
=
"3"
Canvas.ZIndex
=
"2"
>
<
Grid
x:Name
=
"ViewDefinitionWarning"
Background
=
"White"
Visibility
=
"{Binding ActiveViewDefinition, Converter={StaticResource InvertedNullToVisibilityConverter}, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
TextBlock
FontSize
=
"32"
HorizontalAlignment
=
"Center"
Text
=
"Please select a View definition"
VerticalAlignment
=
"Center"
/>
</
Grid
>
<
Grid
x:Name
=
"AppointmentSourceWarning"
Background
=
"White"
Visibility
=
"{Binding AppointmentsSource, Converter={StaticResource InvertedNullToVisibilityConverter}, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
TextBlock
Foreground
=
"Black"
FontSize
=
"32"
HorizontalAlignment
=
"Center"
Text
=
"Please provide an AppointmentSource"
VerticalAlignment
=
"Center"
/>
</
Grid
>
</
Grid
>
</
Grid
>
</
telerik:RadTransitionControl
>
</
Grid
>
</
Border
>
</
ControlTemplate
>
<
Style
x:Key
=
"RadScheduleViewStyle1"
BasedOn
=
"{StaticResource ScheduleViewBaseStyle}"
TargetType
=
"telerik:RadScheduleView"
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource RadScheduleViewControlTemplate}"
/>
</
Style
>
</
ResourceDictionary
>
You can use this ResourceDictionary.
To localize the control, you have to add the ConverterCulture Property for each TextBlock using the StringFormat Property. (I think custom converters are better in this case. Cause you can localize all the TextBlock for each languages.). Take a look at the code below :
<
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalMonthViewDateTemplate
>
<
DataTemplate
>
<
TextBlock
Height
=
"16"
Margin
=
"4 1"
Text
=
"{Binding Name, StringFormat=%d MMM, ConverterCulture=fr-FR}"
/>
</
DataTemplate
>
</
telerik:OrientedGroupHeaderContentTemplateSelector.HorizontalMonthViewDateTemplate
>
Hope this helps.
Regards.
C.Léoni.
0

Jonx
Top achievements
Rank 2
answered on 01 Mar 2011, 06:06 PM
Sorry to say but it's not helping...
It's probably working but it can't be like that to localize the ScheduleView...
I'm pretty sure (even if I don't know how) they are doing it in the Localize demo without templates...
I think it's working with ressource strings and/or a custom localisation manager...
Merci quand même Catherine... Mais là , c'est trop de choses à changer pour un truc aussi "simple".
(Thanks anyway Catherine, but like that it's too many things to change for such a "simple" matter...
Anybody?
Thanks,
John.
It's probably working but it can't be like that to localize the ScheduleView...
I'm pretty sure (even if I don't know how) they are doing it in the Localize demo without templates...
I think it's working with ressource strings and/or a custom localisation manager...
Merci quand même Catherine... Mais là , c'est trop de choses à changer pour un truc aussi "simple".
(Thanks anyway Catherine, but like that it's too many things to change for such a "simple" matter...
Anybody?
Thanks,
John.
0
Hi John,
I've attached a simple example demonstrating how to localize RadScheduleView using resource file. Note that you should set DefaultResourceManager and DefaultCulture properties of LocalizationManager:
Complete list of resource keys can be found here.
Please download the attachment and give it a try. If you experience any issues, contact us again.
Best wishes,
Yana
the Telerik team
I've attached a simple example demonstrating how to localize RadScheduleView using resource file. Note that you should set DefaultResourceManager and DefaultCulture properties of LocalizationManager:
Copy Code
Copy Code
Copy Code
Copy Code
LocalizationManager.DefaultResourceManager = ScheduleViewResources.ResourceManager;
LocalizationManager.DefaultCulture =
new
CultureInfo(
"fr"
);
Complete list of resource keys can be found here.
Please download the attachment and give it a try. If you experience any issues, contact us again.
Best wishes,
Yana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0

Jonx
Top achievements
Rank 2
answered on 03 Mar 2011, 04:46 PM
Hello Yana,
Exactly what I needed.
Thank you...
Thanks Catherine for the whole style approach but this was too complicated for me...
Yana, I did use the ressource strings found here:
http://www.telerik.com/community/forums/silverlight/scheduler/french-localization.aspx
Maybe you have a more recent us ressource file containing the latest keys for the Scheduler and the SchedulerView
Here is how I setup the localization manager in my app.cs right before :
Still there are three things I need to translate...
Timemakers, categories and the day hours on the left...
It's working in the RadSheduler but not in the RadScheduleView...
See the screenshot, the yellow parts show what is missing in the SchedulerView,
would you mind pointing me out what keys I need to use? Please?
The other screenshot shows the Scheduler...
Thanks a lot in advance...
John.
Exactly what I needed.
Thank you...
Thanks Catherine for the whole style approach but this was too complicated for me...
Yana, I did use the ressource strings found here:
http://www.telerik.com/community/forums/silverlight/scheduler/french-localization.aspx
Maybe you have a more recent us ressource file containing the latest keys for the Scheduler and the SchedulerView
Here is how I setup the localization manager in my app.cs right before :
LocalizationManager.Manager =
new
CustomLocalizationManager();
LocalizationManager.DefaultCulture =
new
CultureInfo(
"fr"
);
LocalizationManager.DefaultResourceManager = SchedulerStrings.ResourceManager;
Still there are three things I need to translate...
Timemakers, categories and the day hours on the left...
It's working in the RadSheduler but not in the RadScheduleView...
See the screenshot, the yellow parts show what is missing in the SchedulerView,
would you mind pointing me out what keys I need to use? Please?
The other screenshot shows the Scheduler...
Thanks a lot in advance...
John.
0
Accepted
Hi John,
Straight to the questions:
- TimeMarkers resource keys will be added in Q1 2011 which will be available in mid March.
- You should create custom categories using CategoriesSource property.
- The hours should be set automatically according to the Culture, this works as expected at our side.
Greetings,
Yana
the Telerik team
Straight to the questions:
- TimeMarkers resource keys will be added in Q1 2011 which will be available in mid March.
- You should create custom categories using CategoriesSource property.
- The hours should be set automatically according to the Culture, this works as expected at our side.
Greetings,
Yana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0

Jonx
Top achievements
Rank 2
answered on 06 May 2011, 03:07 AM
Hello Yana,
Thank you for your help.
Just one more thing.
Do you think that Telerik could provide the empty up to date ressource files (english) for all your components in a central place so that we could easily get them and localize the parts we need or the whole controls if we want...
Thanks a lot in advance,
John.
Thank you for your help.
Just one more thing.
Do you think that Telerik could provide the empty up to date ressource files (english) for all your components in a central place so that we could easily get them and localize the parts we need or the whole controls if we want...
Thanks a lot in advance,
John.
0
Hi John,
You can find attached the latest resource file - it contains the resource keys for all RadControls.
Best wishes,
Yana
the Telerik team
You can find attached the latest resource file - it contains the resource keys for all RadControls.
Best wishes,
Yana
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Jonx
Top achievements
Rank 2
answered on 06 May 2011, 02:02 PM
Thank you for that. This will help me a lot.
But I would find it more usefull to be able to download those strings by myself each time you release a new version of your controls without having to ask. As you are adding more and more strings to each at each release... I can't come here and ask for it each time...
But I would find it more usefull to be able to download those strings by myself each time you release a new version of your controls without having to ask. As you are adding more and more strings to each at each release... I can't come here and ask for it each time...
0
Accepted
Hello John,
We'll consider a more suitable way of providing the Strings.resx file.
For now, you can also get the file from the source code of RadControls - it's placed in Core/Controls folder.
Regards,
Yana
the Telerik team
We'll consider a more suitable way of providing the Strings.resx file.
For now, you can also get the file from the source code of RadControls - it's placed in Core/Controls folder.
Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Jonx
Top achievements
Rank 2
answered on 11 May 2011, 01:38 PM
Ha, cool, very good, I did'nt think of that way.
For someone like me that has the source code, this is an easy way to get the ressource strings...
Thanks a lot for the suggestion...
John.
For someone like me that has the source code, this is an easy way to get the ressource strings...
Thanks a lot for the suggestion...
John.