<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:GlassButton="clr-namespace:BSE.CoverFlow.WPFLib">
<Style x:Key="PlayButton" TargetType="{x:Type GlassButton:PlayButton}">
<Setter Property="OverridesDefaultStyle" Value="True"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type GlassButton:PlayButton}">
<Grid>
<Path x:Name="ReversedLowerLayer">
<Path.Fill>
<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
<GradientStop Color="#ff606263" Offset="0.53"/>
<GradientStop Color="#33606366" Offset="0.5"/>
<GradientStop Color="Transparent" Offset="0"/>
</LinearGradientBrush>
</Path.Fill>
<Path.Data>
<PathGeometry>
<PathGeometry.Figures>
<PathFigureCollection>
<PathFigure IsClosed="True" StartPoint="5,0">
<PathFigure.Segments>
<PathSegmentCollection >
<LineSegment Point="80,0" />
<ArcSegment Point="80,25" Size="1,3" IsLargeArc="False" SweepDirection="Counterclockwise"/>
<LineSegment Point="5,25"/>
<ArcSegment Point="5,0" Size="1,3" IsLargeArc="False" SweepDirection="Clockwise"/>
</PathSegmentCollection>
</PathFigure.Segments>
</PathFigure>
</PathFigureCollection>
</PathGeometry.Figures>
</PathGeometry>
</Path.Data>
</Path>
<Path x:Name="ReversedUpperLayer" StrokeLineJoin="Bevel">
<Path.Stroke>
<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
<GradientStop Color="#33FFFFFF" Offset="1"/>
<GradientStop Color="#33FFFFFF" Offset="0"/>
</LinearGradientBrush>
</Path.Stroke>
<Path.Fill>
<LinearGradientBrush EndPoint="0.494,0" StartPoint="0.494,1">
<GradientStop Color="#99FFFFFF" Offset="1"/>
<GradientStop Color="Transparent" Offset=".4"/>
<GradientStop Color="Transparent" Offset=".3"/>
<GradientStop Color="#33FFFFFF" Offset="0"/>
</LinearGradientBrush>
</Path.Fill>
<Path.Data >
<PathGeometry>
<PathGeometry.Figures>
<PathFigureCollection>
<PathFigure IsClosed="True" StartPoint="5,0">
<PathFigure.Segments>
<PathSegmentCollection >
<LineSegment Point="80,0" />
<ArcSegment Point="80,25" Size="1,3" IsLargeArc="False" SweepDirection="Counterclockwise"/>
<LineSegment Point="5,25"/>
<ArcSegment Point="5,0" Size="1,3" IsLargeArc="False" SweepDirection="Clockwise"/>
</PathSegmentCollection>
</PathFigure.Segments>
</PathFigure>
</PathFigureCollection>
</PathGeometry.Figures>
</PathGeometry>
</Path.Data>
</Path>
<Path x:Name="Glow" StrokeLineJoin="Bevel" Visibility="Hidden">
<Path.Stroke>
<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
<GradientStop Color="#33000000" Offset="1"/>
<GradientStop Color="#33FFFFFF" Offset="0"/>
</LinearGradientBrush>
</Path.Stroke>
<Path.Fill>
<RadialGradientBrush>
<RadialGradientBrush.RelativeTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.702" ScaleY="2.243"/>
<SkewTransform AngleX="0" AngleY="0"/>
<RotateTransform Angle="0"/>
<TranslateTransform X="-0.368" Y="-0.152"/>
</TransformGroup>
</RadialGradientBrush.RelativeTransform>
<GradientStop Color="#B28DBDFF" Offset="0"/>
<GradientStop Color="#008DBDFF" Offset="1"/>
</RadialGradientBrush>
</Path.Fill>
<Path.Data >
<PathGeometry>
<PathGeometry.Figures>
<PathFigureCollection>
<PathFigure IsClosed="True" StartPoint="5,0">
<PathFigure.Segments>
<PathSegmentCollection >
<LineSegment Point="80,0" />
<ArcSegment Point="80,25" Size="1,3" IsLargeArc="False" SweepDirection="Counterclockwise"/>
<LineSegment Point="5,25"/>
<ArcSegment Point="5,0" Size="1,3" IsLargeArc="False" SweepDirection="Clockwise"/>
</PathSegmentCollection>
</PathFigure.Segments>
</PathFigure>
</PathFigureCollection>
</PathGeometry.Figures>
</PathGeometry>
</Path.Data>
</Path>
<ContentPresenter Margin="0" HorizontalAlignment="Center" VerticalAlignment="Center" Width="Auto"/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="Reversed" Value="True">
<Setter TargetName="ReversedLowerLayer" Property="Data">
<Setter.Value>
<PathGeometry>
<PathGeometry.Figures>
<PathFigureCollection>
<PathFigure IsClosed="True" StartPoint="5,0">
<PathFigure.Segments>
<PathSegmentCollection >
<LineSegment Point="75,0" />
<ArcSegment Point="75,25" Size="1,3" IsLargeArc="False" SweepDirection="Clockwise"/>
<LineSegment Point="0,25"/>
<ArcSegment Point="0,0" Size="1,3" IsLargeArc="False" SweepDirection="Counterclockwise"/>
</PathSegmentCollection>
</PathFigure.Segments>
</PathFigure>
</PathFigureCollection>
</PathGeometry.Figures>
</PathGeometry>
</Setter.Value>
</Setter>
<Setter TargetName="ReversedUpperLayer" Property="Data">
<Setter.Value>
<PathGeometry>
<PathGeometry.Figures>
<PathFigureCollection>
<PathFigure IsClosed="True" StartPoint="5,0">
<PathFigure.Segments>
<PathSegmentCollection >
<LineSegment Point="75,0" />
<ArcSegment Point="75,25" Size="1,3" IsLargeArc="False" SweepDirection="Clockwise"/>
<LineSegment Point="0,25"/>
<ArcSegment Point="0,0" Size="1,3" IsLargeArc="False" SweepDirection="Counterclockwise"/>
</PathSegmentCollection>
</PathFigure.Segments>
</PathFigure>
</PathFigureCollection>
</PathGeometry.Figures>
</PathGeometry>
</Setter.Value>
</Setter>
</Trigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True" />
<Condition Property="Reversed" Value="True" />
</MultiTrigger.Conditions>
<Setter Property="Visibility" TargetName="Glow" Value="Visible"/>
<Setter TargetName="Glow" Property="Data">
<Setter.Value>
<PathGeometry>
<PathGeometry.Figures>
<PathFigureCollection>
<PathFigure IsClosed="True" StartPoint="5,0">
<PathFigure.Segments>
<PathSegmentCollection >
<LineSegment Point="75,0" />
<ArcSegment Point="75,25" Size="1,3" IsLargeArc="False" SweepDirection="Clockwise"/>
<LineSegment Point="0,25"/>
<ArcSegment Point="0,0" Size="1,3" IsLargeArc="False" SweepDirection="Counterclockwise"/>
</PathSegmentCollection>
</PathFigure.Segments>
</PathFigure>
</PathFigureCollection>
</PathGeometry.Figures>
</PathGeometry>
</Setter.Value>
</Setter>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True" />
<Condition Property="Reversed" Value="False" />
</MultiTrigger.Conditions>
<Setter Property="Visibility" TargetName="Glow" Value="Visible"/>
</MultiTrigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="ReversedLowerLayer" Property="Stroke">
<Setter.Value>
<LinearGradientBrush EndPoint="0,0" StartPoint="0,1">
<GradientStop Color="#99000000" Offset="1"/>
<GradientStop Color="#99FFFFFF" Offset="0"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter TargetName="ReversedLowerLayer" Property="Fill">
<Setter.Value>
<LinearGradientBrush EndPoint="0.494,0" StartPoint="0.494,1">
<GradientStop Color="#99FFFFFF" Offset="1"/>
<GradientStop Color="#FF818a92" Offset="0.53"/>
<GradientStop Color="#FF606263" Offset="0.5"/>
<GradientStop Color="#33000000" Offset="0"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
<Setter Property="Visibility" TargetName="Glow" Value="Hidden"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>