<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
        xmlns:player="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.MediaPlayer"
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls">
	<?BODY BEGIN?>
    <!--Time Progress Bar-->
    <ControlTemplate x:Key="TimeProgressBarTemplate" TargetType="telerik:RadProgressBar">
        <Grid>
            <Grid x:Name="HContainer">
                <Grid x:Name="HWrapper">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <Border HorizontalAlignment="Stretch" Margin="0" Width="Auto" Grid.Column="1"
                            Height="13" VerticalAlignment="Top"
                            Background="{StaticResource TimeProgressBarBackground}"
                            BorderThickness="0,1,0,1" />
                </Grid>
            </Grid>
        </Grid>
    </ControlTemplate>

    <!--Button Template-->
    <ControlTemplate x:Key="ButtonTemplate" TargetType="ButtonBase">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal">
                        <Storyboard />
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border1"
                                    Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver1}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed1}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed2}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed3}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard />
                    </vsm:VisualState>
                </vsm:VisualStateGroup>

            </vsm:VisualStateManager.VisualStateGroups>
            <Border Background="{StaticResource ButtonPartBackgroundInner}"
                    BorderThickness="1,0,0,0" x:Name="border1"
                    BorderBrush="{StaticResource PlayButtonPartBorderInner}">
                <Grid>
                    <Border x:Name="border" Background="{StaticResource BottomButtonPartBackground}"
                            BorderThickness="1,0,0,0"
                            BorderBrush="{StaticResource BottomButtonPartBorder}" />
                    <ContentPresenter />
                </Grid>
            </Border>
        </Grid>
    </ControlTemplate>

    <!--PlayPause Button control template-->
    <ControlTemplate x:Key="PlayButtonTemplate" TargetType="ToggleButton">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal">
                        <Storyboard />
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border1"
                                    Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver1}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed1}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed2}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed3}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard />
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
                <vsm:VisualStateGroup x:Name="CheckStates">
                    <vsm:VisualState x:Name="Checked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="pauseSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="playSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Unchecked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="pauseSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="playSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Border Background="{StaticResource ButtonPartBackgroundInner}"
                    BorderThickness="1,0,0,0" x:Name="border1"
                    BorderBrush="{StaticResource PlayButtonPartBorderInner}">
                <Grid>
                    <Border x:Name="border" BorderThickness="1,0,0,0"
                            Background="{StaticResource BottomButtonPartBackground}"
                            BorderBrush="{StaticResource BottomButtonPartBorder}" />
                    <Path Stretch="Fill"
                            Data="F1 M 418.608,788.75L 430.608,794.728L 418.608,800.75L 418.608,788.75 Z "
                            Height="12" x:Name="playSymbol" Width="12"
                            Fill="{StaticResource PlaylistButtonFill}"
                            Stroke="{StaticResource PlaylistButtonStroke}" StrokeThickness="1" />
                    <Path x:Name="pauseSymbol" Visibility="Collapsed" Width="11" Height="12"
                            Fill="{StaticResource BottomButtonPartBackground}"
                            Stroke="{StaticResource BottomButtonPartBorder}" StrokeThickness="1"
                            Data="M0,0 L4,0 L4,12 L0,12 z M7,0 L11,0 L11,12 L7,12 z" />
                </Grid>
            </Border>
        </Grid>
    </ControlTemplate>

    <!--MuteOnOff Button control template-->
    <ControlTemplate x:Key="MuteButtonTemplate" TargetType="ToggleButton">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal">
                        <Storyboard />
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border1"
                                    Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartMouseOver1}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed1}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed2}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource ButtonPartPressed3}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard />
                    </vsm:VisualState>
                </vsm:VisualStateGroup>

                <vsm:VisualStateGroup x:Name="CheckStates">
                    <vsm:VisualState x:Name="Checked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="muteOffSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>

                    <vsm:VisualState x:Name="Unchecked">
                        <Storyboard>
                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="muteOffSymbol"
                                    Storyboard.TargetProperty="Visibility" Duration="0">
                                <DiscreteObjectKeyFrame KeyTime="0">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Border Background="{StaticResource ButtonPartBackgroundInner}"
                    BorderThickness="1,0,0,0" x:Name="border1"
                    BorderBrush="{StaticResource PlayButtonPartBorderInner}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <Border x:Name="border" BorderThickness="1,0,0,0"
                            Background="{StaticResource BottomButtonPartBackground}"
                            BorderBrush="{StaticResource BottomButtonPartBorder}"
                            Grid.ColumnSpan="2" />
                    <Path Stretch="Fill" x:Name="muteOnSymbol" HorizontalAlignment="Right"
                            Data="F1 M 555.875,791.75L 559.328,791.75L 565.904,786.625L 565.904,803.625L 559.279,798.5L 555.875,798.5L 555.875,791.75 Z "
                            Height="17" Width="10" Stroke="{StaticResource PlaylistButtonStroke}"
                            Fill="{StaticResource PlaylistButtonFill}" StrokeThickness="1" />
                    <Path Stroke="{StaticResource PlaylistButtonStroke}"
                            Fill="{StaticResource PlaylistButtonFill}" Stretch="Fill"
                            x:Name="muteOffSymbol" HorizontalAlignment="Left" Visibility="Collapsed"
                            Grid.Column="1" Height="12" Width="12"
                            Data="M21.529802,6.990521 L6.9905243,21.529799 C8.6579304,23.026527 10.875901,23.831999 13.282001,23.831999 C19.108606,23.831999 23.832003,19.108603 23.832003,13.281999 C23.832003,10.875898 23.026529,8.6579266 21.529802,6.990521 z M13.282001,2.7319984 C7.4553971,2.7319984 2.7320013,7.4553943 2.7320011,13.281999 C2.7320013,15.601365 3.4804499,17.745922 4.9013095,19.376371 L19.376375,4.9013066 C17.745924,3.4804471 15.601368,2.7319984 13.282001,2.7319984 z M13.2835,0 C20.619774,-1.7763568E-15 26.566999,5.9472251 26.566999,13.2835 C26.566999,20.619774 20.619774,26.566999 13.2835,26.566999 C5.9472251,26.566999 -1.7763568E-15,20.619774 0,13.2835 C-1.7763568E-15,5.9472251 5.9472251,-1.7763568E-15 13.2835,0 z"
                            StrokeThickness="1" />
                </Grid>
            </Border>
        </Grid>
    </ControlTemplate>

    <!--Content Only Button Template-->
    <ControlTemplate x:Key="ContentOnlyButton" TargetType="Button">
        <Grid Background="Transparent">
            <ContentPresenter />
        </Grid>
    </ControlTemplate>

    <!--Thumb for VolumeSlider-->
    <ControlTemplate x:Key="VolumeSliderThumbTemplate" TargetType="Thumb">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Disabled" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal">
                        <Storyboard />
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThMouseover}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThMouseover1}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse1"
                                    Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThMouseover2}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.3" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse1"
                                    Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5" />
                            </DoubleAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="ellipse"
                                    Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource VolumeSliderThDisabled}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Ellipse HorizontalAlignment="Center" Margin="0" Width="11"
                    Fill="{StaticResource OutVolumeSliderThFill}" Height="11"
                    VerticalAlignment="Center" Stroke="{StaticResource OutVolumeSliderThStroke}"
                    x:Name="ellipse1" />
            <Ellipse HorizontalAlignment="Stretch" Margin="0" VerticalAlignment="Stretch" Width="9"
                    Height="9" Stroke="{StaticResource InnerVolumeSliderThStroke}"
                    Fill="{StaticResource InnerVolumeSliderThFill}" x:Name="ellipse" />
        </Grid>
    </ControlTemplate>

    <!--Volume Slider Style-->
    <Style x:Key="VolumeSliderStyle" TargetType="telerik:RadSlider">
        <Setter Property="Orientation" Value="Horizontal" />
        <Setter Property="IsEnabled" Value="True" />
        <Setter Property="HandlesVisibility" Value="Collapsed" />
        <Setter Property="IsMouseWheelEnabled" Value="True" />
        <Setter Property="Maximum" Value="1" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RadSlider">
                    <Grid x:Name="LayoutRoot">
                        <!--[Horizontal] [Template]-->
                        <Grid x:Name="HorizontalTemplate" MinHeight="24">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="23" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>

                            <!--[Horizontal] [TrackBackground]-->
                            <Rectangle Fill="{StaticResource TrackBackgroundHorizontal}" Height="5"
                                    Stroke="{StaticResource TrackBackgroundHorizontalStroke}"
                                    StrokeThickness="1" RadiusX="3" RadiusY="3" Grid.Column="1"
                                    Grid.Row="1" Margin="5,0,5,0" />

                            <!--[Horizontal] [SingleThumbTemplate]-->
                            <Grid x:Name="HorizontalSingleThumbTemplate" Grid.Row="1"
                                    Grid.Column="1">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>

                                <Rectangle Grid.ColumnSpan="1"
                                        Fill="{StaticResource SingleThumbTemplateHorizontal}"
                                        Height="3" Margin="6,0,-5,0" RadiusX="3" RadiusY="3" />
                                <Rectangle x:Name="HorizontalSingleLargeDecrease" Fill="Transparent" />
                                <Thumb x:Name="HorizontalSingleThumb" Width="11" Height="11"
                                        Grid.Column="1"
                                        Template="{StaticResource VolumeSliderThumbTemplate}" />
                                <Rectangle x:Name="HorizontalSingleLargeIncrease" Grid.Column="2"
                                        Fill="Transparent" />
                            </Grid>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--TimeSlider Thumb Style-->
    <ControlTemplate x:Key="TimeSliderThumbTemplate" TargetType="Thumb">
        <Grid>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualStateGroup.Transitions>
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Pressed" />
                        <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="Disabled" />
                    </vsm:VisualStateGroup.Transitions>
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver">
                        <Storyboard />
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Pressed">
                        <Storyboard />
                    </vsm:VisualState>
                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource TimeSliderThDisabled}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource TimeSliderThDisabled1}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource TimeSliderThDisabled2}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="border"
                                    Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource TimeSliderThDisabled3}" />
                            </ColorAnimationUsingKeyFrames>
                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                    Duration="00:00:00.0010000" Storyboard.TargetName="path"
                                    Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                <SplineColorKeyFrame KeyTime="00:00:00"
                                        Value="{StaticResource TimeSliderThDisabled4}" />
                            </ColorAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Border x:Name="border" Background="{StaticResource TimeSliderThOutBackground}">
                <Path Height="7" Width="7"
                        Data="M6,0 L7,0 L7,7 L6,7 L6,0 z M3,0 L4,0 L4,7 L3,7 L3,0 z M0,0 L1,0 L1,7 L0,7 L0,0 z"
                        Fill="{StaticResource TimeSliderThInnerBackground}" Stretch="Fill"
                        HorizontalAlignment="Center" Margin="-1,0,0,0" x:Name="path" />
            </Border>
        </Grid>
    </ControlTemplate>

    <!--TimeSlider Style-->
    <Style x:Key="TimeSliderStyle" TargetType="telerik:RadSlider">
        <Setter Property="Orientation" Value="Horizontal" />
        <Setter Property="IsEnabled" Value="True" />
        <Setter Property="HandlesVisibility" Value="Collapsed" />
        <Setter Property="IsMouseWheelEnabled" Value="True" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="telerik:RadSlider">
                    <Grid x:Name="LayoutRoot">
                        <Grid.Resources>
                            <!-- Tick Template -->
                            <DataTemplate x:Key="HorizontalTickTemplate">
                                <Grid Height="11" Width="2">
                                    <Rectangle Fill="{StaticResource HorizontalTimeSliderTemplate}"
                                            Width="1" HorizontalAlignment="Left" />
                                    <Rectangle Fill="{StaticResource HorizontalTimeSliderTemplate1}"
                                            Width="1" HorizontalAlignment="Left" Margin="1,0,0,0" />
                                </Grid>
                            </DataTemplate>
                        </Grid.Resources>
                        <!--[Horizontal] [Template]-->
                        <Grid x:Name="HorizontalTemplate" MinHeight="0" Height="11">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <!--[Horizontal] [SingleThumbTemplate]-->
                            <Grid x:Name="HorizontalSingleThumbTemplate" Grid.Row="1"
                                    Grid.Column="1">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <Rectangle Fill="{StaticResource HorizontalTimeSliderSingleThFill}"
                                        Margin="0,0,-5,0" Height="13" VerticalAlignment="Top" />
                                <telerik:RadTickBar x:Name="TopTickBar" Grid.ColumnSpan="3"
                                        VerticalAlignment="Top"
                                        Template="{StaticResource TickBarTemplate}" Height="11"
                                        Placement="Top"
                                        TickFrequency="{TemplateBinding TickFrequency}"
                                        Ticks="{TemplateBinding Ticks}"
                                        IsDirectionReversed="{TemplateBinding IsDirectionReversed}"
                                        Maximum="{TemplateBinding Maximum}"
                                        Minimum="{TemplateBinding Minimum}"
                                        TickTemplate="{TemplateBinding TickTemplate}"
                                        TickTemplateSelector="{TemplateBinding TickTemplateSelector}"
                                        Orientation="{TemplateBinding Orientation}" />
                                <Rectangle x:Name="HorizontalSingleLargeDecrease" Fill="Transparent" />
                                <Thumb x:Name="HorizontalSingleThumb" Width="26" Height="11"
                                        Grid.Column="1"
                                        Template="{StaticResource TimeSliderThumbTemplate}"
                                        VerticalAlignment="Top" />
                                <Rectangle x:Name="HorizontalSingleLargeIncrease" Grid.Column="2"
                                        Fill="Transparent" />
                            </Grid>
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--ScrollBar Template-->
    <ControlTemplate x:Key="ScrollBarTemplate" TargetType="ScrollBar">
        <Grid x:Name="Root">
            <Grid.Resources>
                <ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root" Background="Transparent">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="HorizontalIncrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource PlaylistScrollBarMouseOver}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="35*" />
                            <ColumnDefinition Width="30*" />
                            <ColumnDefinition Width="35*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="25*" />
                            <RowDefinition Height="50*" />
                            <RowDefinition Height="25*" />
                        </Grid.RowDefinitions>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 511.047,352.682L 511.047,342.252L 517.145,347.467L 511.047,352.682 Z ">
                            <Path.Fill>
                                <SolidColorBrush
                                        Color="{StaticResource PlaylistScrollBarButtonColor}"
                                        x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3" Stroke="#666666"
                                StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="HorizontalDecrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource PlaylistScrollBarMouseOver}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="35*" />
                            <ColumnDefinition Width="30*" />
                            <ColumnDefinition Width="35*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="25*" />
                            <RowDefinition Height="50*" />
                            <RowDefinition Height="25*" />
                        </Grid.RowDefinitions>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 110.692,342.252L 110.692,352.682L 104.594,347.467L 110.692,342.252 Z ">
                            <Path.Fill>
                                <SolidColorBrush
                                        Color="{StaticResource PlaylistScrollBarButtonColor}"
                                        x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3" Stroke="#666666"
                                StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="VerticalIncrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource PlaylistScrollBarMouseOver}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                        </Grid.RowDefinitions>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 531.107,321.943L 541.537,321.943L 536.322,328.042L 531.107,321.943 Z "
                                Width="10" Height="5">
                            <Path.Fill>
                                <SolidColorBrush Color="#FFFFFFFF" x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="#00000000"
                                Stroke="#666666" StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="VerticalDecrementTemplate" TargetType="RepeatButton">
                    <Grid x:Name="Root" Background="#00000000">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource PlaylistScrollBarMouseOver}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ButtonVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Duration="0"
                                                Storyboard.TargetName="FocusVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid.ColumnDefinitions>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                        </Grid.RowDefinitions>
                        <Path x:Name="ButtonVisual" Grid.Column="1" Grid.Row="1" Stretch="Fill"
                                Data="F1 M 541.537,173.589L 531.107,173.589L 536.322,167.49L 541.537,173.589 Z "
                                Width="10" Height="5">
                            <Path.Fill>
                                <SolidColorBrush Color="#FFFFFFFF" x:Name="ButtonColor" />
                            </Path.Fill>
                        </Path>
                        <Rectangle x:Name="FocusVisual" IsHitTestVisible="false" Opacity="0"
                                Grid.ColumnSpan="3" Grid.RowSpan="3" Fill="#00000000"
                                Stroke="#666666" StrokeDashArray=".2 5" StrokeDashCap="Round" />
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
                    <Grid>
                        <Grid.Resources>
                            <SolidColorBrush x:Key="Background" Color="#FF003255" />
                            <Color x:Key="LinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="LinearBevelLightEndColor">#F4FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkStartColor">#E0FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkEndColor">#B2FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightEndColor">#EAFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkStartColor">#D8FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkEndColor">#4CFFFFFF</Color>
                        </Grid.Resources>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkStartColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ThumbVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid x:Name="ThumbVisual">
                            <Rectangle Margin="2.5,.5,2.5,.5" x:Name="Background"
                                    Fill="{StaticResource Background}" RadiusX="2.5" RadiusY="2.5" />
                            <Rectangle Margin="2,0,2,0" x:Name="rectangle" Stroke="#FF777777"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5">
                                <Rectangle.Fill>
                                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightStartColor}"
                                                Offset="0" x:Name="LinearBevelLightStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightEndColor}"
                                                Offset="0.35" x:Name="LinearBevelLightEnd" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkStartColor}"
                                                Offset="0.35" x:Name="LinearBevelDarkStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkEndColor}"
                                                Offset="1" x:Name="LinearBevelDarkEnd" />
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                            <Rectangle Margin="3,1,3,1" Fill="#00000000" Stroke="White"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5" />
                        </Grid>
                    </Grid>
                </ControlTemplate>
                <ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb">
                    <Grid>
                        <Grid.Resources>
                            <SolidColorBrush x:Key="Background" Color="#FF003255" />
                            <Color x:Key="LinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="LinearBevelLightEndColor">#F4FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkStartColor">#E0FFFFFF</Color>
                            <Color x:Key="LinearBevelDarkEndColor">#B2FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightStartColor">#FCFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelLightEndColor">#EAFFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkStartColor">#D8FFFFFF</Color>
                            <Color x:Key="HoverLinearBevelDarkEndColor">#4CFFFFFF</Color>
                        </Grid.Resources>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="0:0:0.1" To="MouseOver" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelLightEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkStartColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00"
                                                    Value="{StaticResource HoverLinearBevelDarkEndColor}" />
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames
                                                Storyboard.TargetName="ThumbVisual"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.6" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid x:Name="ThumbVisual">
                            <Rectangle Margin=".5,2.5,.5,2.5" x:Name="Background"
                                    Fill="{StaticResource Background}" RadiusX="2.5" RadiusY="2.5" />
                            <Rectangle Margin="0,2,0,2" x:Name="rectangle" Stroke="#FF777777"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5">
                                <Rectangle.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1.11" StartPoint="0.5,-0.11">
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightStartColor}"
                                                Offset="0" x:Name="LinearBevelLightStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelLightEndColor}"
                                                Offset="0.35" x:Name="LinearBevelLightEnd" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkStartColor}"
                                                Offset="0.35" x:Name="LinearBevelDarkStart" />
                                        <GradientStop
                                                Color="{StaticResource LinearBevelDarkEndColor}"
                                                Offset="1" x:Name="LinearBevelDarkEnd" />
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                            <Rectangle Margin="1,3,1,3" Fill="#00000000" Stroke="White"
                                    StrokeThickness="1" RadiusX="2.5" RadiusY="2.5" />
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Grid.Resources>
            <vsm:VisualStateManager.VisualStateGroups>
                <vsm:VisualStateGroup x:Name="CommonStates">
                    <vsm:VisualState x:Name="Normal" />
                    <vsm:VisualState x:Name="MouseOver" />
                    <vsm:VisualState x:Name="Disabled">
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root"
                                    Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </vsm:VisualState>
                </vsm:VisualStateGroup>
            </vsm:VisualStateManager.VisualStateGroups>
            <Grid x:Name="HorizontalRoot" Visibility="Collapsed">
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="*" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <Rectangle Grid.ColumnSpan="5" Grid.RowSpan="2" Stroke="#FFCCCCCC" RadiusX="1"
                        RadiusY="1">
                    <Rectangle.Fill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FFF9FAFA" Offset="0" />
                            <GradientStop Color="#FFEDF1F4" Offset="0.37259" />
                            <GradientStop Color="#FFE2E8EF" Offset="0.372881" />
                            <GradientStop Color="#FFC3C9CD" Offset="1" />
                        </LinearGradientBrush>
                    </Rectangle.Fill>
                </Rectangle>
                <Rectangle Margin="0,1,1,0" Grid.ColumnSpan="5" Grid.RowSpan="2" Stretch="Fill"
                        Stroke="#FFFFFFFF" StrokeLineJoin="Round" StrokeThickness="1" />
                <Path Margin="3,3,3,0" Grid.ColumnSpan="5" Stretch="Fill"
                        Data="F1 M 523.135,337.329L 99.2482,337.329L 99.2482,346.75C 161.317,350.192 233.785,352.168 311.192,352.168C 388.598,352.168 461.067,350.192 523.135,346.75L 523.135,337.329 Z ">
                    <Path.Fill>
                        <LinearGradientBrush EndPoint="0.5125,1.00202"
                                StartPoint="0.5125,-0.0864589">
                            <GradientStop Color="#B3FFFFFF" Offset="0" />
                            <GradientStop Color="#3CFFFFFF" Offset="1" />
                        </LinearGradientBrush>
                    </Path.Fill>
                </Path>
                <RepeatButton x:Name="HorizontalSmallDecrease" Width="16" IsTabStop="False"
                        Template="{StaticResource HorizontalDecrementTemplate}" Grid.Column="0"
                        Grid.RowSpan="2" Interval="50" />
                <RepeatButton x:Name="HorizontalLargeDecrease" Width="0" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.Column="1"
                        Grid.RowSpan="2" Interval="50" />
                <Thumb MinWidth="10" x:Name="HorizontalThumb" Width="20"
                        Template="{StaticResource HorizontalThumbTemplate}" Grid.Column="2"
                        Grid.RowSpan="2" />
                <RepeatButton x:Name="HorizontalLargeIncrease" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.Column="3"
                        Grid.RowSpan="2" Interval="50" />
                <RepeatButton x:Name="HorizontalSmallIncrease" Width="16" IsTabStop="False"
                        Template="{StaticResource HorizontalIncrementTemplate}" Grid.Column="4"
                        Grid.RowSpan="2" Interval="50" />
            </Grid>
            <Grid x:Name="VerticalRoot" Visibility="Collapsed">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <RepeatButton Height="16" x:Name="VerticalSmallDecrease" IsTabStop="False"
                        Template="{StaticResource VerticalDecrementTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="0" Interval="50" />
                <RepeatButton Height="0" x:Name="VerticalLargeDecrease" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="1" Interval="50" />
                <Thumb Height="20" MinHeight="10" x:Name="VerticalThumb"
                        Template="{StaticResource VerticalThumbTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="2" Opacity="0" />
                <RepeatButton x:Name="VerticalLargeIncrease" IsTabStop="False"
                        Template="{StaticResource RepeatButtonTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="3" Interval="50" />
                <RepeatButton Height="16" x:Name="VerticalSmallIncrease" IsTabStop="False"
                        Template="{StaticResource VerticalIncrementTemplate}" Grid.ColumnSpan="2"
                        Grid.Row="4" Interval="50" />
            </Grid>
        </Grid>
    </ControlTemplate>

    <ControlTemplate x:Key="ScrollViewerTemplate" TargetType="ScrollViewer">
        <Border BorderBrush="{TemplateBinding BorderBrush}"
                BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1">
            <Grid Background="{TemplateBinding Background}">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <ScrollBar Cursor="Arrow" HorizontalAlignment="Center" x:Name="VerticalScrollBar"
                        Template="{StaticResource ScrollBarTemplate}" Width="30"
                        Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
                        Grid.Column="0" Grid.Row="0" Orientation="Vertical"
                        ViewportSize="{TemplateBinding ViewportHeight}"
                        Maximum="{TemplateBinding ScrollableHeight}" Minimum="0"
                        Value="{TemplateBinding VerticalOffset}" />
                <ScrollContentPresenter Cursor="{TemplateBinding Cursor}" Margin="0,18,0,18"
                        x:Name="ScrollContentPresenter" Grid.Column="0" Grid.Row="0"
                        Content="{TemplateBinding Content}"
                        ContentTemplate="{TemplateBinding ContentTemplate}" />
            </Grid>
        </Border>
    </ControlTemplate>

    <!--PlaylistPresenter-->
    <ControlTemplate x:Key="PlaylistPresenterTemplate" TargetType="player:PlaylistPresenter">
        <Grid Background="{TemplateBinding Background}">
            <ScrollViewer x:Name="PlaylistScrollViewer" Background="{TemplateBinding Background}"
                    Padding="{TemplateBinding Padding}"
                    Template="{StaticResource ScrollViewerTemplate}"
                    HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible"
                    BorderBrush="#00A4A4A4">
                <ContentPresenter Content="{TemplateBinding Content}"
                        ContentTemplate="{TemplateBinding ContentTemplate}" />
            </ScrollViewer>
        </Grid>
    </ControlTemplate>

    <!--MediaPlayer-->
    <Style TargetType="player:RadMediaPlayer">
        <Setter Property="FontSize" Value="10" />
        <Setter Property="Foreground" Value="#FF0A3F70" />
        <Setter Property="Volume" Value="0.5" />
        <Setter Property="Background" Value="#FF000000" />
        <Setter Property="EnableFullScreenIcon" Value="False" />
        <Setter Property="Padding" Value="1" />
        <Setter Property="PlaylistPresenterTemplate"
                Value="{StaticResource PlaylistPresenterTemplate}" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="player:RadMediaPlayer">
                    <Grid x:Name="LayoutRoot">
                        <Grid.Triggers>
                            <EventTrigger RoutedEvent="Grid.Loaded">
                                <BeginStoryboard>
                                    <Storyboard>
                                        <DoubleAnimation RepeatBehavior="Forever" From="0" To="360"
                                                Duration="0:0:0.6" Storyboard.TargetName="grid"
                                                Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" />
                                    </Storyboard>
                                </BeginStoryboard>
                            </EventTrigger>
                        </Grid.Triggers>

                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard Duration="0">
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="DisabledVisual"
                                                Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="ScreenStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="00:00:0.3" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="NormalScreen">
                                    <Storyboard />
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Fullscreen">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="PlaylistButton"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="rectangle"
                                                Storyboard.TargetProperty="(FrameworkElement.Width)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="20" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="rectangle1"
                                                Storyboard.TargetProperty="(FrameworkElement.Width)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="20" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="TopPart"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="rectangle2"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="rectangle3"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="rectangle4"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="20" />
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="border"
                                                Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="#00C1C6D6" />
                                        </ColorAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="TopPart"
                                                Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="VideoControlsStates">
                                <vsm:VisualState x:Name="VisibleVideoControls">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="GridVideoControls"
                                                Storyboard.TargetProperty="Opacity" To="1" />
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="HiddenVideoControls">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="GridVideoControls"
                                                Storyboard.TargetProperty="Opacity" To="0" />
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="PlaylistStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="00:00:00.5000000" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="HiddenPlaylist">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="Playlist"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="VisiblePlaylist">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="Playlist"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimation Duration="0:0:0.2"
                                                Storyboard.TargetName="Playlist"
                                                Storyboard.TargetProperty="Opacity" From="0" To="1" />
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="ChaptersPresenterStates">
                                <vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualTransition GeneratedDuration="00:00:00.5000000" />
                                </vsm:VisualStateGroup.Transitions>
                                <vsm:VisualState x:Name="HiddenChaptersPresenter">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="ChaptersPresenterContainer"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="VisibleChaptersPresenter">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                Storyboard.TargetName="ChaptersPresenterContainer"
                                                Storyboard.TargetProperty="(FrameworkElement.Height)">
                                            <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" />
                                            <SplineDoubleKeyFrame KeyTime="00:00:00.5000000"
                                                    Value="48" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="BufferingStates">
                                <vsm:VisualState x:Name="VisibleLoading">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="LoadingElement"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="HiddenLoading">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames
                                                Storyboard.TargetName="LoadingElement"
                                                Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>

                        <Grid Height="Auto" HorizontalAlignment="Stretch"
                                VerticalAlignment="Stretch" Width="Auto" ShowGridLines="False">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Rectangle Height="32" HorizontalAlignment="Stretch"
                                    VerticalAlignment="Stretch" Width="Auto" Grid.Row="0"
                                    Fill="#00FFFFFF" x:Name="rectangle2" />
                            <Border Grid.Row="1" BorderBrush="#FFC1C6D6" BorderThickness="1,0,1,0"
                                    Background="{TemplateBinding Background}" x:Name="border">
                                <Grid>
                                    <MediaElement x:Name="MediaElement"
                                            Margin="{TemplateBinding Padding}" AutoPlay="True"
                                            Volume="{TemplateBinding Volume}" />
                                    <Grid x:Name="LoadingElement" Visibility="Collapsed">
                                        <Rectangle Fill="Black" Opacity="0.7" />
                                        <Grid RenderTransformOrigin="0.5,0.5" x:Name="grid"
                                                Width="40" Height="40">
                                            <Grid.RenderTransform>
                                                <TransformGroup>
                                                    <ScaleTransform />
                                                    <SkewTransform />
                                                    <RotateTransform />
                                                    <TranslateTransform />
                                                </TransformGroup>
                                            </Grid.RenderTransform>
                                            <Ellipse Height="10" HorizontalAlignment="Stretch"
                                                    VerticalAlignment="Top" Opacity="1"
                                                    Fill="#FFFF0000" Width="10" />
                                            <Ellipse Height="10" HorizontalAlignment="Right"
                                                    VerticalAlignment="Top" Fill="#FFFF0000"
                                                    Width="10" Opacity="0.125" Margin="0,4,4,0" />
                                            <Ellipse HorizontalAlignment="Right"
                                                    VerticalAlignment="Stretch" Fill="#FFFF0000"
                                                    Width="10" Opacity="0.26" Height="10" />
                                            <Ellipse Height="10" HorizontalAlignment="Right"
                                                    VerticalAlignment="Bottom" Fill="#FFFFFFFF"
                                                    Width="10" Opacity="0.39" Margin="0,0,4,4" />
                                            <Ellipse Height="10" HorizontalAlignment="Stretch"
                                                    VerticalAlignment="Bottom" Fill="#FFFFFFFF"
                                                    Opacity="0.51" Width="10" />
                                            <Ellipse Height="10" HorizontalAlignment="Left"
                                                    VerticalAlignment="Bottom" Fill="#FFFFFFFF"
                                                    Opacity="0.63" Width="10" Margin="4,0,0,4" />
                                            <Ellipse HorizontalAlignment="Left"
                                                    VerticalAlignment="Stretch" Fill="#FFFFFFFF"
                                                    Opacity="0.75" Width="10" Height="10" />
                                            <Ellipse Height="10" HorizontalAlignment="Left"
                                                    VerticalAlignment="Top" Fill="#FFFFFFFF"
                                                    Opacity="0.88" Width="10" Margin="4,4,0,0" />
                                        </Grid>
                                    </Grid>
                                </Grid>
                            </Border>
                            <Rectangle Height="48" VerticalAlignment="Stretch" Width="Auto"
                                    Grid.Row="2" Fill="#00FFFFFF" x:Name="rectangle3" />
                        </Grid>
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>

                            <Rectangle Fill="Transparent" Grid.Column="0" Width="0"
                                    x:Name="rectangle" Grid.RowSpan="1" />

                            <!--Normal-->
                            <Grid x:Name="NormalScreenControlTemplate" Grid.Column="1"
                                    Grid.RowSpan="1">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="*" />
                                    <RowDefinition Height="47" />
                                </Grid.RowDefinitions>

                                <!--TopPart-->
                                <Grid x:Name="TopPart" Height="32" RenderTransformOrigin="0.5,0">
                                    <Border CornerRadius="8,8,0,0"
                                            Background="{StaticResource TopPartBackground}"
                                            BorderBrush="{StaticResource TopPartBorder}"
                                            BorderThickness="1">
                                        <Grid>
                                            <TextBlock
												FontSize="{TemplateBinding FontSize}"
												FontFamily="{TemplateBinding FontFamily}"
												Foreground="{TemplateBinding Foreground}"
												HorizontalAlignment="Left" Margin="13,0,0,0"
												VerticalAlignment="Center"
												Text="{TemplateBinding Title}">
												<ToolTipService.ToolTip>
													<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipTitle" />
												</ToolTipService.ToolTip>
											</TextBlock>
											<StackPanel HorizontalAlignment="Right" Width="Auto"
                                                    Orientation="Horizontal" Margin="0,0,13,0">
                                                <!-- Text="{TemplateBinding MediaElementCurrentTime}" -->
                                                <TextBlock
                                                        Text="{TemplateBinding MediaElementCurrentTime}"
                                                        FontFamily="{TemplateBinding FontFamily}"
                                                        TextWrapping="NoWrap"
                                                        FontSize="{TemplateBinding FontSize}"
                                                        Foreground="{TemplateBinding Foreground}"
                                                        VerticalAlignment="Center" Padding="0,0,2,0" />
                                                <TextBlock Text="/" TextWrapping="NoWrap"
                                                        FontFamily="{TemplateBinding FontFamily}"
                                                        FontSize="{TemplateBinding FontSize}"
                                                        Foreground="{TemplateBinding Foreground}"
                                                        VerticalAlignment="Center"
														telerik:LocalizationManager.ResourceKey="MediaPlayerTimeStatusSeparator" />
                                                <!-- Text="{TemplateBinding MediaElementTotalTime}"  -->
                                                <TextBlock
                                                        Text="{TemplateBinding MediaElementTotalTime}"
                                                        TextWrapping="NoWrap"
                                                        FontFamily="{TemplateBinding FontFamily}"
                                                        FontSize="{TemplateBinding FontSize}"
                                                        Foreground="{TemplateBinding Foreground}"
                                                        VerticalAlignment="Center" Margin="2,0,0,0" />
                                            </StackPanel>
                                        </Grid>
                                    </Border>
                                </Grid>

                                <!--MiddlePart-->
                                <Grid x:Name="MiddlePart" Grid.Row="1" Margin="2,0,2,0">
                                    <Grid VerticalAlignment="Bottom">
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="Auto" />
                                            <RowDefinition Height="Auto" />
                                        </Grid.RowDefinitions>
                                        <TextBlock Text="{TemplateBinding ChapterTitle}"
                                                Foreground="{StaticResource MiddlePartTextForeground}"
                                                HorizontalAlignment="Center"
                                                FontSize="{TemplateBinding FontSize}"
                                                FontFamily="{TemplateBinding FontFamily}" />
                                        <Border x:Name="ChaptersPresenterContainer"
                                                BorderBrush="{StaticResource MiddlePartBorderOut}"
                                                Height="0" Grid.Row="1" Margin="-2,0,-2,0">
                                            <Border.RenderTransform>
                                                <TransformGroup>
                                                    <ScaleTransform />
                                                    <SkewTransform />
                                                    <RotateTransform />
                                                    <TranslateTransform />
                                                </TransformGroup>
                                            </Border.RenderTransform>
                                            <Grid>
                                                <Border
                                                        Background="{StaticResource MiddlePartBackgroundInner}"
                                                        BorderBrush="{StaticResource MiddlePartBorderInner}"
                                                        BorderThickness="1,0,0,0" />
                                                <Grid x:Name="ChaptersPresenter" Margin="13,0,13,0" />
                                            </Grid>
                                        </Border>
                                    </Grid>

                                    <!--Playlist-->
                                    <player:PlaylistPresenter
                                            Template="{TemplateBinding PlaylistPresenterTemplate}"
                                            Background="{TemplateBinding Background}"
                                            x:Name="Playlist" Padding="0,20,0,20">
                                        <ItemsPresenter />
                                    </player:PlaylistPresenter>
                                </Grid>

                                <!--BottomPart-->
                                <Grid Grid.Row="2" x:Name="GridVideoControls">
                                    <!--Background-->
                                    <Border x:Name="border1"
                                            BorderBrush="{StaticResource ButtonPartBorderOut}"
                                            BorderThickness="1,0,1,1" CornerRadius="0,0,8,8"
                                            Grid.Row="2" Margin="0" />
                                    <Border x:Name="border2"
                                            Background="{StaticResource ButtonPartBackgroundInner}"
                                            Margin="0,13,0,0"
                                            BorderBrush="{StaticResource ButtonPartBorderInner}"
                                            BorderThickness="1,1,1,1" CornerRadius="0,0,8,8"
                                            Grid.Row="2">
                                        <Border Height="Auto" Width="Auto" CornerRadius="0,0,7,7"
                                                Background="{StaticResource BottomButtonPartBackground}"
                                                BorderBrush="{StaticResource BottomButtonPartBorder}"
                                                BorderThickness="1,0,1,1" />
                                    </Border>

                                    <!--BottomPart-->
                                    <StackPanel x:Name="BottomPart" Grid.Row="2"
                                            VerticalAlignment="Top" HorizontalAlignment="Stretch"
                                            Background="Transparent">
                                        <!--CurrentTime, TotalTime, Slider and Progress Indicators-->
                                        <Grid Height="13" Width="Auto" Margin="1,0,1,0">
                                            <Border Grid.Column="1"
                                                    Background="{StaticResource SliderBackground}"
                                                    BorderBrush="{StaticResource SliderBorder}"
                                                    BorderThickness="0,1,0,1" Height="13" Margin="0"
                                                    VerticalAlignment="Top" />

                                            <telerik:RadProgressBar HorizontalAlignment="Stretch"
                                                    Maximum="1" VerticalAlignment="Stretch"
                                                    Template="{StaticResource TimeProgressBarTemplate}"
                                                    Margin="0" x:Name="DownloadProgress"
                                                    Height="Auto" />
                                            <!-- Maximum="{TemplateBinding MediaElementTotalSeconds}" -->
                                            <telerik:RadSlider x:Name="TimeSlider"
                                                    Maximum="{TemplateBinding MediaElementTotalSeconds}"
                                                    TickPlacement="TopLeft" VerticalAlignment="Top"
                                                    Grid.Column="1"
                                                    Style="{StaticResource TimeSliderStyle}"
                                                    Height="11" Margin="0,1,0,0"
                                                    IsMoveToPointEnabled="True" TickFrequency="0" />
                                        </Grid>
                                        <!--Buttons and Sliders for controling video playback-->
                                        <Grid x:Name="VideoControls" Width="Auto" Height="34">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="40" />
                                                <ColumnDefinition />
                                                <ColumnDefinition Width="40" />
                                            </Grid.ColumnDefinitions>

                                            <!--Playlist Button-->
                                            <Button x:Name="PlaylistButton"
                                                    Template="{StaticResource ContentOnlyButton}"
                                                    Height="34" FontSize="10" Margin="3,0,0,0">
                                                <Path
                                                        Data="M5,8 L14,8 L14,10 L5,10 L5,8 z M0,8 L2,8 L2,10 L0,10 L0,8 z M5,4 L14,4 L14,6 L5,6 L5,4 z M0,4 L2,4 L2,6 L0,6 L0,4 z M5,0 L14,0 L14,2 L5,2 L5,0 z M0,0 L2,0 L2,2 L0,2 L0,0 z"
                                                        Fill="{StaticResource FullscreenButtonStroke}"
                                                        Width="14" HorizontalAlignment="Left"
                                                        Height="10" Margin="10,0,0,0"
                                                        VerticalAlignment="Center" />
												<ToolTipService.ToolTip>
													<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipPlaylist" />
												</ToolTipService.ToolTip>
                                            </Button>

                                            <StackPanel Grid.Column="1" Orientation="Horizontal"
                                                    HorizontalAlignment="Center" Margin="0,1,0,0"
                                                    Height="33" VerticalAlignment="Top">
                                                <Button x:Name="StopButton" Width="50"
                                                        Template="{StaticResource ButtonTemplate}"
                                                        Margin="0,0,0,2">
                                                    <Rectangle Stretch="Fill" Height="12" Width="12"
                                                            Stroke="{StaticResource PlaylistButtonStroke}"
                                                            Fill="{StaticResource PlaylistButtonFill}" />
													<ToolTipService.ToolTip>
														<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipStop" />
													</ToolTipService.ToolTip>
                                                </Button>
                                                <Button x:Name="PreviousChapterButton" Width="50"
                                                        Template="{StaticResource ButtonTemplate}"
                                                        Margin="0,0,0,2">
                                                    <Path Stretch="Fill"
                                                            Data="F1 M 370.596,800.751L 367.601,800.751L 367.601,788.751L 370.596,788.751L 370.596,800.751 Z M 384.985,800.751L 372.985,794.773L 384.985,788.751L 384.985,800.751 Z "
                                                            Height="12" Width="18"
                                                            Stroke="{StaticResource PlaylistButtonStroke}"
                                                            Fill="{StaticResource PlaylistButtonFill}" />
													<ToolTipService.ToolTip>
														<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipPreviousChapter" />
													</ToolTipService.ToolTip>
												</Button>
                                                <ToggleButton x:Name="PlayButton" Width="50"
                                                        Template="{StaticResource PlayButtonTemplate}"
                                                        Margin="0,0,0,2" >
													<ToolTipService.ToolTip>
														<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipPlay" />
													</ToolTipService.ToolTip>
												</ToggleButton>
												<Button x:Name="NextChapterButton" IsEnabled="False"
                                                        Width="45"
                                                        Template="{StaticResource ButtonTemplate}"
                                                        Margin="0,0,0,2">
                                                    <Path Stretch="Fill"
                                                            Data="F1 M 524.046,788.75L 527.042,788.75L 527.042,800.75L 524.046,800.75L 524.046,788.75 Z M 509.657,788.75L 521.657,794.728L 509.657,800.75L 509.657,788.75 Z "
                                                            Height="12" Width="18"
                                                            Stroke="{StaticResource PlaylistButtonStroke}"
                                                            Fill="{StaticResource PlaylistButtonFill}" />
													<ToolTipService.ToolTip>
														<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipNextChapter" />
													</ToolTipService.ToolTip>
                                                </Button>
                                                <ToggleButton x:Name="MuteButton"
                                                        Template="{StaticResource MuteButtonTemplate}"
                                                        Width="45" Margin="0,0,0,2">
													<ToolTipService.ToolTip>
														<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipMute" />
													</ToolTipService.ToolTip>
												</ToggleButton>
                                                <telerik:RadSlider x:Name="VolumeSlider"
                                                        Value="{TemplateBinding Volume}" Minimum="0"
                                                        Maximum="1" LargeChange="0.1"
                                                        SmallChange="0.1" Margin="1,0,0,0"
                                                        Width="75"
                                                        Style="{StaticResource VolumeSliderStyle}"
                                                        VerticalAlignment="Center"
                                                        IsMoveToPointEnabled="True">
													<ToolTipService.ToolTip>
														<ToolTip telerik:LocalizationManager.ResourceKey="MediaPlayerTooltipVolume" />
													</ToolTipService.ToolTip>
												</telerik:RadSlider>
											</StackPanel>

                                            <Button x:Name="FullscreenButton"
                                                    Template="{StaticResource ContentOnlyButton}"
                                                    Height="34" Grid.Column="2" FontSize="10"
                                                    Width="60" HorizontalAlignment="Right">
                                                <Path Height="12" HorizontalAlignment="Right"
                                                        Margin="0,0,10,0" VerticalAlignment="Center"
                                                        Width="18" Grid.Column="1"
                                                        Data="M2.5000093,2.4999971 L15.50001,2.4999971 L15.50001,9.4999971 L2.5000093,9.4999971 z M0.50095117,2.7916696 L0.50095117,0.50000006 L3.6091325,0.50000006 M3.6091325,11.5 L0.50000006,11.5 L0.50000006,9.2083302 M14.391847,0.50000006 L17.5,0.50000006 L17.5,2.7916696 M17.5,9.2083302 L17.5,11.5 L14.391847,11.5"
                                                        Stretch="Fill"
                                                        Stroke="{StaticResource FullscreenButtonStroke}"
                                                        StrokeLineJoin="Round" />
                                            </Button>
                                        </Grid>
                                    </StackPanel>
                                </Grid>
                            </Grid>

                            <Rectangle Fill="Transparent" Grid.Column="2" Width="0"
                                    x:Name="rectangle1" Grid.RowSpan="1" />
                            <Rectangle Fill="Transparent" Grid.Row="1" Height="0"
                                    x:Name="rectangle4" />
                        </Grid>
                        <Rectangle Fill="{StaticResource DisabledBrush}" RadiusX="8" RadiusY="8"
                                x:Name="DisabledVisual" Visibility="Collapsed" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
	<?BODY END?>	
</ResourceDictionary>
