<
ControlTemplate
x:Key
=
"GroupHeaderTemplate2"
TargetType
=
"telerik:GroupHeader"
>
<
Grid
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"OrientationStates"
>
<
VisualState
x:Name
=
"Horizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Header"
Storyboard.TargetProperty
=
"VerticalAlignment"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"Stretch"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Header"
Storyboard.TargetProperty
=
"HorizontalAlignment"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"Left"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"Vertical"
/>
</
VisualStateGroup
>
<
VisualStateGroup
x:Name
=
"DayStates"
>
<
VisualState
x:Name
=
"NormalDay"
/>
<
VisualState
x:Name
=
"Today"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Border"
Storyboard.TargetProperty
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderBorderBrush_Today}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Border"
Storyboard.TargetProperty
=
"BorderThickness"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource HorizontalGroupHeaderTodayBorderThickness}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
<
VisualState
x:Name
=
"TodayHorizontal"
>
<
Storyboard
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Header"
Storyboard.TargetProperty
=
"VerticalAlignment"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"Stretch"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Header"
Storyboard.TargetProperty
=
"HorizontalAlignment"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"Left"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Border"
Storyboard.TargetProperty
=
"BorderBrush"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource GroupHeaderBorderBrush_Today}"
/>
</
ObjectAnimationUsingKeyFrames
>
<
ObjectAnimationUsingKeyFrames
Storyboard.TargetName
=
"Border"
Storyboard.TargetProperty
=
"BorderThickness"
>
<
DiscreteObjectKeyFrame
KeyTime
=
"0:0:0"
Value
=
"{StaticResource VerticalGroupHeaderTodayBorderThickness}"
/>
</
ObjectAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualState
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
<
Border
x:Name
=
"Border"
IsHitTestVisible
=
"False"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
BorderBrush
=
"{TemplateBinding BorderBrush}"
BorderThickness
=
"1"
Background
=
"{TemplateBinding Background}"
>
</
Border
>
<
telerik:GroupHeaderButton
x:Name
=
"Header"
VerticalAlignment
=
"Top"
Content
=
"{TemplateBinding Content}"
ContentTemplate
=
"{TemplateBinding ContentTemplate}"
Command
=
"scheduleView:RadScheduleViewCommands.SetTimelineViewMode"
IsToday
=
"{TemplateBinding IsToday}"
Orientation
=
"{TemplateBinding Orientation}"
telerik:StyleManager.Theme
=
"{StaticResource Theme}"
Foreground
=
"{TemplateBinding Foreground}"
/>
</
Grid
>
</
ControlTemplate
>
<
Style
x:Key
=
"MonthViewBottomLevelWeekGroupStyle"
TargetType
=
"telerik:GroupHeader"
>
<
Setter
Property
=
"Margin"
Value
=
"0 0 0 -1"
/>
<
Setter
Property
=
"Padding"
Value
=
"0 21 0 18"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"85"
/>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource TimeRulerGroupItemForeground}"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource GroupHeaderBorderBrush}"
/>
<
Setter
Property
=
"Background"
Value
=
"{x:Null}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Canvas.ZIndex"
Value
=
"-2"
/>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource GroupHeaderTemplate2}"
/>
</
Style
>