<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?>
    <Style TargetType="player:RadMediaItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="player:RadMediaItem">
                    <Grid Height="72" x:Name="LayoutRoot" Margin="0,5,0,5">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard >
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="over_state" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Visible" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard >
                                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="over_state" Storyboard.TargetProperty="(UIElement.Visibility)">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Visible" />
                                        </ObjectAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="over_state" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFFFFFF"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="over_state" Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
                                            <SplineColorKeyFrame KeyTime="00:00:00" Value="#FFC2CED9"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard Duration="0">
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisual" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Grid Margin="0,0,0,0">
                            <ItemsPresenter Opacity="0" Width="Auto" HorizontalAlignment="Stretch" />
                            <Path Stroke="#FFC3CFDA" Height="1" HorizontalAlignment="Stretch" VerticalAlignment="Top" Data="M52.140125,81.934479 L669.62531,81.934479" Stretch="Fill" Margin="3,0,3,0" />
                            <Path Stroke="#FFC3CFDA" Height="1" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Data="M52.140125,81.934479 L669.62531,81.934479" Stretch="Fill" Margin="3,0,3,0" />
                            <Border BorderBrush="#FFC2CED9" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" BorderThickness="1,1,1,1" CornerRadius="3,3,3,3" x:Name="over_state" Visibility="Collapsed">
                                <Border.Background>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#00FFFFFF"/>
                                        <GradientStop Color="#00C2CED9" Offset="1"/>
                                    </LinearGradientBrush>
                                </Border.Background>
                            </Border>

                            <Border Width="100" CornerRadius="0" 
									Background="{StaticResource BackroundImage}"
									HorizontalAlignment="Left" Margin="5,5,0,5"
									BorderThickness="3">
                                <Image Source="{TemplateBinding ImageSource}" />
                            </Border>

                            <Grid Margin="135,10,5,10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                </Grid.RowDefinitions>

                                <!--Title TextBlock-->
                                <TextBlock TextWrapping="Wrap" FontFamily="Verdana"
										Text="{TemplateBinding Title}"
										VerticalAlignment="Stretch"
										Foreground="{StaticResource TitleTextBlock}"
										FontSize="14" />

                                <!--Description TextBlock-->
                                <TextBlock Grid.Row="1" TextWrapping="Wrap" Margin="0,7,0,0"
										FontFamily="Verdana"
										Text="{TemplateBinding Description}"
										VerticalAlignment="Stretch" FontSize="12"
										Foreground="{StaticResource DescriptionTextBlock}" />
                            </Grid>

                            <Button x:Name="PlayButton" Opacity="0" />
                        </Grid>
                        <Rectangle x:Name="DisabledVisual" Fill="{StaticResource DisabledBrush}" RadiusX="6" RadiusY="6"
								Height="72" Visibility="Collapsed"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <?BODY END?>
</ResourceDictionary>