or
<
tgrid:RadGridView
x:Name
=
"dataGrid1"
ItemsSource
=
"{Binding ProbationerList}"
AutoGenerateColumns
=
"False"
>
<
tgrid:RadGridView.Columns
>
<
tgrid:GridViewDataColumn
Header
=
"PerSeq"
UniqueName
=
"PerSeq"
DataMemberBinding
=
"{Binding PerSeq}"
/>
</
tgrid:RadGridView.Columns
>
<
ContentPresenter
x:Name
=
"Content"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding DraggedItemsSource}"
Grid.Column
=
"1"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
<
UserControl
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:sched
=
"clr-namespace:PrairieGrove.Common.Scheduler.Library"
xmlns:System
=
"clr-namespace:System;assembly=mscorlib"
xmlns:Telerik_Windows_Controls_Chromes
=
"clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
x:Class
=
"PrairieGrove.Product.OsiPi.ManualLogger.TestUI.ScheduleUC"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
UserControl.Resources
>
<
Style
x:Key
=
"RadScheduleViewStyle1"
TargetType
=
"{x:Type telerik:RadScheduleView}"
>
<
Setter
Property
=
"telerik:ScrollingSettingsBehavior.IsEnabled"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:ScrollingSettingsBehavior.ScrollAreaPadding"
Value
=
"30"
/>
<
Setter
Property
=
"telerik:ScrollingSettingsBehavior.ScrollStep"
Value
=
"5"
/>
<
Setter
Property
=
"telerik:ScrollingSettingsBehavior.ScrollStepTime"
Value
=
"0:0:0.01"
/>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Background"
Value
=
"White"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"Transparent"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type 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"
>
<
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"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Int32
>1</
System:Int32
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.ColumnSpan)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Int32
>1</
System:Int32
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Int32
>0</
System:Int32
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.RowSpan)"
Storyboard.TargetName
=
"PART_ItemsHost"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Int32
>2</
System:Int32
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Column)"
Storyboard.TargetName
=
"PART_TimeRulerPanel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Int32
>0</
System:Int32
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(Grid.Row)"
Storyboard.TargetName
=
"PART_TimeRulerPanel"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Int32
>1</
System:Int32
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Border
x:Name
=
"NavigationHeader"
BorderBrush
=
"#FFB5B5B5"
BorderThickness
=
"1"
Visibility
=
"{TemplateBinding NavigationHeaderVisibility}"
>
<
Border.Background
>
<
LinearGradientBrush
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
>
</
Border.Background
>
<
Border
BorderBrush
=
"Transparent"
BorderThickness
=
"1"
>
<
Grid
x:Name
=
"ScheduleViewHeader"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
ListBox
x:Name
=
"ViewModeSelection"
Grid.Column
=
"0"
SelectionMode
=
"Single"
>
<
ListBox.Style
>
<
Style
TargetType
=
"{x:Type ListBox}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Margin"
Value
=
"2"
/>
<
Setter
Property
=
"IsTabStop"
Value
=
"False"
/>
<
Setter
Property
=
"ItemContainerStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type ListBoxItem}"
>
<
Setter
Property
=
"IsTabStop"
Value
=
"False"
/>
<
Setter
Property
=
"Margin"
Value
=
"2"
/>
<
Setter
Property
=
"Padding"
Value
=
"6,3"
/>
<
Setter
Property
=
"MinWidth"
Value
=
"84"
/>
<
Setter
Property
=
"Foreground"
Value
=
"White"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"IsTabStop"
Value
=
"False"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type ListBoxItem}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(TextElement.Foreground)"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"(TextElement.Foreground)"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
Background
=
"#00000000"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"#00000000"
/>
</
Border
>
<
ContentPresenter
x:Name
=
"Content"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
telerik:LocalizationManager.ResourceKey
=
"{Binding Title}"
RecognizesAccessKey
=
"True"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"ScrollViewer.VerticalScrollBarVisibility"
Value
=
"Auto"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type ListBox}"
>
<
ScrollViewer
x:Name
=
"ScrollViewer"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
Margin
=
"0"
Padding
=
"{TemplateBinding Padding}"
VerticalScrollBarVisibility
=
"Auto"
>
<
ItemsPresenter
/>
</
ScrollViewer
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"ItemsPanel"
>
<
Setter.Value
>
<
ItemsPanelTemplate
>
<
telerik:RadUniformGrid
IsItemsHost
=
"True"
Rows
=
"1"
/>
</
ItemsPanelTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
ListBox.Style
>
</
ListBox
>
<
StackPanel
Grid.Column
=
"1"
HorizontalAlignment
=
"Right"
Orientation
=
"Horizontal"
>
<
ContentControl
x:Name
=
"CurrentInterval"
Content
=
"{TemplateBinding CurrentVisibleRangeText}"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
>
<
ContentControl.Style
>
<
Style
TargetType
=
"{x:Type 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
=
"Black"
Margin
=
"0,1,0,0"
Text
=
"{Binding}"
/>
<
TextBlock
Foreground
=
"White"
Margin
=
"0,0,0,1"
Text
=
"{Binding}"
/>
</
Grid
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
ContentControl.Style
>
</
ContentControl
>
<
telerik:RadButton
Command
=
"telerik:RadScheduleViewCommands.DecreaseVisibleDateLarge"
InnerCornerRadius
=
"0"
>
<
telerik:RadButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type 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"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconForeground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
Background
=
"#00000000"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"#00000000"
/>
</
Border
>
<
Path
x:Name
=
"IconBackground"
Data
=
"M4,0L0,3.5 4,7z"
Fill
=
"Black"
Height
=
"7"
Margin
=
"0,1,0,0"
Width
=
"4"
/>
<
Path
x:Name
=
"IconForeground"
Data
=
"M4,0L0,3.5 4,7z"
Fill
=
"White"
Height
=
"7"
Margin
=
"0,0,0,1"
Width
=
"4"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type FrameworkElement}"
>
<
Setter
Property
=
"Margin"
Value
=
"2"
/>
<
Setter
Property
=
"Width"
Value
=
"22"
/>
<
Setter
Property
=
"Height"
Value
=
"22"
/>
<
Setter
Property
=
"FocusVisualStyle"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Center"
/>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:RadButton.Style
>
</
telerik:RadButton
>
<
telerik:RadDatePicker
x:Name
=
"PART_NavigationPicker"
DisplayDate
=
"2013-05-01"
InputMode
=
"DatePicker"
SelectedValue
=
"{Binding CurrentDate, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
telerik:RadDatePicker.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadDatePicker}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadDatePicker}"
>
<
telerik:RadDropDownButton
DropDownIndicatorVisibility
=
"Collapsed"
IsOpen
=
"{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
InnerCornerRadius
=
"0"
>
<
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
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadCalendar
>
</
telerik:RadDropDownButton.DropDownContent
>
<
telerik:RadDropDownButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadDropDownButton}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type 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"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Opened"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CalendarIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
Background
=
"#00000000"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"#00000000"
/>
</
Border
>
<
ContentControl
x:Name
=
"CalendarIcon"
Background
=
"Black"
Foreground
=
"White"
HorizontalContentAlignment
=
"Center"
IsTabStop
=
"False"
Margin
=
"0,0,0,1"
>
<
ContentControl.Template
>
<
ControlTemplate
TargetType
=
"{x:Type ContentControl}"
>
<
Grid
>
<
Path
x:Name
=
"CalendarIconBackground"
Data
=
"M0,0.5L7,0.5 M0,2.5L7,2.5 M0,4.5L7,4.5 M0,6.5L7,6.5 M0.5,0L0.5,7 M2.5,0L2.5,7 M4.5,0L4.5,7 M6.5,0L6.5,7"
Height
=
"7"
Margin
=
"0,1,0,0"
Stroke
=
"{TemplateBinding Background}"
Width
=
"7"
/>
<
Path
x:Name
=
"CalendarIconForeground"
Data
=
"M0,0.5L7,0.5 M0,2.5L7,2.5 M0,4.5L7,4.5 M0,6.5L7,6.5 M0.5,0L0.5,7 M2.5,0L2.5,7 M4.5,0L4.5,7 M6.5,0L6.5,7"
Height
=
"7"
Margin
=
"0,0,0,1"
Stroke
=
"{TemplateBinding Foreground}"
Width
=
"7"
/>
</
Grid
>
</
ControlTemplate
>
</
ContentControl.Template
>
</
ContentControl
>
<
Popup
x:Name
=
"DropDownPopup"
AllowsTransparency
=
"True"
Focusable
=
"False"
IsOpen
=
"{Binding IsOpen, RelativeSource={RelativeSource TemplatedParent}}"
Placement
=
"Bottom"
StaysOpen
=
"False"
>
<
ContentPresenter
x:Name
=
"DropDownPopupContent"
ContentTemplate
=
"{TemplateBinding DropDownContentTemplate}"
Content
=
"{TemplateBinding DropDownContent}"
/>
</
Popup
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type FrameworkElement}"
>
<
Setter
Property
=
"Margin"
Value
=
"2"
/>
<
Setter
Property
=
"Width"
Value
=
"22"
/>
<
Setter
Property
=
"Height"
Value
=
"22"
/>
<
Setter
Property
=
"FocusVisualStyle"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Center"
/>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:RadDropDownButton.Style
>
</
telerik:RadDropDownButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadDatePicker.Style
>
</
telerik:RadDatePicker
>
<
telerik:RadButton
Command
=
"telerik:RadScheduleViewCommands.IncreaseVisibleDateLarge"
InnerCornerRadius
=
"0"
>
<
telerik:RadButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type 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"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconForeground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"IconBackground"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
Background
=
"#00000000"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"#00000000"
/>
</
Border
>
<
Path
x:Name
=
"IconBackground"
Data
=
"M0,0L4,3.5 0,7z"
Fill
=
"Black"
Height
=
"7"
Margin
=
"0,1,0,0"
Width
=
"4"
/>
<
Path
x:Name
=
"IconForeground"
Data
=
"M0,0L4,3.5 0,7z"
Fill
=
"White"
Height
=
"7"
Margin
=
"0,0,0,1"
Width
=
"4"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type FrameworkElement}"
>
<
Setter
Property
=
"Margin"
Value
=
"2"
/>
<
Setter
Property
=
"Width"
Value
=
"22"
/>
<
Setter
Property
=
"Height"
Value
=
"22"
/>
<
Setter
Property
=
"FocusVisualStyle"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"HorizontalAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Center"
/>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:RadButton.Style
>
</
telerik:RadButton
>
</
StackPanel
>
</
Grid
>
</
Border
>
</
Border
>
<
telerik:RadTransitionControl
x:Name
=
"PART_TranstionControl"
Duration
=
"0:0:0.5"
Grid.Row
=
"1"
>
<
telerik:RadTransitionControl.Transition
>
<
telerik:SlideAndZoomTransition
LayoutAnimation
=
"Instant"
MinAlpha
=
"0.1"
MinZoom
=
"1"
StartSlideAt
=
"0.25"
SlideDirection
=
"LeftToRight"
/>
</
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"
ClipToBounds
=
"True"
Grid.Column
=
"1"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
Offset
=
"{Binding HorizontalOffset, RelativeSource={RelativeSource TemplatedParent}}"
Grid.Row
=
"0"
/>
<
telerik:AppointmentsPanel
x:Name
=
"PART_ItemsHost"
Background
=
"Transparent"
Grid.ColumnSpan
=
"2"
Grid.Column
=
"0"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
Grid.Row
=
"1"
Panel.ZIndex
=
"1"
/>
<
telerik:LayoutTransformControl
Grid.Column
=
"1"
FocusVisualStyle
=
"{x:Null}"
HorizontalAlignment
=
"Right"
IsTabStop
=
"False"
Grid.Row
=
"1"
Visibility
=
"{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}"
VerticalAlignment
=
"Center"
Panel.ZIndex
=
"1"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
telerik:RadButton
CornerRadius
=
"2,2,0,0"
Command
=
"telerik:RadScheduleViewCommands.GoToNextAppointment"
FocusVisualStyle
=
"{x:Null}"
HorizontalContentAlignment
=
"Stretch"
InnerCornerRadius
=
"1,1,0,0"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
Grid
Width
=
"160"
>
<
TextBlock
HorizontalAlignment
=
"Center"
telerik:LocalizationManager.ResourceKey
=
"NextAppointment"
Text
=
"Next Appointment"
VerticalAlignment
=
"Center"
><
Run
Text
=
"Next Appointment"
/></
TextBlock
>
<
TextBlock
FontSize
=
"8"
HorizontalAlignment
=
"Right"
Margin
=
"8,0"
Text
=
"â–¼"
VerticalAlignment
=
"Center"
><
Run
Text
=
"â–¼"
/></
TextBlock
>
</
Grid
>
</
telerik:RadButton
>
</
telerik:LayoutTransformControl
>
<
telerik:LayoutTransformControl
Grid.Column
=
"1"
FocusVisualStyle
=
"{x:Null}"
HorizontalAlignment
=
"Left"
IsTabStop
=
"False"
Grid.Row
=
"1"
Visibility
=
"{TemplateBinding ComputedAppointmentNavigationButtonsVisibility}"
VerticalAlignment
=
"Center"
Panel.ZIndex
=
"1"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
telerik:RadButton
CornerRadius
=
"0,0,2,2"
Command
=
"telerik:RadScheduleViewCommands.GoToPreviousAppointment"
FocusVisualStyle
=
"{x:Null}"
InnerCornerRadius
=
"0,0,1,1"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
Grid
Width
=
"160"
>
<
TextBlock
HorizontalAlignment
=
"Center"
telerik:LocalizationManager.ResourceKey
=
"PreviousAppointment"
Text
=
"Previous Appointment"
VerticalAlignment
=
"Center"
><
Run
Text
=
"Previous Appointment"
/></
TextBlock
>
<
TextBlock
FontSize
=
"8"
HorizontalAlignment
=
"Right"
Margin
=
"8,0"
Text
=
"â–²"
VerticalAlignment
=
"Center"
><
Run
Text
=
"â–²"
/></
TextBlock
>
</
Grid
>
</
telerik:RadButton
>
</
telerik:LayoutTransformControl
>
<
telerik:TimeRulerLinesPanel
x:Name
=
"PART_TimeRulerLinesPanel"
Background
=
"Transparent"
ClipToBounds
=
"True"
Grid.Column
=
"1"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
PixelLength
=
"{TemplateBinding EffectivePixelLength}"
Grid.Row
=
"1"
/>
<
telerik:HighlightPanel
x:Name
=
"PART_HighlightPanel"
Background
=
"Transparent"
ClipToBounds
=
"True"
Grid.Column
=
"1"
HorizontalAlignment
=
"Left"
IsHitTestVisible
=
"False"
Orientation
=
"{TemplateBinding EffectiveOrientation}"
PixelLength
=
"{TemplateBinding EffectivePixelLength}"
Grid.Row
=
"1"
VerticalAlignment
=
"Stretch"
Panel.ZIndex
=
"1"
/>
<
Border
x:Name
=
"AppointmentsBorder"
BorderBrush
=
"#FFCBCBCB"
BorderThickness
=
"1"
Grid.Column
=
"1"
Grid.Row
=
"1"
/>
<
Border
x:Name
=
"VerticalHeadersBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"0,1"
Grid.Column
=
"0"
Grid.Row
=
"1"
Panel.ZIndex
=
"3"
/>
<
Border
x:Name
=
"HorizontalHeadersBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1,0"
Grid.Column
=
"1"
Grid.Row
=
"0"
Panel.ZIndex
=
"3"
/>
<
ScrollBar
x:Name
=
"PART_HorizontalScrollBar"
Grid.Column
=
"1"
LargeChange
=
"{TemplateBinding HorizontalLargeChange}"
Maximum
=
"{TemplateBinding ExtentWidth}"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
SmallChange
=
"{TemplateBinding HorizontalSmallChange}"
Visibility
=
"{TemplateBinding ComputedHorizontalScrollBarVisibility}"
ViewportSize
=
"{TemplateBinding ViewportWidth}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
ScrollBar
>
<
ScrollBar
x:Name
=
"PART_VerticalScrollBar"
Grid.Column
=
"2"
LargeChange
=
"{TemplateBinding VerticalLargeChange}"
Maximum
=
"{TemplateBinding ExtentHeight}"
Orientation
=
"Vertical"
Grid.Row
=
"1"
SmallChange
=
"{TemplateBinding VerticalSmallChange}"
Visibility
=
"{TemplateBinding ComputedVerticalScrollBarVisibility}"
ViewportSize
=
"{TemplateBinding ViewportHeight}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
ScrollBar
>
<
Grid
x:Name
=
"WarningsPanel"
Grid.ColumnSpan
=
"3"
Grid.Row
=
"0"
Grid.RowSpan
=
"3"
Panel.ZIndex
=
"2"
>
<
Grid
x:Name
=
"ViewDefinitionWarning"
Background
=
"White"
>
<
Grid.Visibility
>
<
Binding
Mode
=
"TwoWay"
Path
=
"ActiveViewDefinition"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Grid.Visibility
>
<
TextBlock
FontSize
=
"32"
HorizontalAlignment
=
"Center"
Text
=
"Please select a View definition"
VerticalAlignment
=
"Center"
><
Run
Text
=
"Please select a View definition"
/></
TextBlock
>
</
Grid
>
<
Grid
x:Name
=
"AppointmentSourceWarning"
Background
=
"White"
>
<
Grid.Visibility
>
<
Binding
Mode
=
"TwoWay"
Path
=
"AppointmentsSource"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Grid.Visibility
>
<
TextBlock
Foreground
=
"Black"
FontSize
=
"32"
HorizontalAlignment
=
"Center"
Text
=
"Please provide an AppointmentsSource"
VerticalAlignment
=
"Center"
><
Run
Text
=
"Please provide an AppointmentsSource"
/></
TextBlock
>
</
Grid
>
</
Grid
>
</
Grid
>
</
telerik:RadTransitionControl
>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"GroupHeaderStyleSelector"
>
<
Setter.Value
>
<
telerik:OrientedGroupHeaderStyleSelector
ResourceStyleSelector
=
"{x:Null}"
>
<
telerik:OrientedGroupHeaderStyleSelector.HorizontalTodayStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,-1,0"
/>
<
Setter
Property
=
"Padding"
Value
=
"-1,0,0,0"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-1"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.HorizontalTodayStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.HorizontalStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,-1,0"
/>
<
Setter
Property
=
"Padding"
Value
=
"-1,0,0,0"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.HorizontalStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.HorizontalTodayBottomLevelStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,-1,0"
/>
<
Setter
Property
=
"Padding"
Value
=
"1,0,5,0"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-1"
/>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.HorizontalTodayBottomLevelStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.HorizontalBottomLevelStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,-1,0"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,0,5,0"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.HorizontalBottomLevelStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.MonthViewBottomLevelWeekGroupStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,0,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,21,0,18"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"85"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.MonthViewBottomLevelWeekGroupStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.MonthViewWeekGroupStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,0,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,-1,0,0"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.MonthViewWeekGroupStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.VerticalTodayBottomLevelStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,0,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,1,0,5"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-1"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.VerticalTodayBottomLevelStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.VerticalTodayStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,0,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,-1,0,0"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-1"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.VerticalTodayStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.VerticalBottomLevelStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,0,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,0,0,5"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.VerticalBottomLevelStyle
>
<
telerik:OrientedGroupHeaderStyleSelector.VerticalStyle
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,0,0,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,-1,0,0"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:GroupHeader}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"NormalDayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderThickness"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>2,0,2,2</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"VerticalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
VerticalAlignment
>Stretch</
VerticalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"HorizontalAlignment"
Storyboard.TargetName
=
"Header"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
HorizontalAlignment
>Left</
HorizontalAlignment
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Stretch"
IsHitTestVisible
=
"False"
VerticalAlignment
=
"Stretch"
/>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
CommandParameter
=
"{TemplateBinding CommandParameter}"
Command
=
"{TemplateBinding Command}"
Foreground
=
"{TemplateBinding Foreground}"
InnerCornerRadius
=
"0"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
VerticalAlignment
=
"Top"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:GroupHeaderButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedGroupHeaderStyleSelector.VerticalStyle
>
</
telerik:OrientedGroupHeaderStyleSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"GroupHeaderContentTemplateSelector"
>
<
Setter.Value
>
<
telerik:GroupHeaderTemplateSelector
>
<
telerik:GroupHeaderTemplateSelector.HorizontalTemplate
>
<
DataTemplate
>
<
ContentPresenter
Content
=
"{Binding FormattedName}"
Height
=
"16"
Margin
=
"4"
/>
</
DataTemplate
>
</
telerik:GroupHeaderTemplateSelector.HorizontalTemplate
>
<
telerik:GroupHeaderTemplateSelector.VerticalTemplate
>
<
DataTemplate
>
<
ContentPresenter
Content
=
"{Binding FormattedName}"
Height
=
"16"
Margin
=
"4"
VerticalAlignment
=
"Top"
>
<
ContentPresenter.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
ContentPresenter.LayoutTransform
>
</
ContentPresenter
>
</
DataTemplate
>
</
telerik:GroupHeaderTemplateSelector.VerticalTemplate
>
</
telerik:GroupHeaderTemplateSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"TimeRulerItemStyleSelector"
>
<
Setter.Value
>
<
telerik:OrientedTimeRulerItemStyleSelector
>
<
telerik:OrientedTimeRulerItemStyleSelector.HorizontalLineStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerLine}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"White"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type 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"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>1,0,0,0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.HorizontalLineStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.HorizontalGroupItemStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerGroupItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"Margin"
Value
=
"0,0,-1,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"4,2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerGroupItem}"
>
<
telerik:RadButton
CommandParameter
=
"{Binding Content.DateTime.Date, RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.SetDayViewMode"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
InnerCornerRadius
=
"0"
Padding
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
>
<
telerik:RadButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Border
x:Name
=
"OuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"InnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"1"
Padding
=
"{TemplateBinding Padding}"
>
<
ContentControl
x:Name
=
"Content"
Content
=
"{TemplateBinding Content}"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"-2"
VerticalContentAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadButton.Style
>
<
ContentPresenter
x:Name
=
"Content"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
/>
</
telerik:RadButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.HorizontalGroupItemStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.MinorVerticalTickStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0,1,0,0"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"70"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Grid
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
HorizontalAlignment
=
"Right"
Width
=
"20"
/>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MinorVerticalTickStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.MajorHorizontalTickStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1,0,0,0"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MajorHorizontalTickStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.MonthViewTodayTickStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerMonthViewItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Margin"
Value
=
"0,-1,-1,0"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"1"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerMonthViewItem}"
>
<
Grid
>
<
Border
BorderBrush
=
"#FFFFC92B"
BorderThickness
=
"2,0,2,2"
/>
<
telerik:RadButton
CommandParameter
=
"{Binding Content.DateTime.Date, RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.SetDayViewMode"
Height
=
"22"
InnerCornerRadius
=
"0"
Padding
=
"0"
VerticalAlignment
=
"Top"
>
<
telerik:RadButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Border
x:Name
=
"OuterBorder"
BorderThickness
=
"1"
>
<
Border.BorderBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Border.BorderBrush
>
<
Border.Background
>
<
LinearGradientBrush
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
>
</
Border.Background
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"InnerBorder"
BorderThickness
=
"1"
Padding
=
"{TemplateBinding Padding}"
>
<
Border.BorderBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
Border.BorderBrush
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
Margin
=
"-2"
/>
</
Border
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadButton.Style
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
Margin
=
"{TemplateBinding Padding}"
/>
</
telerik:RadButton
>
<
telerik:RadToggleButton
HorizontalAlignment
=
"Right"
IsChecked
=
"{Binding IsExpanded, Mode=TwoWay}"
InnerCornerRadius
=
"0"
Visibility
=
"{Binding ExpandButtonVisibility}"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadToggleButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadToggleButton}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
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
=
"{x:Type 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"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"CheckStates"
>
<
VisualState
x:Name
=
"Checked"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Unchecked"
/>
<
VisualState
x:Name
=
"Indeterminate"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Root"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"#00000000"
BorderThickness
=
"1"
Background
=
"#00000000"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"#00000000"
/>
</
Border
>
<
Path
x:Name
=
"Expand"
Data
=
"M0,0L7,0 3.5,4z"
Fill
=
"Black"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
/>
<
Path
x:Name
=
"Collapse"
Data
=
"M0,4L7,4 3.5,0z"
Fill
=
"Black"
HorizontalAlignment
=
"Center"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadToggleButton.Style
>
</
telerik:RadToggleButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MonthViewTodayTickStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.MonthViewGroupStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerMonthViewGroupItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerMonthViewGroupItem}"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MonthViewGroupStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.MajorVerticalTickStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0,1,0,0"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"50"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MajorVerticalTickStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.MinorHorizontalTickStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1,0,0,0"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerItem}"
>
<
Grid
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
Height
=
"5"
VerticalAlignment
=
"Bottom"
/>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MinorHorizontalTickStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerMonthViewItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Margin"
Value
=
"0,-1,-1,0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerMonthViewItem}"
>
<
Grid
>
<
telerik:RadButton
CommandParameter
=
"{Binding Content.DateTime.Date, RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.SetDayViewMode"
Height
=
"22"
InnerCornerRadius
=
"0"
Padding
=
"0"
VerticalAlignment
=
"Top"
>
<
telerik:RadButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Border
x:Name
=
"OuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"InnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"1"
Padding
=
"{TemplateBinding Padding}"
>
<
ContentControl
x:Name
=
"Content"
Content
=
"{TemplateBinding Content}"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"-2"
VerticalContentAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadButton.Style
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
Margin
=
"{TemplateBinding Padding}"
/>
</
telerik:RadButton
>
<
telerik:RadToggleButton
HorizontalAlignment
=
"Right"
IsChecked
=
"{Binding IsExpanded, Mode=TwoWay}"
InnerCornerRadius
=
"0"
Visibility
=
"{Binding ExpandButtonVisibility}"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadToggleButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadToggleButton}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
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
=
"{x:Type 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"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CheckOuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Stroke"
Storyboard.TargetName
=
"CheckInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Fill"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"CheckStates"
>
<
VisualState
x:Name
=
"Checked"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Collapse"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Expand"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Unchecked"
/>
<
VisualState
x:Name
=
"Indeterminate"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Root"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"CheckOuterBorder"
BorderBrush
=
"#00000000"
BorderThickness
=
"1"
Background
=
"#00000000"
CornerRadius
=
"1"
>
<
Rectangle
x:Name
=
"CheckInnerBorder"
Stroke
=
"#00000000"
/>
</
Border
>
<
Path
x:Name
=
"Expand"
Data
=
"M0,0L7,0 3.5,4z"
Fill
=
"Black"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
/>
<
Path
x:Name
=
"Collapse"
Data
=
"M0,4L7,4 3.5,0z"
Fill
=
"Black"
HorizontalAlignment
=
"Center"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
/>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadToggleButton.Style
>
</
telerik:RadToggleButton
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.VerticalGroupItemStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerGroupItem}"
>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
EndPoint
=
"1,0.5"
StartPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"Orientation"
Value
=
"Vertical"
/>
<
Setter
Property
=
"Margin"
Value
=
"0,0,-1,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"2,4"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerGroupItem}"
>
<
telerik:RadButton
CommandParameter
=
"{Binding Content.DateTime.Date, RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.SetDayViewMode"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
InnerCornerRadius
=
"0"
Padding
=
"{TemplateBinding Padding}"
VerticalContentAlignment
=
"{TemplateBinding VerticalContentAlignment}"
>
<
telerik:RadButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Border
x:Name
=
"OuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"1,0.5"
StartPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"1,0.5"
StartPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"#FFFFFBDA"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFFFD25A"
Offset
=
"0.43"
/>
<
GradientStop
Color
=
"#FFFEEBAE"
Offset
=
"0.42"
/>
<
GradientStop
Color
=
"#FFFFFBA3"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"1,0.5"
StartPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"#FFFFBA74"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFFFDCAB"
Offset
=
"0.17"
/>
<
GradientStop
Color
=
"#FFFE9227"
Offset
=
"0.57"
/>
<
GradientStop
Color
=
"#FFFFD18F"
Offset
=
"0.56"
/>
<
GradientStop
Color
=
"#FFFFD74E"
Offset
=
"0.996"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"1,0.5"
StartPoint
=
"0,0.5"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"InnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"1"
Padding
=
"{TemplateBinding Padding}"
>
<
ContentControl
x:Name
=
"Content"
Content
=
"{TemplateBinding Content}"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"-2"
VerticalContentAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadButton.Style
>
<
ContentPresenter
x:Name
=
"Content"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
/>
</
telerik:RadButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerGroupItem}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Top"
/>
<
Setter
Property
=
"Margin"
Value
=
"0,0,-1,-1"
/>
<
Setter
Property
=
"Padding"
Value
=
"4,2"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:TimeRulerGroupItem}"
>
<
telerik:RadButton
CommandParameter
=
"{Binding Content.DateTime.Date, RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.SetDayViewMode"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
InnerCornerRadius
=
"0"
Padding
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
>
<
telerik:RadButton.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadButton}"
>
<
Border
x:Name
=
"OuterBorder"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCDCDCD"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Normal"
/>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Pressed"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"OuterBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
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
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"InnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB69A78"
/>
<
GradientStop
Color
=
"#FFFFE17A"
Offset
=
"0.126"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"Content"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"InnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"1"
Padding
=
"{TemplateBinding Padding}"
>
<
ContentControl
x:Name
=
"Content"
Content
=
"{TemplateBinding Content}"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"-2"
VerticalContentAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Border
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadButton.Style
>
<
ContentPresenter
x:Name
=
"Content"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
/>
</
telerik:RadButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.VerticalGroupItemStyle
>
<
telerik:OrientedTimeRulerItemStyleSelector.VerticalLineStyle
>
<
Style
TargetType
=
"{x:Type telerik:TimeRulerLine}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFCBCBCB"
/>
<
Setter
Property
=
"Background"
Value
=
"White"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type 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"
>
<
DiscreteObjectKeyFrame.Value
>
<
Thickness
>1,0,0,0</
Thickness
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.VerticalLineStyle
>
</
telerik:OrientedTimeRulerItemStyleSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"TimeRulerItemTemplateSelector"
>
<
Setter.Value
>
<
telerik:TimeRulerItemTemplateSelector
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
TextAlignment
=
"Left"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
TextAlignment
=
"Left"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalDayMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalWeekMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalDayMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2,1"
TextAlignment
=
"Left"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.HorizontalTimelineGroupTemplate
>
<
telerik:TimeRulerItemTemplateSelector.MonthGroupTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"6,2"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.MonthGroupTemplate
>
<
telerik:TimeRulerItemTemplateSelector.MonthItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"6,2"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.MonthItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
MinWidth
=
"50"
TextAlignment
=
"Right"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
MinWidth
=
"50"
TextAlignment
=
"Right"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalWeekMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
MinWidth
=
"50"
TextAlignment
=
"Right"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalWeekMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"1,2"
TextAlignment
=
"Right"
Text
=
"{Binding FormattedValue}"
>
<
TextBlock.LayoutTransform
>
<
RotateTransform
Angle
=
"-90"
/>
</
TextBlock.LayoutTransform
>
</
TextBlock
>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalTimelineGroupTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
MinWidth
=
"50"
TextAlignment
=
"Right"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalDayMajorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
MinWidth
=
"50"
TextAlignment
=
"Right"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalDayMinorItemTemplate
>
<
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate
>
<
DataTemplate
>
<
TextBlock
Margin
=
"2"
MinWidth
=
"50"
TextAlignment
=
"Right"
Text
=
"{Binding FormattedValue}"
/>
</
DataTemplate
>
</
telerik:TimeRulerItemTemplateSelector.VerticalTimelineMinorItemTemplate
>
</
telerik:TimeRulerItemTemplateSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"CurrentTimeIndicatorStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:CurrentTimeIndicator}"
>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"1"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
Rectangle
Fill
=
"#FFFFC92B"
Margin
=
"0,0,-1,-1"
MinWidth
=
"2"
MinHeight
=
"2"
/>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"ResizeHighlightStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"Background"
Value
=
"#99FCE7AD"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
Grid
>
<
Border
BorderBrush
=
"#99FFFFFF"
BorderThickness
=
"1"
/>
<
Path
HorizontalAlignment
=
"Left"
Height
=
"8"
Margin
=
"-2"
SnapsToDevicePixels
=
"False"
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.Stroke
>
<
LinearGradientBrush
EndPoint
=
"1,1"
StartPoint
=
"0,0"
>
<
GradientStop
Color
=
"Black"
Offset
=
"0.33"
/>
<
GradientStop
Color
=
"#00000000"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Path.Stroke
>
</
Path
>
<
TextBlock
x:Name
=
"StartTextBox"
Foreground
=
"Black"
HorizontalAlignment
=
"Left"
Margin
=
"4,2"
Text
=
"{Binding ActualStart, StringFormat=t}"
VerticalAlignment
=
"Top"
/>
<
Path
HorizontalAlignment
=
"Right"
Height
=
"8"
Margin
=
"-2"
SnapsToDevicePixels
=
"False"
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.Stroke
>
<
LinearGradientBrush
EndPoint
=
"0,0"
StartPoint
=
"1,1"
>
<
GradientStop
Color
=
"Black"
Offset
=
"0.33"
/>
<
GradientStop
Color
=
"#00000000"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Path.Stroke
>
</
Path
>
<
TextBlock
x:Name
=
"EndTextBox"
Foreground
=
"Black"
HorizontalAlignment
=
"Right"
Margin
=
"4,2"
Text
=
"{Binding ActualEnd, StringFormat=t}"
VerticalAlignment
=
"Bottom"
/>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"DragDropHighlightStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"Background"
Value
=
"#99FCE7AD"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
Grid
>
<
Border
BorderBrush
=
"#99FFFFFF"
BorderThickness
=
"1"
/>
<
Path
HorizontalAlignment
=
"Left"
Height
=
"8"
Margin
=
"-2"
SnapsToDevicePixels
=
"False"
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.Stroke
>
<
LinearGradientBrush
EndPoint
=
"1,1"
StartPoint
=
"0,0"
>
<
GradientStop
Color
=
"Black"
Offset
=
"0.33"
/>
<
GradientStop
Color
=
"#00000000"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Path.Stroke
>
</
Path
>
<
TextBlock
x:Name
=
"StartTextBox"
Foreground
=
"Black"
HorizontalAlignment
=
"Left"
Margin
=
"4,2"
Text
=
"{Binding ActualStart, StringFormat=t}"
VerticalAlignment
=
"Top"
/>
<
Path
HorizontalAlignment
=
"Right"
Height
=
"8"
Margin
=
"-2"
SnapsToDevicePixels
=
"False"
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.Stroke
>
<
LinearGradientBrush
EndPoint
=
"0,0"
StartPoint
=
"1,1"
>
<
GradientStop
Color
=
"Black"
Offset
=
"0.33"
/>
<
GradientStop
Color
=
"#00000000"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Path.Stroke
>
</
Path
>
<
TextBlock
x:Name
=
"EndTextBox"
Foreground
=
"Black"
HorizontalAlignment
=
"Right"
Margin
=
"4,2"
Text
=
"{Binding ActualEnd, StringFormat=t}"
VerticalAlignment
=
"Bottom"
/>
</
Grid
>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"MouseOverHighlightStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"Background"
Value
=
"#FFFFFBD1"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFFFC92B"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
Border
BorderBrush
=
"White"
BorderThickness
=
"1"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"SelectionHighlightStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"Background"
Value
=
"#AAFCE7AD"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#AAFFC92B"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
>
<
Border
BorderBrush
=
"#AAFFFFFF"
BorderThickness
=
"1"
/>
</
Border
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"SpecialSlotStyleSelector"
>
<
Setter.Value
>
<
telerik:SpecialSlotStyleSelector
>
<
telerik:SpecialSlotStyleSelector.DefaultStyle
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Background"
Value
=
"#334F4F4F"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"Background"
Value
=
"#99FCE7AD"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
/>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:SpecialSlotStyleSelector.DefaultStyle
>
<
telerik:SpecialSlotStyleSelector.ReadOnlyStyle
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
<
Setter
Property
=
"Background"
Value
=
"#6B4F4F4F"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"Background"
Value
=
"#99FCE7AD"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:HighlightItem}"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
/>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:SpecialSlotStyleSelector.ReadOnlyStyle
>
</
telerik:SpecialSlotStyleSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"MinAppointmentWidth"
Value
=
"50"
/>
<
Setter
Property
=
"AppointmentStyleSelector"
>
<
Setter.Value
>
<
telerik:OrientedAppointmentItemStyleSelector
>
<
telerik:OrientedAppointmentItemStyleSelector.HorizontalStyle
>
<
Style
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Setter
Property
=
"Margin"
Value
=
"0,1,0,0"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
/>
<
GradientStop
Color
=
"#FFD4D4D4"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Padding"
Value
=
"2,0,0,0"
/>
<
Setter
Property
=
"telerik:DragDropManager.TouchDragTrigger"
Value
=
"TapAndHold"
/>
<
Setter
Property
=
"Focusable"
Value
=
"True"
/>
<
Setter
Property
=
"ContentTemplateSelector"
>
<
Setter.Value
>
<
telerik:AppointmentItemContentTemplateSelector
>
<
telerik:AppointmentItemContentTemplateSelector.DefaultTemplate
>
<
DataTemplate
>
<
TextBlock
telerik:DragDropManager.AllowDrag
=
"False"
TextWrapping
=
"Wrap"
Text
=
"{Binding Subject}"
TextTrimming
=
"WordEllipsis"
/>
</
DataTemplate
>
</
telerik:AppointmentItemContentTemplateSelector.DefaultTemplate
>
</
telerik:AppointmentItemContentTemplateSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Grid
x:Name
=
"Root"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Disabled"
/>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.2"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.2"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0"
Duration
=
"0:0:0.2"
To
=
"0"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.4"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0:0:0.2"
Duration
=
"0:0:0.2"
To
=
"1"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"ReadOnly"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"ReadOnlyVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"InlineEditing"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"SelectionStates"
>
<
VisualState
x:Name
=
"Unselected"
/>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFCE79F"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFDD3A8"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisualInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"DurationMarkerVisual"
Margin
=
"{TemplateBinding DurationMarkerMargin}"
Visibility
=
"{TemplateBinding DurationMarkerVisibility}"
>
<
Border
Background
=
"#FF848484"
CornerRadius
=
"1,1,0,0"
Height
=
"4"
Margin
=
"0,0,0,-1"
/>
</
Border
>
<
Grid
Grid.Row
=
"1"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
CornerRadius
=
"2"
>
<
Border
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"CommonStatesVisual"
BorderBrush
=
"#FFFFC92B"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"2"
Visibility
=
"Collapsed"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFFFBA3"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFFFBDA"
Offset
=
"0"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
Border
x:Name
=
"CommonStatesVisualInnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"PART_Category"
Background
=
"{Binding Category.CategoryBrush}"
Margin
=
"2"
/>
<
Rectangle
x:Name
=
"ReadOnlyVisual"
Fill
=
"#B2BABFC6"
Margin
=
"2"
Visibility
=
"Collapsed"
/>
<
Grid
Margin
=
"2"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
Border
x:Name
=
"PART_TimeMarker"
Background
=
"{Binding TimeMarker.TimeMarkerBrush}"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Width
=
"5"
>
<
Border.Visibility
>
<
Binding
Path
=
"TimeMarker"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
</
Border
>
<
Path
Grid.Column
=
"1"
Data
=
"M-919.69031,2003.9496L-919.69031,2010.7375 -923.7619,2007.4564z"
Fill
=
"Black"
HorizontalAlignment
=
"Left"
Height
=
"7"
Margin
=
"4,0,2,0"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding StartIndicatorVisibility}"
VerticalAlignment
=
"Center"
Width
=
"4"
/>
<
StackPanel
Grid.Column
=
"2"
Margin
=
"0,3,0,0"
VerticalAlignment
=
"Top"
>
<
Image
x:Name
=
"RecurrenceMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsExeptionToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
<
Image
x:Name
=
"ExceptionMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsOccurenceToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
</
StackPanel
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
Grid.Column
=
"3"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
<
Path
Grid.Column
=
"4"
Data
=
"M1109.0469,332.70313L1113.0469,336.29663 1109.0469,339.68823z"
Fill
=
"Black"
HorizontalAlignment
=
"Right"
Height
=
"6.984"
Margin
=
"2,0,4,0"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding EndIndicatorVisibility}"
VerticalAlignment
=
"Center"
Width
=
"4"
/>
</
Grid
>
<
Grid
x:Name
=
"MouseOverOverlay"
Opacity
=
"0"
Visibility
=
"Collapsed"
>
<
Border
x:Name
=
"PART_StartResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Left"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Stretch"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"StartResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
Border
x:Name
=
"PART_EndResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Right"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Stretch"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"EndResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
telerik:RadButton
x:Name
=
"DeleteButton"
ClickMode
=
"Press"
CommandParameter
=
"{Binding RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.DeleteAppointment"
HorizontalAlignment
=
"Right"
Height
=
"11"
IsTabStop
=
"False"
InnerCornerRadius
=
"0"
Margin
=
"5,5,6,5"
Padding
=
"0"
VerticalAlignment
=
"Top"
Width
=
"11"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadButton.Visibility
>
<
Binding
Path
=
"IsEnabled"
RelativeSource
=
"{RelativeSource Self}"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.Visibility
>
<
Path
Data
=
"M0,0L5,5 M5,0L0,5"
Stroke
=
"#FF444444"
/>
</
telerik:RadButton
>
</
Grid
>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"1"
/>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedAppointmentItemStyleSelector.HorizontalStyle
>
<
telerik:OrientedAppointmentItemStyleSelector.MonthViewStyle
>
<
Style
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Setter
Property
=
"Margin"
Value
=
"2,1,2,0"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
/>
<
GradientStop
Color
=
"#FFD4D4D4"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Padding"
Value
=
"2,0,0,0"
/>
<
Setter
Property
=
"telerik:DragDropManager.TouchDragTrigger"
Value
=
"TapAndHold"
/>
<
Setter
Property
=
"Focusable"
Value
=
"True"
/>
<
Setter
Property
=
"ContentTemplateSelector"
>
<
Setter.Value
>
<
telerik:AppointmentItemContentTemplateSelector
>
<
telerik:AppointmentItemContentTemplateSelector.DefaultTemplate
>
<
DataTemplate
>
<
TextBlock
telerik:DragDropManager.AllowDrag
=
"False"
TextWrapping
=
"Wrap"
Text
=
"{Binding Subject}"
TextTrimming
=
"WordEllipsis"
/>
</
DataTemplate
>
</
telerik:AppointmentItemContentTemplateSelector.DefaultTemplate
>
</
telerik:AppointmentItemContentTemplateSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Grid
x:Name
=
"Root"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Disabled"
/>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.2"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.2"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0"
Duration
=
"0:0:0.2"
To
=
"0"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.4"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0:0:0.2"
Duration
=
"0:0:0.2"
To
=
"1"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"ReadOnly"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"ReadOnlyVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"InlineEditing"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"SelectionStates"
>
<
VisualState
x:Name
=
"Unselected"
/>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFCE79F"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFDD3A8"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisualInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"DurationMarkerVisual"
Margin
=
"{TemplateBinding DurationMarkerMargin}"
Visibility
=
"{TemplateBinding DurationMarkerVisibility}"
>
<
Border
Background
=
"#FF848484"
CornerRadius
=
"1,1,0,0"
Height
=
"4"
Margin
=
"0,0,0,-1"
/>
</
Border
>
<
Grid
Grid.Row
=
"1"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
CornerRadius
=
"2"
>
<
Border
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"CommonStatesVisual"
BorderBrush
=
"#FFFFC92B"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"2"
Visibility
=
"Collapsed"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFFFBA3"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFFFBDA"
Offset
=
"0"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
Border
x:Name
=
"CommonStatesVisualInnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"PART_Category"
Background
=
"{Binding Category.CategoryBrush}"
Margin
=
"2"
/>
<
Rectangle
x:Name
=
"ReadOnlyVisual"
Fill
=
"#B2BABFC6"
Margin
=
"2"
Visibility
=
"Collapsed"
/>
<
Grid
Margin
=
"2"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
Border
x:Name
=
"PART_TimeMarker"
Background
=
"{Binding TimeMarker.TimeMarkerBrush}"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Width
=
"5"
>
<
Border.Visibility
>
<
Binding
Path
=
"TimeMarker"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
</
Border
>
<
Path
Grid.Column
=
"1"
Data
=
"M-919.69031,2003.9496L-919.69031,2010.7375 -923.7619,2007.4564z"
Fill
=
"Black"
HorizontalAlignment
=
"Left"
Height
=
"7"
Margin
=
"4,0,2,0"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding StartIndicatorVisibility}"
VerticalAlignment
=
"Center"
Width
=
"4"
/>
<
StackPanel
Grid.Column
=
"2"
Margin
=
"0,3,0,0"
VerticalAlignment
=
"Top"
>
<
Image
x:Name
=
"RecurrenceMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsExeptionToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
<
Image
x:Name
=
"ExceptionMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsOccurenceToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
</
StackPanel
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
Grid.Column
=
"3"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
<
Path
Grid.Column
=
"4"
Data
=
"M1109.0469,332.70313L1113.0469,336.29663 1109.0469,339.68823z"
Fill
=
"Black"
HorizontalAlignment
=
"Right"
Height
=
"6.984"
Margin
=
"2,0,4,0"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding EndIndicatorVisibility}"
VerticalAlignment
=
"Center"
Width
=
"4"
/>
</
Grid
>
<
Grid
x:Name
=
"MouseOverOverlay"
Opacity
=
"0"
Visibility
=
"Collapsed"
>
<
Border
x:Name
=
"PART_StartResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Left"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Stretch"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"StartResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
Border
x:Name
=
"PART_EndResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Right"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Stretch"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"EndResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
telerik:RadButton
x:Name
=
"DeleteButton"
ClickMode
=
"Press"
CommandParameter
=
"{Binding RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.DeleteAppointment"
HorizontalAlignment
=
"Right"
Height
=
"11"
IsTabStop
=
"False"
InnerCornerRadius
=
"0"
Margin
=
"5,5,6,5"
Padding
=
"0"
VerticalAlignment
=
"Top"
Width
=
"11"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadButton.Visibility
>
<
Binding
Path
=
"IsEnabled"
RelativeSource
=
"{RelativeSource Self}"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.Visibility
>
<
Path
Data
=
"M0,0L5,5 M5,0L0,5"
Stroke
=
"#FF444444"
/>
</
telerik:RadButton
>
</
Grid
>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"1"
/>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedAppointmentItemStyleSelector.MonthViewStyle
>
<
telerik:OrientedAppointmentItemStyleSelector.VerticalStyle
>
<
Style
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Grid
x:Name
=
"Root"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Disabled"
/>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.2"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.2"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0"
Duration
=
"0:0:0.2"
To
=
"0"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.4"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0:0:0.2"
Duration
=
"0:0:0.2"
To
=
"1"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"ReadOnly"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"ReadOnlyVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"InlineEditing"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"SelectionStates"
>
<
VisualState
x:Name
=
"Unselected"
/>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFCE79F"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFDD3A8"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisualInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"DurationMarkerVisual"
Margin
=
"{TemplateBinding DurationMarkerMargin}"
Visibility
=
"{TemplateBinding DurationMarkerVisibility}"
>
<
Border
Background
=
"#FF848484"
CornerRadius
=
"1,0,0,1"
Margin
=
"0,0,-1,0"
Width
=
"4"
/>
</
Border
>
<
Grid
Grid.Column
=
"1"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
CornerRadius
=
"2"
>
<
Border
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"CommonStatesVisual"
BorderBrush
=
"#FFFFC92B"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"2"
Visibility
=
"Collapsed"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFFFBA3"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFFFBDA"
Offset
=
"0"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
Border
x:Name
=
"CommonStatesVisualInnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"PART_Category"
Background
=
"{Binding Category.CategoryBrush}"
Margin
=
"2"
/>
<
Rectangle
x:Name
=
"ReadOnlyVisual"
Fill
=
"#B2BABFC6"
Margin
=
"2"
Visibility
=
"Collapsed"
/>
<
Grid
Margin
=
"2"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
Border
x:Name
=
"PART_TimeMarker"
Background
=
"{Binding TimeMarker.TimeMarkerBrush}"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Grid.RowSpan
=
"3"
Width
=
"5"
>
<
Border.Visibility
>
<
Binding
Path
=
"TimeMarker"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
</
Border
>
<
Path
Grid.ColumnSpan
=
"3"
Data
=
"M3.5,0L7,4 0,4z"
Fill
=
"Black"
HorizontalAlignment
=
"Center"
Height
=
"4"
Margin
=
"2,4,2,2"
Grid.Row
=
"0"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding StartIndicatorVisibility}"
VerticalAlignment
=
"Top"
Width
=
"7"
/>
<
StackPanel
Grid.Column
=
"1"
Margin
=
"0,3,0,0"
Grid.Row
=
"1"
VerticalAlignment
=
"Top"
>
<
Image
x:Name
=
"RecurrenceMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsExeptionToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
<
Image
x:Name
=
"ExceptionMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsOccurenceToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
</
StackPanel
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
Grid.Column
=
"2"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
Grid.Row
=
"1"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
<
Path
Grid.ColumnSpan
=
"3"
Data
=
"M7,0L3.5,4 0,0z"
Fill
=
"Black"
HorizontalAlignment
=
"Center"
Height
=
"4"
Margin
=
"2,2,2,4"
Grid.Row
=
"2"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding EndIndicatorVisibility}"
VerticalAlignment
=
"Bottom"
Width
=
"7"
/>
</
Grid
>
<
Grid
x:Name
=
"MouseOverOverlay"
Opacity
=
"0"
Visibility
=
"Collapsed"
>
<
Border
x:Name
=
"PART_StartResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeNS"
HorizontalAlignment
=
"Stretch"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Top"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"StartResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
Orientation
=
"Horizontal"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
Border
x:Name
=
"PART_EndResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeNS"
HorizontalAlignment
=
"Stretch"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Bottom"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"EndResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
Orientation
=
"Horizontal"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
telerik:RadButton
x:Name
=
"DeleteButton"
ClickMode
=
"Press"
CommandParameter
=
"{Binding RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.DeleteAppointment"
HorizontalAlignment
=
"Right"
Height
=
"11"
IsTabStop
=
"False"
InnerCornerRadius
=
"0"
Margin
=
"5,5,6,5"
Padding
=
"0"
VerticalAlignment
=
"Top"
Width
=
"11"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadButton.Visibility
>
<
Binding
Path
=
"IsEnabled"
RelativeSource
=
"{RelativeSource Self}"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.Visibility
>
<
Path
Data
=
"M0,0L5,5 M5,0L0,5"
Stroke
=
"#FF444444"
/>
</
telerik:RadButton
>
</
Grid
>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Margin"
Value
=
"1,0,0,0"
/>
<
Style.BasedOn
>
<
Style
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
/>
<
GradientStop
Color
=
"#FFD4D4D4"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Padding"
Value
=
"2,0,0,0"
/>
<
Setter
Property
=
"telerik:DragDropManager.TouchDragTrigger"
Value
=
"TapAndHold"
/>
<
Setter
Property
=
"Focusable"
Value
=
"True"
/>
<
Setter
Property
=
"ContentTemplateSelector"
>
<
Setter.Value
>
<
telerik:AppointmentItemContentTemplateSelector
>
<
telerik:AppointmentItemContentTemplateSelector.DefaultTemplate
>
<
DataTemplate
>
<
TextBlock
telerik:DragDropManager.AllowDrag
=
"False"
TextWrapping
=
"Wrap"
Text
=
"{Binding Subject}"
TextTrimming
=
"WordEllipsis"
/>
</
DataTemplate
>
</
telerik:AppointmentItemContentTemplateSelector.DefaultTemplate
>
</
telerik:AppointmentItemContentTemplateSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:AppointmentItem}"
>
<
Grid
x:Name
=
"Root"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Disabled"
/>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.2"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.2"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0"
Duration
=
"0:0:0.2"
To
=
"0"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0:0:0.4"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverOverlay"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
BeginTime
=
"0:0:0.2"
Duration
=
"0:0:0.2"
To
=
"1"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverOverlay"
/>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"ReadOnly"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"ReadOnlyVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"InlineEditing"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"SelectionStates"
>
<
VisualState
x:Name
=
"Unselected"
/>
<
VisualState
x:Name
=
"Selected"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFCE79F"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFDD3A8"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFFFC92B"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Duration
=
"0"
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"CommonStatesVisualInnerBorder"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"DurationMarkerVisual"
Margin
=
"{TemplateBinding DurationMarkerMargin}"
Visibility
=
"{TemplateBinding DurationMarkerVisibility}"
>
<
Border
Background
=
"#FF848484"
CornerRadius
=
"1,1,0,0"
Height
=
"4"
Margin
=
"0,0,0,-1"
/>
</
Border
>
<
Grid
Grid.Row
=
"1"
>
<
Border
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
CornerRadius
=
"2"
>
<
Border
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"CommonStatesVisual"
BorderBrush
=
"#FFFFC92B"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"2"
Visibility
=
"Collapsed"
>
<
Border.Background
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFFFBA3"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFFFBDA"
Offset
=
"0"
/>
</
LinearGradientBrush
>
</
Border.Background
>
<
Border
x:Name
=
"CommonStatesVisualInnerBorder"
BorderBrush
=
"White"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"1"
/>
</
Border
>
<
Border
x:Name
=
"PART_Category"
Background
=
"{Binding Category.CategoryBrush}"
Margin
=
"2"
/>
<
Rectangle
x:Name
=
"ReadOnlyVisual"
Fill
=
"#B2BABFC6"
Margin
=
"2"
Visibility
=
"Collapsed"
/>
<
Grid
Margin
=
"2"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
Border
x:Name
=
"PART_TimeMarker"
Background
=
"{Binding TimeMarker.TimeMarkerBrush}"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Width
=
"5"
>
<
Border.Visibility
>
<
Binding
Path
=
"TimeMarker"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
</
Border
>
<
Path
Grid.Column
=
"1"
Data
=
"M-919.69031,2003.9496L-919.69031,2010.7375 -923.7619,2007.4564z"
Fill
=
"Black"
HorizontalAlignment
=
"Left"
Height
=
"7"
Margin
=
"4,0,2,0"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding StartIndicatorVisibility}"
VerticalAlignment
=
"Center"
Width
=
"4"
/>
<
StackPanel
Grid.Column
=
"2"
Margin
=
"0,3,0,0"
VerticalAlignment
=
"Top"
>
<
Image
x:Name
=
"RecurrenceMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentException.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsExeptionToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
<
Image
x:Name
=
"ExceptionMark"
Grid.Column
=
"0"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"2,1,1,0"
Width
=
"10"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/AppointmentRecurrence.png"
/>
</
Image.Source
>
<
Image.Visibility
>
<
Binding
Path
=
"RecurrenceState"
>
<
Binding.Converter
>
<
telerik:RecurrenceStateIsOccurenceToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Image.Visibility
>
</
Image
>
</
StackPanel
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
Grid.Column
=
"3"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
<
Path
Grid.Column
=
"4"
Data
=
"M1109.0469,332.70313L1113.0469,336.29663 1109.0469,339.68823z"
Fill
=
"Black"
HorizontalAlignment
=
"Right"
Height
=
"6.984"
Margin
=
"2,0,4,0"
Stretch
=
"Fill"
Visibility
=
"{TemplateBinding EndIndicatorVisibility}"
VerticalAlignment
=
"Center"
Width
=
"4"
/>
</
Grid
>
<
Grid
x:Name
=
"MouseOverOverlay"
Opacity
=
"0"
Visibility
=
"Collapsed"
>
<
Border
x:Name
=
"PART_StartResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Left"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Stretch"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"StartResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
Border
x:Name
=
"PART_EndResizeGrip"
telerik:DragDropManager.AllowDrag
=
"True"
Background
=
"Transparent"
Cursor
=
"SizeWE"
HorizontalAlignment
=
"Right"
Stylus.IsFlicksEnabled
=
"False"
Stylus.IsPressAndHoldEnabled
=
"False"
telerik:DragDropManager.TouchDragTrigger
=
"TapAndHold"
VerticalAlignment
=
"Stretch"
>
<
Border.Visibility
>
<
Binding
Path
=
"IsAllDay"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
StackPanel
x:Name
=
"EndResizeGrip"
HorizontalAlignment
=
"Center"
Margin
=
"1"
VerticalAlignment
=
"Center"
>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
<
Border
BorderBrush
=
"#FF444444"
BorderThickness
=
"0,0,1,1"
Background
=
"White"
Height
=
"3"
Margin
=
"1"
Width
=
"3"
/>
</
StackPanel
>
</
Border
>
<
telerik:RadButton
x:Name
=
"DeleteButton"
ClickMode
=
"Press"
CommandParameter
=
"{Binding RelativeSource={RelativeSource TemplatedParent}}"
Command
=
"telerik:RadScheduleViewCommands.DeleteAppointment"
HorizontalAlignment
=
"Right"
Height
=
"11"
IsTabStop
=
"False"
InnerCornerRadius
=
"0"
Margin
=
"5,5,6,5"
Padding
=
"0"
VerticalAlignment
=
"Top"
Width
=
"11"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadButton.Visibility
>
<
Binding
Path
=
"IsEnabled"
RelativeSource
=
"{RelativeSource Self}"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.Visibility
>
<
Path
Data
=
"M0,0L5,5 M5,0L0,5"
Stroke
=
"#FF444444"
/>
</
telerik:RadButton
>
</
Grid
>
</
Grid
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Panel.ZIndex"
Value
=
"1"
/>
</
Style
>
</
Style.BasedOn
>
</
Style
>
</
telerik:OrientedAppointmentItemStyleSelector.VerticalStyle
>
</
telerik:OrientedAppointmentItemStyleSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"InlineEditingTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBox
TextWrapping
=
"Wrap"
Text
=
"{Binding Appointment.Subject, Mode=TwoWay}"
VerticalAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
TextBox
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"ToolTipTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
StackPanel
x:Name
=
"HighImportanceMark"
Grid.Column
=
"1"
Margin
=
"0,1,3,1"
VerticalAlignment
=
"Top"
>
<
StackPanel.Visibility
>
<
Binding
ConverterParameter
=
"High"
Path
=
"Importance"
>
<
Binding.Converter
>
<
telerik:EnumToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
StackPanel.Visibility
>
<
Path
Data
=
"M200.39647,58.840393C200.39337,58.336426 201.14566,57.683922 202.56244,57.684292 204.06589,57.684685 204.73764,58.357765 204.72783,58.992363 205.04649,61.795574 203.04713,64.181099 202.47388,66.133446 201.93753,64.154961 199.9471,61.560352 200.39647,58.840393z"
HorizontalAlignment
=
"Center"
Height
=
"10"
Stretch
=
"Fill"
VerticalAlignment
=
"Top"
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"
Margin
=
"0,-1,0,0"
VerticalAlignment
=
"Top"
Width
=
"3"
>
<
Ellipse.Fill
>
<
RadialGradientBrush
>
<
GradientStop
Color
=
"#FFFF0606"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFBF0303"
Offset
=
"1"
/>
</
RadialGradientBrush
>
</
Ellipse.Fill
>
</
Ellipse
>
</
StackPanel
>
<
Path
x:Name
=
"LowImportanceMark"
Grid.Column
=
"1"
Data
=
"M222.40353,60.139881L226.65768,60.139843 226.63687,67.240196 229.15347,67.240196 224.37816,71.394943 219.65274,67.240196 222.37572,67.219345z"
Height
=
"12"
Margin
=
"0,1,3,1"
Stretch
=
"Fill"
Stroke
=
"#FF0365A7"
VerticalAlignment
=
"Top"
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.Visibility
>
<
Binding
ConverterParameter
=
"Low"
Path
=
"Importance"
>
<
Binding.Converter
>
<
telerik:EnumToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Path.Visibility
>
</
Path
>
<
TextBlock
MaxWidth
=
"200"
TextWrapping
=
"Wrap"
Text
=
"{Binding Subject}"
/>
</
StackPanel
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"DragVisualStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:DragVisual}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"Background"
>
<
Setter.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"White"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFDEDEDE"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Margin"
Value
=
"0"
/>
<
Setter
Property
=
"Padding"
Value
=
"0,0,6,0"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Left"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"SnapsToDevicePixels"
Value
=
"True"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:DragVisual}"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"EffectStates"
>
<
VisualState
x:Name
=
"None"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"NoneEffect"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Move"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MoveEffect"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Copy"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"CopyEffect"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Link"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"LinkEffect"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Scroll"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"ScrollEffect"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"SecondItemVisual"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
Background
=
"White"
CornerRadius
=
"2"
Margin
=
"4,4,0,0"
>
<
Border.Visibility
>
<
Binding
ConverterParameter
=
"3"
Path
=
"DraggedItemsSource"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:EnumerableCountToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
</
Border
>
<
Border
x:Name
=
"ThirdthItemVisual"
BorderBrush
=
"#FF848484"
BorderThickness
=
"1"
Background
=
"White"
CornerRadius
=
"2"
Margin
=
"2"
>
<
Border.Visibility
>
<
Binding
ConverterParameter
=
"2"
Path
=
"DraggedItemsSource"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
<
Binding.Converter
>
<
telerik:EnumerableCountToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
</
Border
>
<
Border
x:Name
=
"DragBackgroundVisual"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
CornerRadius
=
"2"
/>
<
Border
Padding
=
"{TemplateBinding BorderThickness}"
>
<
Grid
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"Auto"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Path
x:Name
=
"NoneEffect"
Data
=
"M2,8L8,2 M9,5C9,7.2 7.2,9 5,9 2.7,9 1,7 1,5 1,2.8 2.8,1 5,1 7.2,1 9,2.8 9,5z"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"10,3,2,5"
Stroke
=
"#FFDC000C"
StrokeThickness
=
"2"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
Path
x:Name
=
"MoveEffect"
Data
=
"M0,5L8,5 M4,1L8,5 4,9"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"10,3,2,5"
Stroke
=
"#FF848484"
StrokeThickness
=
"2"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
Path
x:Name
=
"CopyEffect"
Data
=
"M5,1L5,9 M1,5L9,5"
HorizontalAlignment
=
"Left"
Height
=
"10"
Margin
=
"10,3,2,5"
Stroke
=
"#FF848484"
StrokeThickness
=
"2"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
Path
x:Name
=
"LinkEffect"
Data
=
"M8,0.5C9.4,0.5 10.5,1.6 10.5,3 10.5,4.4 9.4,5.5 8,5.5 6.6,5.5 5.5,4.4 5.5,3 5.5,1.6 6.6,0.5 8,0.5z M3,0.5C4.4,0.5 5.5,1.6 5.5,3 5.5,4.4 4.4,5.5 3,5.5 1.6,5.5 0.5,4.4 0.5,3 0.5,1.6 1.6,0.5 3,0.5z"
HorizontalAlignment
=
"Left"
Height
=
"6"
Margin
=
"10,7,4,7"
Stroke
=
"#FFDC000C"
StrokeThickness
=
"1"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Top"
Width
=
"11"
/>
<
Path
x:Name
=
"ScrollEffect"
Data
=
"M0,5L5,0 10,5z M0,7L5,12 10,7z"
Fill
=
"#FF848484"
HorizontalAlignment
=
"Left"
Height
=
"12"
Margin
=
"10,4,5,4"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Top"
Width
=
"10"
/>
<
ContentPresenter
x:Name
=
"Content"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding DraggedItemsSource}"
Grid.Column
=
"1"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
/>
</
Grid
>
</
Border
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"DragVisualTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
MaxWidth
=
"200"
MaxHeight
=
"66"
TextWrapping
=
"Wrap"
TextTrimming
=
"WordEllipsis"
>
<
TextBlock.Text
>
<
Binding
>
<
Binding.Converter
>
<
telerik:DraggedAppointmentsToLocalizedStringConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Text
>
</
TextBlock
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"CategoriesSource"
>
<
Setter.Value
>
<
telerik:CategoryCollection
>
<
telerik:Category
CategoryName
=
"Red Category"
DisplayName
=
"Red Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFE8807D"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFF7D4D2"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
<
telerik:Category
CategoryName
=
"Green Category"
DisplayName
=
"Green Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF99CC66"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFCCFF99"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
<
telerik:Category
CategoryName
=
"Blue Category"
DisplayName
=
"Blue Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF6C92BF"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFC3D6EC"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
<
telerik:Category
CategoryName
=
"Purple Category"
DisplayName
=
"Purple Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFB687B8"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFE9D7EB"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
<
telerik:Category
CategoryName
=
"Yellow Category"
DisplayName
=
"Yellow Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFFD351"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFFFFF99"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
<
telerik:Category
CategoryName
=
"Olive Category"
DisplayName
=
"Olive Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFA3AD70"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFE5F0CA"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
<
telerik:Category
CategoryName
=
"Pink Category"
DisplayName
=
"Pink Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFCE66A2"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFF8A2D3"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
<
telerik:Category
CategoryName
=
"Orange Category"
DisplayName
=
"Orange Category"
IsChecked
=
"False"
>
<
telerik:Category.CategoryBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFF57238"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FFFFCC00"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:Category.CategoryBrush
>
</
telerik:Category
>
</
telerik:CategoryCollection
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"TimeMarkersSource"
>
<
Setter.Value
>
<
telerik:TimeMarkerCollection
>
<
telerik:TimeMarker
TimeMarkerName
=
"Free"
>
<
telerik:TimeMarker.TimeMarkerBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF00C800"
Offset
=
"0"
/>
<
GradientStop
Color
=
"#FF1E841E"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:TimeMarker.TimeMarkerBrush
>
</
telerik:TimeMarker
>
<
telerik:TimeMarker
TimeMarkerName
=
"Tentative"
>
<
telerik:TimeMarker.TimeMarkerBrush
>
<
LinearGradientBrush
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
>
</
telerik:TimeMarker.TimeMarkerBrush
>
</
telerik:TimeMarker
>
<
telerik:TimeMarker
TimeMarkerName
=
"Busy"
>
<
telerik:TimeMarker.TimeMarkerBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFFF0606"
/>
<
GradientStop
Color
=
"#FFBF0303"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
telerik:TimeMarker.TimeMarkerBrush
>
</
telerik:TimeMarker
>
<
telerik:TimeMarker
TimeMarkerName
=
"OutOfOffice"
>
<
telerik:TimeMarker.TimeMarkerBrush
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FFF1A202"
Offset
=
"1"
/>
<
GradientStop
Color
=
"#FFFFF502"
/>
</
LinearGradientBrush
>
</
telerik:TimeMarker.TimeMarkerBrush
>
</
telerik:TimeMarker
>
</
telerik:TimeMarkerCollection
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"EditAppointmentDialogStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"560"
/>
<
Setter
Property
=
"IsTabStop"
Value
=
"False"
/>
<
Setter
Property
=
"SnapsToDevicePixels"
Value
=
"True"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Grid
Grid.IsSharedSizeScope
=
"True"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
telerik:RadToolBar
x:Name
=
"AppointmentToolbar"
GripVisibility
=
"Collapsed"
FocusManager.IsFocusScope
=
"False"
Margin
=
"-1,-1,-1,3"
Grid.Row
=
"0"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadButton
x:Name
=
"EditRecurrenceButton"
Command
=
"telerik:RadScheduleViewCommands.EditRecurrenceRule"
InnerCornerRadius
=
"0"
>
<
telerik:RadButton.ToolTip
>
<
ToolTip
Content
=
"Edit Recurrence"
telerik:LocalizationManager.ResourceKey
=
"EditRecurrence"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
ToolTip
>
</
telerik:RadButton.ToolTip
>
<
telerik:RadButton.Visibility
>
<
Binding
Path
=
"CanEditParentAppointment"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.Visibility
>
<
StackPanel
Margin
=
"2,0"
Orientation
=
"Horizontal"
>
<
Image
RenderOptions.BitmapScalingMode
=
"NearestNeighbor"
RenderOptions.EdgeMode
=
"Aliased"
Margin
=
"2,0"
Stretch
=
"None"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/Recurrence.png"
/>
</
Image.Source
>
</
Image
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"4,0"
telerik:LocalizationManager.ResourceKey
=
"EditRecurrence"
Text
=
"Edit Recurrence"
><
Run
Text
=
"Edit Recurrence"
/></
TextBlock
>
</
StackPanel
>
</
telerik:RadButton
>
<
telerik:RadButton
x:Name
=
"EditParentAppointmentButton"
Command
=
"telerik:RadScheduleViewCommands.EditParentAppointment"
InnerCornerRadius
=
"0"
>
<
telerik:RadButton.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.IsEnabled
>
<
telerik:RadButton.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"EditParentAppointment"
Text
=
"Edit Parent Appointment"
><
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
><
Run
Text
=
"Edit Parent Appointment"
/></
TextBlock
>
</
telerik:RadButton.ToolTip
>
<
telerik:RadButton.Visibility
>
<
Binding
Path
=
"CanEditParentAppointment"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.Visibility
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"4,0"
telerik:LocalizationManager.ResourceKey
=
"EditParentAppointment"
Text
=
"Edit Parent Appointment"
><
Run
Text
=
"Edit Parent Appointment"
/></
TextBlock
>
</
telerik:RadButton
>
<
telerik:RadToolBarSeparator
/>
<
TextBlock
x:Name
=
"ShowAs"
Foreground
=
"Black"
Margin
=
"6,0"
telerik:LocalizationManager.ResourceKey
=
"ShowAs"
Text
=
"Show As"
VerticalAlignment
=
"Center"
><
Run
Text
=
"Show As"
/></
TextBlock
>
<
telerik:RadComboBox
x:Name
=
"PART_TimeMarkers"
ClearSelectionButtonContent
=
"{Binding ClearSelectionButtonContent}"
ClearSelectionButtonVisibility
=
"Visible"
EmptyText
=
"{Binding TimeMarkersEmptyText}"
Margin
=
"2,1"
Width
=
"110"
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Rectangle
Fill
=
"{Binding TimeMarkerBrush}"
Height
=
"12"
Margin
=
"2,0"
Width
=
"12"
/>
<
TextBlock
Margin
=
"2,0"
telerik:LocalizationManager.ResourceKey
=
"{Binding TimeMarkerName}"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
<
telerik:RadComboBox.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadComboBox.IsEnabled
>
<
telerik:RadComboBox.SelectionBoxTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Rectangle
Fill
=
"{Binding TimeMarkerBrush}"
Height
=
"12"
Margin
=
"2,0"
Width
=
"12"
/>
<
TextBlock
Margin
=
"2,0"
telerik:LocalizationManager.ResourceKey
=
"{Binding TimeMarkerName}"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadComboBox.SelectionBoxTemplate
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
<
telerik:RadComboBox
x:Name
=
"PART_Categories"
ClearSelectionButtonContent
=
"{Binding ClearSelectionButtonContent}"
ClearSelectionButtonVisibility
=
"Visible"
EmptyText
=
"{Binding CategoriesEmptyText}"
Margin
=
"2,1"
Width
=
"120"
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Rectangle
Fill
=
"{Binding CategoryBrush}"
Height
=
"12"
Margin
=
"2,0"
Width
=
"12"
/>
<
TextBlock
Margin
=
"2,0"
Text
=
"{Binding DisplayName}"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
<
telerik:RadComboBox.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadComboBox.IsEnabled
>
<
telerik:RadComboBox.SelectionBoxTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
Rectangle
Fill
=
"{Binding CategoryBrush}"
Height
=
"12"
Margin
=
"2,0"
Width
=
"12"
/>
<
TextBlock
Margin
=
"2,0"
Text
=
"{Binding DisplayName}"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadComboBox.SelectionBoxTemplate
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
<
telerik:RadToggleButton
x:Name
=
"HighImportaceButton"
Height
=
"22"
IsChecked
=
"{Binding IsHighImportance, Mode=TwoWay}"
InnerCornerRadius
=
"0"
Width
=
"22"
>
<
telerik:RadToggleButton.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadToggleButton.IsEnabled
>
<
telerik:RadToggleButton.ToolTip
>
<
ToolTip
Content
=
"High Importance"
telerik:LocalizationManager.ResourceKey
=
"HighImportance"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
ToolTip
>
</
telerik:RadToggleButton.ToolTip
>
<
StackPanel
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
>
<
Path
Data
=
"M200.39647,58.840393C200.39337,58.336426 201.14566,57.683922 202.56244,57.684292 204.06589,57.684685 204.73764,58.357765 204.72783,58.992363 205.04649,61.795574 203.04713,64.181099 202.47388,66.133446 201.93753,64.154961 199.9471,61.560352 200.39647,58.840393z"
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}"
InnerCornerRadius
=
"0"
Width
=
"22"
>
<
telerik:RadToggleButton.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadToggleButton.IsEnabled
>
<
telerik:RadToggleButton.ToolTip
>
<
ToolTip
Content
=
"Low Importance"
telerik:LocalizationManager.ResourceKey
=
"LowImportance"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
ToolTip
>
</
telerik:RadToggleButton.ToolTip
>
<
Path
Data
=
"M222.40353,60.139881L226.65768,60.139843 226.63687,67.240196 229.15347,67.240196 224.37816,71.394943 219.65274,67.240196 222.37572,67.219345z"
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"
Grid.Row
=
"1"
>
<
Border.Visibility
>
<
Binding
ElementName
=
"PART_Categories"
Path
=
"SelectedItem"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
Border.Visibility
>
<
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
MinWidth
=
"100"
SharedSizeGroup
=
"LabelsGroup"
/>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"0"
telerik:LocalizationManager.ResourceKey
=
"Subject"
Text
=
"Subject"
><
Run
Text
=
"Subject"
/></
TextBlock
>
<
TextBox
Grid.ColumnSpan
=
"2"
Grid.Column
=
"1"
IsReadOnly
=
"{Binding IsReadOnly}"
Margin
=
"3"
Grid.Row
=
"0"
Text
=
"{Binding Occurrence.Appointment.Subject, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
TextBox
>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"1"
telerik:LocalizationManager.ResourceKey
=
"Body"
Text
=
"Description"
><
Run
Text
=
"Description"
/></
TextBlock
>
<
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, NotifyOnValidationError=True, ValidatesOnDataErrors=True}"
VerticalScrollBarVisibility
=
"Visible"
VerticalAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
TextBox
>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"2"
telerik:LocalizationManager.ResourceKey
=
"StartTime"
Text
=
"Start time"
><
Run
Text
=
"Start time"
/></
TextBlock
>
<
telerik:RadDateTimePicker
Culture
=
"{Binding DefaultCulture}"
Grid.Column
=
"1"
IsReadOnly
=
"{Binding IsReadOnly}"
IsEnabled
=
"{Binding IsNotRecurrent}"
Margin
=
"3"
Grid.Row
=
"2"
SelectedValue
=
"{Binding ActualStart, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True}"
>
<
telerik:RadDateTimePicker.InputMode
>
<
Binding
Path
=
"IsAllDayEvent"
>
<
Binding.ConverterParameter
>
<
telerik:InputMode
>DatePicker</
telerik:InputMode
>
</
Binding.ConverterParameter
>
<
Binding.Converter
>
<
telerik:BoolToInputModeConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadDateTimePicker.InputMode
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadDateTimePicker
>
<
TextBlock
Grid.Column
=
"0"
Margin
=
"6"
Grid.Row
=
"3"
telerik:LocalizationManager.ResourceKey
=
"EndTime"
Text
=
"End time"
VerticalAlignment
=
"Center"
><
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
><
Run
Text
=
"End time"
/></
TextBlock
>
<
telerik:RadDateTimePicker
Culture
=
"{Binding DefaultCulture}"
Grid.Column
=
"1"
IsReadOnly
=
"{Binding IsReadOnly}"
IsEnabled
=
"{Binding IsNotRecurrent}"
Margin
=
"3"
Grid.Row
=
"3"
SelectedValue
=
"{Binding ActualEnd, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnDataErrors=True}"
>
<
telerik:RadDateTimePicker.InputMode
>
<
Binding
Path
=
"IsAllDayEvent"
>
<
Binding.ConverterParameter
>
<
telerik:InputMode
>DatePicker</
telerik:InputMode
>
</
Binding.ConverterParameter
>
<
Binding.Converter
>
<
telerik:BoolToInputModeConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadDateTimePicker.InputMode
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadDateTimePicker
>
<
CheckBox
x:Name
=
"AllDayEventCheckbox"
Content
=
"All da_y event"
Grid.Column
=
"1"
IsChecked
=
"{Binding IsAllDayEvent, Mode=TwoWay}"
IsEnabled
=
"{Binding IsNotRecurrent}"
Margin
=
"3"
Grid.Row
=
"4"
telerik:LocalizationManager.ResourceKey
=
"AllDayEvent"
VerticalAlignment
=
"Center"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
CheckBox
>
</
Grid
>
<
Grid
Margin
=
"3"
Grid.Row
=
"3"
Visibility
=
"{Binding ResourceTypesVisibility}"
>
<
ItemsControl
x:Name
=
"PART_Resources"
BorderBrush
=
"{x:Null}"
BorderThickness
=
"0"
HorizontalContentAlignment
=
"Stretch"
IsTabStop
=
"False"
Margin
=
"3"
Visibility
=
"{Binding ResourceTypesVisibility}"
VerticalContentAlignment
=
"Stretch"
>
<
ItemsControl.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
ItemsControl.IsEnabled
>
</
ItemsControl
>
<
TextBlock
HorizontalAlignment
=
"Center"
Margin
=
"3"
Text
=
"You can only change the resources by opening the series"
><
TextBlock.Visibility
>
<
Binding
Path
=
"ResourceTypesVisibility"
>
<
Binding.Converter
>
<
telerik:InvertedVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"You can only change the resources by opening the series"
/></
TextBlock
>
</
Grid
>
<
StackPanel
HorizontalAlignment
=
"Right"
Margin
=
"13,6"
Orientation
=
"Horizontal"
Grid.Row
=
"4"
>
<
telerik:RadButton
Content
=
"OK"
Command
=
"telerik:WindowCommands.Confirm"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadButton.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"SaveAndClose"
Text
=
"Save and Close"
><
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
><
Run
Text
=
"Save and Close"
/></
TextBlock
>
</
telerik:RadButton.ToolTip
>
</
telerik:RadButton
>
<
telerik:RadButton
Content
=
"Cancel"
Command
=
"telerik:WindowCommands.Cancel"
InnerCornerRadius
=
"0"
IsCancel
=
"True"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
</
StackPanel
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
HorizontalAlignment
=
"Left"
MaxWidth
=
"400"
Orientation
=
"Horizontal"
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"Event"
Text
=
"Event"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.IsAllDayEvent"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Event"
/></
TextBlock
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"Appointment"
Text
=
"Appointment"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.IsAllDayEvent"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Appointment"
/></
TextBlock
>
<
TextBlock
Text
=
" - "
><
Run
Text
=
" - "
/></
TextBlock
>
<
TextBlock
x:Name
=
"SubjectTextBlock"
Text
=
"{Binding Occurrence.Appointment.Subject}"
>
<
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
>
</
TextBlock
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"Untitled"
Text
=
"Untitled"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Untitled"
/></
TextBlock
>
</
StackPanel
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"IconTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Image
RenderOptions.BitmapScalingMode
=
"NearestNeighbor"
RenderOptions.EdgeMode
=
"Aliased"
Stretch
=
"None"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png"
/>
</
Image.Source
>
</
Image
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"EditRecurrenceDialogStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"550"
/>
<
Setter
Property
=
"IsTabStop"
Value
=
"False"
/>
<
Setter
Property
=
"SnapsToDevicePixels"
Value
=
"True"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
telerik:GroupBox
x:Name
=
"StartEndTimes"
Header
=
"Appointment time"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"AppointmentTime"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
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
>
<
telerik:Label
Content
=
"S_tart"
Grid.Column
=
"0"
MinWidth
=
"65"
Grid.Row
=
"0"
telerik:LocalizationManager.ResourceKey
=
"StartColon"
Target
=
"{Binding ElementName=StartTimePicker}"
VerticalAlignment
=
"Center"
>
<
telerik:Label.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:Label.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:Label
>
<
telerik:RadDateTimePicker
x:Name
=
"StartTimePicker"
Culture
=
"{Binding DefaultCulture}"
Grid.Column
=
"1"
InputMode
=
"TimePicker"
IsReadOnly
=
"{Binding IsReadOnly}"
Margin
=
"3"
Grid.Row
=
"0"
SelectedValue
=
"{Binding Start, Mode=TwoWay}"
Width
=
"120"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadDateTimePicker
>
<
telerik:Label
Content
=
"E_nd"
Grid.Column
=
"0"
MinWidth
=
"65"
Grid.Row
=
"1"
telerik:LocalizationManager.ResourceKey
=
"EndColon"
Target
=
"{Binding ElementName=EndTimePicker}"
VerticalAlignment
=
"Center"
>
<
telerik:Label.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:Label.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:Label
>
<
telerik:RadDateTimePicker
x:Name
=
"EndTimePicker"
Culture
=
"{Binding DefaultCulture}"
Grid.Column
=
"1"
InputMode
=
"TimePicker"
IsReadOnly
=
"{Binding IsReadOnly}"
Margin
=
"3"
Grid.Row
=
"1"
SelectedValue
=
"{Binding End, Mode=TwoWay}"
Width
=
"120"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadDateTimePicker
>
<
telerik:Label
Content
=
"D_uration"
Grid.Column
=
"2"
Margin
=
"18,0,0,0"
MinWidth
=
"65"
Grid.RowSpan
=
"2"
telerik:LocalizationManager.ResourceKey
=
"DurationColon"
Target
=
"{Binding ElementName=DurationPicker}"
VerticalAlignment
=
"Center"
>
<
telerik:Label.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:Label.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:Label
>
<
telerik:DurationPicker
x:Name
=
"DurationPicker"
Grid.Column
=
"3"
Margin
=
"3"
Grid.RowSpan
=
"2"
SelectedDuration
=
"{Binding Duration, Mode=TwoWay}"
Text
=
"0 minutes"
VerticalAlignment
=
"Center"
Width
=
"120"
>
<
telerik:DurationPicker.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:DurationPicker.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:DurationPicker.Template
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadComboBox}"
>
<
Grid
x:Name
=
"VisualRoot"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"Auto"
/>
</
Grid.ColumnDefinitions
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualState
x:Name
=
"Disabled"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FF989898"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
LinearDoubleKeyFrame
KeyTime
=
"0:0:0.05"
Value
=
"0"
/>
</
DoubleAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.05"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"RenderEnabled"
Storyboard.TargetName
=
"ButtonChrome"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>False</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimation
Duration
=
"0"
To
=
"0.6"
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"PART_EditableTextBox"
/>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"DropDownIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FF8D8D8D"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"DropDownIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"Background"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"#FFE0E0E0"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"Background"
>
<
LinearDoubleKeyFrame
KeyTime
=
"0"
Value
=
"0.6"
/>
</
DoubleAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Normal"
>
<
Storyboard
>
<
DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
LinearDoubleKeyFrame
KeyTime
=
"0:0:0.15"
Value
=
"0"
/>
</
DoubleAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.15"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"MouseOver"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"RenderActive"
Storyboard.TargetName
=
"ButtonChrome"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>True</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
LinearDoubleKeyFrame
KeyTime
=
"0:0:0.115"
Value
=
"1"
/>
</
DoubleAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"DropDownIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"DropDownIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"DropDownOpen"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"BorderBrush"
Storyboard.TargetName
=
"Border"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
LinearGradientBrush
EndPoint
=
"0.5,1"
StartPoint
=
"0.5,0"
>
<
GradientStop
Color
=
"#FF282828"
/>
<
GradientStop
Color
=
"#FF5F5F5F"
Offset
=
"1"
/>
</
LinearGradientBrush
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
LinearDoubleKeyFrame
KeyTime
=
"0:0:0.05"
Value
=
"0"
/>
</
DoubleAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"MouseOverVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.05"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Collapsed</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
DoubleAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Opacity"
Storyboard.TargetName
=
"FocusVisual"
>
<
DiscreteDoubleKeyFrame
KeyTime
=
"0"
Value
=
"0"
/>
</
DoubleAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Foreground"
Storyboard.TargetName
=
"DropDownIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"Black"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Background"
Storyboard.TargetName
=
"DropDownIcon"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
SolidColorBrush
Color
=
"White"
/>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"FocusStates"
>
<
VisualState
x:Name
=
"Focused"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"RenderFocused"
Storyboard.TargetName
=
"ButtonChrome"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
System:Boolean
>True</
System:Boolean
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"FocusVisual"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0.15"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Unfocused"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"WatermarkStates"
>
<
VisualState
x:Name
=
"WatermarkVisible"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetProperty
=
"Visibility"
Storyboard.TargetName
=
"Watermark"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0"
>
<
DiscreteObjectKeyFrame.Value
>
<
Visibility
>Visible</
Visibility
>
</
DiscreteObjectKeyFrame.Value
>
</
DiscreteObjectKeyFrame
>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"WatermarkInvisible"
/>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Background"
Background
=
"White"
Grid.Column
=
"0"
CornerRadius
=
"1,0,0,1"
IsHitTestVisible
=
"False"
/>
<
Border
Background
=
"{TemplateBinding Background}"
Grid.ColumnSpan
=
"2"
CornerRadius
=
"1"
IsHitTestVisible
=
"False"
Margin
=
"1"
/>
<
Border
x:Name
=
"Border"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Grid.ColumnSpan
=
"2"
CornerRadius
=
"1"
IsHitTestVisible
=
"False"
/>
<
Border
x:Name
=
"MouseOverVisual"
BorderBrush
=
"#FFFFC92B"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Grid.ColumnSpan
=
"2"
CornerRadius
=
"1"
IsHitTestVisible
=
"False"
Opacity
=
"0"
Visibility
=
"Collapsed"
/>
<
TextBox
x:Name
=
"PART_EditableTextBox"
BorderBrush
=
"Transparent"
BorderThickness
=
"0"
Background
=
"Transparent"
Grid.Column
=
"0"
Foreground
=
"{TemplateBinding Foreground}"
HorizontalContentAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
IsReadOnly
=
"{TemplateBinding IsReadOnly}"
Margin
=
"1,1,0,1"
Padding
=
"{TemplateBinding Padding}"
VerticalAlignment
=
"Center"
VerticalContentAlignment
=
"{TemplateBinding VerticalContentAlignment}"
>
<
TextBox.Template
>
<
ControlTemplate
TargetType
=
"{x:Type TextBox}"
>
<
Grid
>
<
ScrollViewer
x:Name
=
"PART_ContentHost"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"{TemplateBinding Background}"
IsTabStop
=
"False"
Padding
=
"{TemplateBinding Padding}"
VerticalScrollBarVisibility
=
"Auto"
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
ScrollViewer
>
</
Grid
>
</
ControlTemplate
>
</
TextBox.Template
>
</
TextBox
>
<
Border
x:Name
=
"FocusVisual"
BorderBrush
=
"#FFFFC92B"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Grid.ColumnSpan
=
"2"
CornerRadius
=
"1"
IsHitTestVisible
=
"False"
Visibility
=
"Collapsed"
>
<
Border
BorderBrush
=
"Transparent"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"0"
/>
</
Border
>
<
telerik:RadToggleButton
x:Name
=
"PART_DropDownButton"
ClickMode
=
"Press"
Grid.Column
=
"1"
IsTabStop
=
"False"
InnerCornerRadius
=
"0"
Margin
=
"0"
Padding
=
"0"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadToggleButton.Template
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadToggleButton}"
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
/>
</
ControlTemplate
>
</
telerik:RadToggleButton.Template
>
<
Grid
>
<
Telerik_Windows_Controls_Chromes:ButtonChrome
x:Name
=
"ButtonChrome"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
CornerRadius
=
"0,1,1,0"
RenderMouseOver
=
"{Binding IsMouseOver, ElementName=PART_DropDownButton}"
RenderPressed
=
"{TemplateBinding IsDropDownOpen}"
RenderFocused
=
"{TemplateBinding IsKeyboardFocusWithin}"
RenderActive
=
"{TemplateBinding IsMouseOver}"
RenderEnabled
=
"{TemplateBinding IsEnabled}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
Telerik_Windows_Controls_Chromes:ButtonChrome
>
<
ContentControl
x:Name
=
"DropDownIcon"
Background
=
"White"
Grid.Column
=
"1"
Foreground
=
"Black"
IsTabStop
=
"False"
>
<
ContentControl.Template
>
<
ControlTemplate
TargetType
=
"{x:Type ContentControl}"
>
<
Grid
Margin
=
"5,0"
>
<
Path
x:Name
=
"BackgroundIcon"
Data
=
"M0,0L2,0 1,1z"
Fill
=
"{TemplateBinding Background}"
Height
=
"3"
Margin
=
"0,2,0,0"
Stretch
=
"Fill"
Width
=
"5"
/>
<
Path
x:Name
=
"ForegroundIcon"
Data
=
"M0,0L2,0 1,1z"
Fill
=
"{TemplateBinding Foreground}"
Height
=
"3"
Margin
=
"0,1"
Stretch
=
"Fill"
Width
=
"5"
/>
</
Grid
>
</
ControlTemplate
>
</
ContentControl.Template
>
</
ContentControl
>
</
Grid
>
</
telerik:RadToggleButton
>
<
TextBlock
x:Name
=
"Watermark"
HorizontalAlignment
=
"Left"
IsHitTestVisible
=
"False"
Margin
=
"5,0,0,0"
Opacity
=
"0.5"
Text
=
"{TemplateBinding EmptyText}"
Visibility
=
"Collapsed"
VerticalAlignment
=
"Center"
/>
<
Popup
x:Name
=
"PART_Popup"
>
<
Grid
x:Name
=
"PopupRoot"
>
<
Border
x:Name
=
"PART_ResizeBorder"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"{TemplateBinding BorderThickness}"
Background
=
"White"
CornerRadius
=
"1"
MaxHeight
=
"{TemplateBinding MaxDropDownHeight}"
MinWidth
=
"{TemplateBinding MinDropDownWidth}"
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
telerik:RadButton
x:Name
=
"PART_ClearButton"
Content
=
"{TemplateBinding ClearSelectionButtonContent}"
InnerCornerRadius
=
"0"
Margin
=
"-1,-1,-1,0"
Grid.Row
=
"0"
Visibility
=
"{TemplateBinding ClearSelectionButtonVisibility}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
<
ScrollViewer
x:Name
=
"PART_ScrollViewer"
BorderThickness
=
"0"
CanContentScroll
=
"True"
Foreground
=
"{TemplateBinding Foreground}"
HorizontalScrollBarVisibility
=
"{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}"
Padding
=
"0,1,0,0"
Grid.Row
=
"1"
VerticalScrollBarVisibility
=
"{TemplateBinding ScrollViewer.VerticalScrollBarVisibility}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
ItemsPresenter
/>
</
ScrollViewer
>
</
Grid
>
</
Border
>
</
Grid
>
</
Popup
>
</
Grid
>
</
ControlTemplate
>
</
telerik:DurationPicker.Template
>
<
System:String
>0 minutes</
System:String
>
<
System:String
>5 minutes</
System:String
>
<
System:String
>10 minutes</
System:String
>
<
System:String
>15 minutes</
System:String
>
<
System:String
>0.5 hours</
System:String
>
<
System:String
>1 hour</
System:String
>
<
System:String
>2 hours</
System:String
>
<
System:String
>3 hours</
System:String
>
<
System:String
>4 hours</
System:String
>
<
System:String
>5 hours</
System:String
>
<
System:String
>6 hours</
System:String
>
<
System:String
>7 hours</
System:String
>
<
System:String
>8 hours</
System:String
>
<
System:String
>9 hours</
System:String
>
<
System:String
>10 hours</
System:String
>
<
System:String
>11 hours</
System:String
>
<
System:String
>0.5 days</
System:String
>
<
System:String
>18 hours</
System:String
>
<
System:String
>1 day</
System:String
>
<
System:String
>2 days</
System:String
>
<
System:String
>3 days</
System:String
>
<
System:String
>4 days</
System:String
>
<
System:String
>1 week</
System:String
>
<
System:String
>2 weeks</
System:String
>
</
telerik:DurationPicker
>
</
Grid
>
</
telerik:GroupBox
>
<
telerik:GroupBox
x:Name
=
"RepeatsGroup"
Header
=
"Recurrence pattern"
Margin
=
"3"
Grid.Row
=
"1"
telerik:LocalizationManager.ResourceKey
=
"RecurrencePattern"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadTabControl
IsDefaultItemSelected
=
"False"
SupressSelectedContentTemplateReapplying
=
"False"
>
<
telerik:RadTabControl.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadTabControl.IsEnabled
>
<
telerik:RadTabControl.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadTabControl}"
>
<
Setter
Property
=
"TabStripPlacement"
Value
=
"Top"
/>
<
Setter
Property
=
"ItemContainerStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
Setter
Property
=
"Margin"
Value
=
"3"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
RadioButton
IsChecked
=
"{Binding IsSelected, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
telerik:LocalizationManager.ResourceKey
=
"{TemplateBinding Header}"
RecognizesAccessKey
=
"True"
/>
</
RadioButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type 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.2"
IsTabStop
=
"False"
>
<
telerik:RadTransitionControl.Transition
>
<
telerik:SlideAndZoomTransition
LayoutAnimation
=
"Instant"
MinAlpha
=
"0.1"
MinZoom
=
"0.9"
StartSlideAt
=
"0.25"
SlideDirection
=
"LeftToRight"
/>
</
telerik:RadTransitionControl.Transition
>
</
telerik:RadTransitionControl
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"ItemsPanel"
>
<
Setter.Value
>
<
ItemsPanelTemplate
>
<
StackPanel
IsItemsHost
=
"True"
/>
</
ItemsPanelTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadTabControl.Style
>
<
telerik:RadTabItem
x:Name
=
"RepeatDaily"
Header
=
"Daily"
>
<
telerik:RadTabItem.IsSelected
>
<
Binding
ConverterParameter
=
"Daily;WeekDays"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadTabItem.IsSelected
>
<
telerik:RadTabItem.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
Setter
Property
=
"Margin"
Value
=
"3"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
RadioButton
IsChecked
=
"{Binding IsSelected, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
telerik:LocalizationManager.ResourceKey
=
"{TemplateBinding Header}"
RecognizesAccessKey
=
"True"
/>
</
RadioButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadTabItem.Style
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
RadioButton
x:Name
=
"DailyRB"
Content
=
"E_very"
GroupName
=
"DailyGroup"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Every"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"Daily"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
telerik:RadNumericUpDown
x:Name
=
"DailyDetailsUpDown"
IsInteger
=
"True"
Maximum
=
"999"
Margin
=
"3"
MinWidth
=
"70"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadNumericUpDown
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Days"
Text
=
"day(s)"
VerticalAlignment
=
"Center"
><
Run
Text
=
"day(s)"
/></
TextBlock
>
</
StackPanel
>
<
RadioButton
x:Name
=
"WorkdaysRB"
Content
=
"Every wee_kday"
GroupName
=
"DailyGroup"
Margin
=
"3"
Grid.Row
=
"1"
telerik:LocalizationManager.ResourceKey
=
"EveryWeekday"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"WeekDays"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
x:Name
=
"RepeatWeekly"
Header
=
"Weekly"
>
<
telerik:RadTabItem.IsSelected
>
<
Binding
ConverterParameter
=
"Weekly"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadTabItem.IsSelected
>
<
telerik:RadTabItem.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
Setter
Property
=
"Margin"
Value
=
"3"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
RadioButton
IsChecked
=
"{Binding IsSelected, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
telerik:LocalizationManager.ResourceKey
=
"{TemplateBinding Header}"
RecognizesAccessKey
=
"True"
/>
</
RadioButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadTabItem.Style
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
telerik:Label
Content
=
"Re_cur every"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"RecurEvery"
Target
=
"{Binding ElementName=EveryWeekUpDown}"
VerticalAlignment
=
"Center"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:Label
>
<
telerik:RadNumericUpDown
x:Name
=
"EveryWeekUpDown"
IsInteger
=
"True"
Maximum
=
"99"
Margin
=
"3"
MinWidth
=
"70"
SnapsToDevicePixels
=
"True"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadNumericUpDown
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"WeeksOn"
Text
=
"week(s) on:"
VerticalAlignment
=
"Center"
><
Run
Text
=
"week(s) on:"
/></
TextBlock
>
</
StackPanel
>
<
ItemsControl
IsTabStop
=
"False"
Grid.Row
=
"1"
>
<
ItemsControl.ItemsPanel
>
<
ItemsPanelTemplate
>
<
telerik:RadUniformGrid
IsItemsHost
=
"True"
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
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
CheckBox
>
</
DataTemplate
>
</
ItemsControl.ItemTemplate
>
</
ItemsControl
>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
x:Name
=
"RepeatMonthly"
Header
=
"Monthly"
>
<
telerik:RadTabItem.IsSelected
>
<
Binding
ConverterParameter
=
"Monthly;MonthlyNth"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadTabItem.IsSelected
>
<
telerik:RadTabItem.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
Setter
Property
=
"Margin"
Value
=
"3"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
RadioButton
IsChecked
=
"{Binding IsSelected, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
telerik:LocalizationManager.ResourceKey
=
"{TemplateBinding Header}"
RecognizesAccessKey
=
"True"
/>
</
RadioButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadTabItem.Style
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
RadioButton
x:Name
=
"MonthlyRB"
Content
=
"_Day"
GroupName
=
"MonthlyButtons"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Day"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"Monthly"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
telerik:RadNumericUpDown
x:Name
=
"MonthlyDetailsUpDown1"
IsInteger
=
"True"
Maximum
=
"31"
Margin
=
"3"
MinWidth
=
"70"
Value
=
"{Binding DayOfMonth, Mode=TwoWay}"
VerticalAlignment
=
"Center"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadNumericUpDown
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OfEvery"
Text
=
"of every"
VerticalAlignment
=
"Center"
><
Run
Text
=
"of every"
/></
TextBlock
>
<
telerik:RadNumericUpDown
x:Name
=
"MonthlyDetailsUpDown2"
IsInteger
=
"True"
Maximum
=
"99"
Margin
=
"3"
MinWidth
=
"70"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadNumericUpDown
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Months"
Text
=
"month(s)"
VerticalAlignment
=
"Center"
><
Run
Text
=
"month(s)"
/></
TextBlock
>
</
StackPanel
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"1"
>
<
RadioButton
x:Name
=
"MonthlyNthRB"
Content
=
"Th_e"
GroupName
=
"MonthlyButtons"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"The"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"MonthlyNth"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
telerik:RadComboBox
DisplayMemberPath
=
"Name"
Margin
=
"3"
SelectedValuePath
=
"Value"
VerticalAlignment
=
"Center"
Width
=
"70"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
<
telerik:RadComboBox
DisplayMemberPath
=
"Name"
Margin
=
"3"
SelectedValuePath
=
"Value"
VerticalAlignment
=
"Center"
Width
=
"100"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OfEvery"
Text
=
"of every"
VerticalAlignment
=
"Center"
><
Run
Text
=
"of every"
/></
TextBlock
>
<
telerik:RadNumericUpDown
x:Name
=
"MonthlyDetailsUpDown3"
IsInteger
=
"True"
Maximum
=
"99"
Margin
=
"3"
MinWidth
=
"70"
Value
=
"{Binding Interval, Mode=TwoWay}"
VerticalAlignment
=
"Center"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadNumericUpDown
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Months"
Text
=
"month(s)"
VerticalAlignment
=
"Center"
><
Run
Text
=
"month(s)"
/></
TextBlock
>
</
StackPanel
>
</
Grid
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
x:Name
=
"RepeatYearly"
Header
=
"Yearly"
>
<
telerik:RadTabItem.IsSelected
>
<
Binding
ConverterParameter
=
"Yearly;YearlyNth"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadTabItem.IsSelected
>
<
telerik:RadTabItem.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
Setter
Property
=
"Margin"
Value
=
"3"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadTabItem}"
>
<
RadioButton
IsChecked
=
"{Binding IsSelected, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
ContentPresenter
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Content
=
"{TemplateBinding Content}"
ContentStringFormat
=
"{TemplateBinding ContentStringFormat}"
telerik:LocalizationManager.ResourceKey
=
"{TemplateBinding Header}"
RecognizesAccessKey
=
"True"
/>
</
RadioButton
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
telerik:RadTabItem.Style
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"50*"
/>
<
RowDefinition
Height
=
"50*"
/>
</
Grid.RowDefinitions
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"0"
>
<
RadioButton
x:Name
=
"YearlyRB"
Content
=
"E_very"
GroupName
=
"YearlyGroup"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Every"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"Yearly"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails12"
DisplayMemberPath
=
"Value"
Margin
=
"3"
SelectedValuePath
=
"Key"
VerticalAlignment
=
"Center"
Width
=
"100"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
<
telerik:RadNumericUpDown
x:Name
=
"YearlyDetailsUpDown3"
IsInteger
=
"True"
Maximum
=
"31"
Margin
=
"3"
Value
=
"{Binding DayOfMonth, Mode=TwoWay}"
VerticalAlignment
=
"Center"
Width
=
"70"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadNumericUpDown
>
</
StackPanel
>
<
StackPanel
Orientation
=
"Horizontal"
Grid.Row
=
"1"
>
<
RadioButton
x:Name
=
"YearlyNthRB"
Content
=
"Th_e"
GroupName
=
"YearlyGroup"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"The"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"YearlyNth"
Mode
=
"TwoWay"
Path
=
"RecurrenceType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails21"
DisplayMemberPath
=
"Name"
Margin
=
"3"
SelectedValuePath
=
"Value"
VerticalAlignment
=
"Center"
Width
=
"80"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails22"
DisplayMemberPath
=
"Name"
Margin
=
"3"
SelectedValuePath
=
"Value"
VerticalAlignment
=
"Center"
Width
=
"100"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Of"
Text
=
"of"
VerticalAlignment
=
"Center"
><
Run
Text
=
"of"
/></
TextBlock
>
<
telerik:RadComboBox
x:Name
=
"YearlyDetails23"
DisplayMemberPath
=
"Value"
Margin
=
"3"
SelectedValuePath
=
"Key"
VerticalAlignment
=
"Center"
Width
=
"100"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadComboBox
>
</
StackPanel
>
</
Grid
>
</
telerik:RadTabItem
>
</
telerik:RadTabControl
>
</
telerik:GroupBox
>
<
telerik:GroupBox
x:Name
=
"RangeGroup"
Header
=
"Range of recurrence"
Margin
=
"3"
Grid.Row
=
"2"
telerik:LocalizationManager.ResourceKey
=
"RangeOfRecurrence"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
Grid
Grid.IsSharedSizeScope
=
"True"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
<
ColumnDefinition
Width
=
"2*"
/>
</
Grid.ColumnDefinitions
>
<
StackPanel
Grid.Column
=
"0"
Orientation
=
"Horizontal"
>
<
telerik:Label
Content
=
"S_tart"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"StartColon"
Target
=
"{Binding ElementName=StartDate}"
VerticalAlignment
=
"Center"
>
<
telerik:Label.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:Label.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:Label
>
<
telerik:RadDatePicker
x:Name
=
"StartDate"
Culture
=
"{Binding DefaultCulture}"
DisplayDate
=
"2013-05-01"
InputMode
=
"DatePicker"
IsReadOnly
=
"{Binding IsReadOnly}"
Margin
=
"3"
SelectedValue
=
"{Binding Start, Mode=TwoWay}"
VerticalAlignment
=
"Center"
Width
=
"100"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadDatePicker
>
</
StackPanel
>
<
telerik:RadUniformGrid
Columns
=
"1"
Grid.Column
=
"1"
>
<
RadioButton
x:Name
=
"NoEndDate"
Content
=
"N_o end date"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"NoEndDate"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"NoEndDate"
Mode
=
"TwoWay"
Path
=
"RecurrenceRangeType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
RadioButton.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
RadioButton
x:Name
=
"EndAfter"
Content
=
"End a_fter"
Margin
=
"3"
MinWidth
=
"100"
telerik:LocalizationManager.ResourceKey
=
"EndAfter"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"MaxOccurrences"
Mode
=
"TwoWay"
Path
=
"RecurrenceRangeType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
RadioButton.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
telerik:RadNumericUpDown
x:Name
=
"OccurencesUpDown"
IsInteger
=
"True"
Maximum
=
"9999"
Margin
=
"3"
MinWidth
=
"70"
Value
=
"{Binding MaxOccurrences, Mode=TwoWay}"
VerticalAlignment
=
"Center"
>
<
telerik:RadNumericUpDown.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadNumericUpDown.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadNumericUpDown
>
<
TextBlock
Foreground
=
"Black"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Occurrences"
Text
=
"occurrences"
VerticalAlignment
=
"Center"
><
Run
Text
=
"occurrences"
/></
TextBlock
>
</
StackPanel
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
RadioButton
x:Name
=
"EndBy"
Content
=
"End _by"
Margin
=
"3"
MinWidth
=
"70"
telerik:LocalizationManager.ResourceKey
=
"EndBy"
VerticalAlignment
=
"Center"
>
<
RadioButton.IsChecked
>
<
Binding
ConverterParameter
=
"RepeatUntil"
Mode
=
"TwoWay"
Path
=
"RecurrenceRangeType"
>
<
Binding.Converter
>
<
telerik:EnumToBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsChecked
>
<
RadioButton.IsEnabled
>
<
Binding
Path
=
"IsReadOnly"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanConverter
/>
</
Binding.Converter
>
</
Binding
>
</
RadioButton.IsEnabled
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
telerik:RadDatePicker
Culture
=
"{Binding DefaultCulture}"
DisplayDate
=
"2013-05-01"
InputMode
=
"DatePicker"
IsReadOnly
=
"{Binding IsReadOnly}"
Margin
=
"3"
SelectedValue
=
"{Binding RecursUntil, Mode=TwoWay}"
VerticalAlignment
=
"Center"
Width
=
"120"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadDatePicker
>
</
StackPanel
>
</
telerik:RadUniformGrid
>
</
Grid
>
</
telerik:GroupBox
>
<
StackPanel
x:Name
=
"WindowButtons"
HorizontalAlignment
=
"Right"
Margin
=
"13,6"
Orientation
=
"Horizontal"
Grid.Row
=
"3"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
x:Name
=
"RemoveRecurrenceBtn"
Content
=
"Remove Recurrence"
Command
=
"telerik:RadScheduleViewCommands.DeleteRecurrenceRule"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"RemoveRecurrence"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
<
telerik:RadButton.Visibility
>
<
Binding
Mode
=
"TwoWay"
Path
=
"IsEnabled"
RelativeSource
=
"{RelativeSource Self}"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
telerik:RadButton.Visibility
>
</
telerik:RadButton
>
<
telerik:RadButton
x:Name
=
"OKButton"
Content
=
"OK"
Command
=
"telerik:WindowCommands.Confirm"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
<
telerik:RadButton
x:Name
=
"CancelButton"
Content
=
"Cancel"
Command
=
"telerik:WindowCommands.Cancel"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
</
StackPanel
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"IconTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
Image
RenderOptions.BitmapScalingMode
=
"NearestNeighbor"
RenderOptions.EdgeMode
=
"Aliased"
Stretch
=
"None"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/EditAppointment.png"
/>
</
Image.Source
>
</
Image
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
HorizontalAlignment
=
"Left"
MaxWidth
=
"450"
Orientation
=
"Horizontal"
>
<
TextBlock
Foreground
=
"Black"
telerik:LocalizationManager.ResourceKey
=
"Event"
Text
=
"Event"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Appointment.IsAllDayEvent"
>
<
Binding.Converter
>
<
telerik:BooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Event"
/></
TextBlock
>
<
TextBlock
Foreground
=
"Black"
telerik:LocalizationManager.ResourceKey
=
"Appointment"
Text
=
"Appointment"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Appointment.IsAllDayEvent"
>
<
Binding.Converter
>
<
telerik:InvertedBooleanToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Appointment"
/></
TextBlock
>
<
TextBlock
Foreground
=
"Black"
Text
=
" - "
><
Run
Text
=
" - "
/></
TextBlock
>
<
TextBlock
x:Name
=
"SubjectTextBlock"
Foreground
=
"Black"
Text
=
"{Binding Appointment.Subject}"
>
<
TextBlock.Visibility
>
<
Binding
Path
=
"Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
>
</
TextBlock
>
<
TextBlock
Foreground
=
"Black"
telerik:LocalizationManager.ResourceKey
=
"Untitled"
Text
=
"Untitled"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Untitled"
/></
TextBlock
>
</
StackPanel
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"DeleteAppointmentConfirmDialogStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"300"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"DeleteItem"
Text
=
"Delete item"
><
Run
Text
=
"Delete item"
/></
TextBlock
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
StackPanel
>
<
Grid
>
<
Image
HorizontalAlignment
=
"Left"
Margin
=
"15"
Stretch
=
"None"
VerticalAlignment
=
"Center"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png"
/>
</
Image.Source
>
</
Image
>
<
TextBlock
Margin
=
"85,15,15,15"
telerik:LocalizationManager.ResourceKey
=
"DeleteItemQuestion"
TextWrapping
=
"Wrap"
Text
=
"Are you sure you want to delete this appointment?"
VerticalAlignment
=
"Center"
><
Run
Text
=
"Are you sure you want to delete this appointment?"
/></
TextBlock
>
</
Grid
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13,6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Content
=
"OK"
Command
=
"telerik:WindowCommands.Confirm"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
<
telerik:RadButton
Content
=
"Cancel"
Command
=
"telerik:WindowCommands.Cancel"
InnerCornerRadius
=
"0"
IsCancel
=
"True"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"RecurrenceChoiceDialogStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"300"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
Text
=
"Appointment Recurrence"
><
Run
Text
=
"Appointment Recurrence"
/></
TextBlock
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
StackPanel
>
<
Grid
>
<
Image
HorizontalAlignment
=
"Left"
Margin
=
"15"
Stretch
=
"None"
VerticalAlignment
=
"Center"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png"
/>
</
Image.Source
>
</
Image
>
<
StackPanel
Margin
=
"85,15,15,15"
VerticalAlignment
=
"Top"
>
<
TextBlock
x:Name
=
"SubjectTextBlock"
Margin
=
"3"
Text
=
"{Binding Occurrence.Appointment.Subject}"
>
<
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
>
</
TextBlock
>
<
TextBlock
x:Name
=
"Untitled"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Untitled"
Text
=
"Untitled"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Untitled"
/></
TextBlock
>
<
RadioButton
Content
=
"Open this _occurrence. "
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OpenOccurrence"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
RadioButton
Content
=
"Open the _series."
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"OpenSeries"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
</
StackPanel
>
</
Grid
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13,6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Content
=
"OK"
Command
=
"telerik:WindowCommands.Confirm"
IsDefault
=
"True"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
<
telerik:RadButton
Content
=
"Cancel"
Command
=
"telerik:WindowCommands.Cancel"
InnerCornerRadius
=
"0"
IsCancel
=
"True"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"RecurrenceChoiceDeleteDialogStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"300"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
Text
=
"Appointment Recurrence"
><
Run
Text
=
"Appointment Recurrence"
/></
TextBlock
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
StackPanel
>
<
Grid
>
<
Image
HorizontalAlignment
=
"Left"
Margin
=
"15"
Stretch
=
"None"
VerticalAlignment
=
"Center"
>
<
Image.Source
>
<
BitmapImage
UriSource
=
"pack://application:,,,/Telerik.Windows.Controls.ScheduleView;component/Themes/Images/del_big.png"
/>
</
Image.Source
>
</
Image
>
<
StackPanel
Margin
=
"85,15,15,15"
VerticalAlignment
=
"Top"
>
<
TextBlock
x:Name
=
"SubjectTextBlock"
Margin
=
"3"
Text
=
"{Binding Occurrence.Appointment.Subject}"
>
<
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
>
</
TextBlock
>
<
TextBlock
x:Name
=
"Untitled"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Untitled"
Text
=
"Untitled"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Untitled"
/></
TextBlock
>
<
RadioButton
Content
=
"Delete this _occurrence."
GroupName
=
"RecurrenceModeChoiceDel"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3,9,3,3"
telerik:LocalizationManager.ResourceKey
=
"DeleteOccurrence"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
RadioButton
Content
=
"Delete the _series."
GroupName
=
"RecurrenceModeChoiceDel"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"DeleteSeries"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
</
StackPanel
>
</
Grid
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13,6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Content
=
"OK"
Command
=
"telerik:WindowCommands.Confirm"
IsDefault
=
"True"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
<
telerik:RadButton
Content
=
"Cancel"
Command
=
"telerik:WindowCommands.Cancel"
InnerCornerRadius
=
"0"
IsCancel
=
"True"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"RecurrenceChoiceResizeDialogStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"350"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
Text
=
"Appointment Recurrence"
><
Run
Text
=
"Appointment Recurrence"
/></
TextBlock
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
StackPanel
>
<
StackPanel
Margin
=
"15"
VerticalAlignment
=
"Top"
>
<
TextBlock
x:Name
=
"SubjectTextBlock"
Margin
=
"3"
Text
=
"{Binding Occurrence.Appointment.Subject}"
>
<
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
>
</
TextBlock
>
<
TextBlock
x:Name
=
"Untitled"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Untitled"
Text
=
"Untitled"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Untitled"
/></
TextBlock
>
<
TextBlock
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"ResizeRecurringItemQuestion"
TextWrapping
=
"Wrap"
Text
=
" is a recurring appointment. Do you want to resize only the selected occurrence or the series?"
><
Run
Text
=
" is a recurring appointment. Do you want to resize only the selected occurrence or the series?"
/></
TextBlock
>
<
RadioButton
Content
=
"Resize only the selected occurrence"
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3,9,3,3"
telerik:LocalizationManager.ResourceKey
=
"ResizeOccurrence"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
RadioButton
Content
=
"Resize the series"
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"ResizeSeries"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
</
StackPanel
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13,6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Content
=
"OK"
Command
=
"telerik:WindowCommands.Confirm"
IsDefault
=
"True"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
<
telerik:RadButton
Content
=
"Cancel"
Command
=
"telerik:WindowCommands.Cancel"
InnerCornerRadius
=
"0"
IsCancel
=
"True"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"RecurrenceChoiceDragDropDialogStyle"
>
<
Setter.Value
>
<
Style
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
<
Setter
Property
=
"Width"
Value
=
"350"
/>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
TextBlock
HorizontalAlignment
=
"Left"
MaxWidth
=
"200"
telerik:LocalizationManager.ResourceKey
=
"AppointmentRecurrence"
Text
=
"Appointment Recurrence"
><
Run
Text
=
"Appointment Recurrence"
/></
TextBlock
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:SchedulerDialog}"
>
<
StackPanel
>
<
StackPanel
Margin
=
"15"
>
<
TextBlock
x:Name
=
"SubjectTextBlock"
Margin
=
"3"
Text
=
"{Binding Occurrence.Appointment.Subject}"
>
<
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:NullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
>
</
TextBlock
>
<
TextBlock
x:Name
=
"Untitled"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"Untitled"
Text
=
"Untitled"
><
TextBlock.Visibility
>
<
Binding
Path
=
"Occurrence.Appointment.Subject"
>
<
Binding.Converter
>
<
telerik:InvertedNullToVisibilityConverter
/>
</
Binding.Converter
>
</
Binding
>
</
TextBlock.Visibility
><
Run
Text
=
"Untitled"
/></
TextBlock
>
<
TextBlock
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"DragRecurringItemQuestion"
TextWrapping
=
"Wrap"
Text
=
" is a recurring appointment. Do you want to drag only the selected occurrence(s) or the series?"
><
Run
Text
=
" is a recurring appointment. Do you want to drag only the selected occurrence(s) or the series?"
/></
TextBlock
>
<
RadioButton
Content
=
"Edit only the selected occurrence(s)"
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsOccurrenceModeSelected, Mode=TwoWay}"
Margin
=
"3,9,3,3"
telerik:LocalizationManager.ResourceKey
=
"DragDropOccurrence"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
<
RadioButton
Content
=
"Drag the series"
GroupName
=
"RecurrenceModeChoice"
IsChecked
=
"{Binding IsSeriesModeSelected, Mode=TwoWay}"
Margin
=
"3"
telerik:LocalizationManager.ResourceKey
=
"DragDropSeries"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
RadioButton
>
</
StackPanel
>
<
StackPanel
x:Name
=
"FooterControls"
HorizontalAlignment
=
"Right"
Margin
=
"13,6"
Orientation
=
"Horizontal"
Grid.Row
=
"2"
VerticalAlignment
=
"Bottom"
>
<
telerik:RadButton
Content
=
"OK"
Command
=
"telerik:WindowCommands.Confirm"
IsDefault
=
"True"
InnerCornerRadius
=
"0"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Ok"
telerik:RadWindow.ResponseButton
=
"Accept"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
<
telerik:RadButton
Content
=
"Cancel"
Command
=
"telerik:WindowCommands.Cancel"
InnerCornerRadius
=
"0"
IsCancel
=
"True"
Margin
=
"2"
MinWidth
=
"84"
telerik:LocalizationManager.ResourceKey
=
"Cancel"
telerik:RadWindow.ResponseButton
=
"Cancel"
>
<
telerik:StyleManager.Theme
>
<
telerik:Office_BlackTheme
/>
</
telerik:StyleManager.Theme
>
</
telerik:RadButton
>
</
StackPanel
>
</
StackPanel
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"SnapsToDevicePixels"
Value
=
"True"
/>
</
Style
>
</
UserControl.Resources
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"26"
/>
<
RowDefinition
/>
</
Grid.RowDefinitions
>
<
Grid
Grid.Row
=
"0"
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"125"
/>
<
ColumnDefinition
Width
=
"125"
/>
<
ColumnDefinition
Width
=
"125"
/>
<
ColumnDefinition
Width
=
"125"
/>
</
Grid.ColumnDefinitions
>
<
Label
Grid.Column
=
"0"
Content
=
"Filter:"
HorizontalAlignment
=
"Right"
VerticalAlignment
=
"Center"
/>
<
telerik:RadComboBox
Grid.Column
=
"1"
x:Name
=
"cboFilter"
ClearSelectionButtonVisibility
=
"Visible"
ItemsSource
=
"{Binding ComboResources}"
SelectedItem
=
"{Binding SelectedResource, Mode=TwoWay}"
/>
<
telerik:RadButton
Grid.Column
=
"2"
x:Name
=
"btnSerialize"
Content
=
"Serialize"
Click
=
"btnSerialize_Click"
/>
<
telerik:RadButton
Grid.Column
=
"3"
x:Name
=
"btnGetSchedule"
Content
=
"Get Schedule"
Click
=
"btnGetSchedule_Click"
/>
</
Grid
>
<
telerik:RadScheduleView
Grid.Row
=
"1"
x:Name
=
"scheduleControl"
AppointmentsSource
=
"{Binding Appointments}"
ResourceTypesSource
=
"{Binding ResourceTypes}"
Style
=
"{DynamicResource RadScheduleViewStyle1}"
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:DayViewDefinition
AppointmentFilter
=
"{Binding FilterView}"
/>
<
telerik:WeekViewDefinition
/>
<
telerik:MonthViewDefinition
/>
</
telerik:RadScheduleView.ViewDefinitions
>
<
telerik:RadScheduleView.GroupDescriptionsSource
>
<
telerik:GroupDescriptionCollection
>
<
telerik:DateGroupDescription
/>
<
telerik:ResourceGroupDescription
ResourceType
=
"Technology Run"
ShowNullGroup
=
"True"
/>
</
telerik:GroupDescriptionCollection
>
</
telerik:RadScheduleView.GroupDescriptionsSource
>
</
telerik:RadScheduleView
>
</
Grid
>
</
UserControl
>
Column1 |
Column2 |
Column3 |
Column4 |
Column5 |
Amount |
Details of Name of person will display here. |
Total Amount: 999.99 |
<
Style
TargetType
=
"telerik:RadTreeViewItem"
x:Key
=
"TreeViewItemStyle"
>
<
Setter
Property
=
"telerik:DragDropManager.AllowCapturedDrag"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:DragDropManager.AllowDrag"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:RadDragAndDropManager.AllowDrop"
Value
=
"True"
/>
</
Style
>
....
<
telerik:RadTreeListView
x:Name
=
"TestScriptTreeListView"
SelectedItem
=
"{Binding TestViewItem.SelectedScriptActionViewItem, Mode=TwoWay}"
ItemContainerStyle
=
"{StaticResource TreeViewItemStyle}"
IsDragDropEnabled
=
"True"
AllowDrop
=
"True"
ItemsSource
=
"{Binding Source={StaticResource scriptActionSorted}}"
behavior:TestScriptDragDropBehavior.UseTestScriptDragDrop
=
"True"
">
private
static
void
StartUseDragDrop(RadTreeListView treeListView)
{
DragDropManager.AddDragInitializeHandler(treeListView, OnDragInitialize);
DragDropManager.AddGiveFeedbackHandler(treeListView, OnGiveFeedback);
DragDropManager.AddDropHandler(treeListView, OnDrop);
DragDropManager.AddDragDropCompletedHandler(treeListView, OnDragDropCompleted);
DragDropManager.AddDragOverHandler(treeListView, OnDragOver);
//this is just to try and stop
DragDropManager.AddPreviewDragEnterHandler(treeListView, DragEnter2);
DragDropManager.AddPreviewDragOverHandler(treeListView, OnDragOver2);
DragDropManager.AddPreviewDropHandler(treeListView, OnDrop2);
DragDropManager.AddPreviewGiveFeedbackHandler(treeListView, OnGiveFeedback2);*/
}
#region PresetQuarter2Command
private
readonly
ICommand _PresetQuarter2Command;
/// <summary>
/// Command binding.
/// </summary>
public
ICommand PresetQuarter2Command {
get
{
return
_PresetQuarter2Command; } }
/// <summary>
/// Action method.
/// </summary>
public
void
PresetQuarter2()
{
var zoomSize =
new
Size(3.79, 1);
var pointOffset =
new
Point(-1138.65, 0);
this
.Zoom = zoomSize;
this
.PanOffset = pointOffset;
}
/// <summary>
/// CanExecute method.
/// </summary>
/// <returns>True if the command can be executed, otherwise false.</returns>
public
bool
CanPresetQuarter2()
{
return
true
;
// Example of how to trigger the calling of this method
//((DelegateCommand)PresetQuarter2Command).RaiseCanExecuteChanged();
}
#endregion
<
telerik:LineSeries.LegendSettings
>
<
telerik:SeriesLegendSettings
Title
=
"Sold"
/>
</
telerik:LineSeries.LegendSettings
>
LineSeries units =
new
LineSeries() { LegendSettings = ? };