<UserControl x:Class="CustomControls.RequiredLabel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2006" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d"
    Height="auto" Width="auto">
    <UserControl.Resources>
        <Style x:Key="StarStyle" BasedOn="{x:Null}" TargetType="{x:Type Button}">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <ControlTemplate.Resources>
                            <Storyboard x:Key="StarMouseOver">
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon1">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon1">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon2">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon2">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon3">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon3">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon4">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon4">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon5">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon5">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon6">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon6">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon7">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon7">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon8" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon8" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon9">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon9">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon10">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon10">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon11">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon11">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon12">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon12">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon13">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon13">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon14">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon14">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon15">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon15">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                                    <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                    <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="179.917"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                            <Storyboard x:Key="StarMouseOut">
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon1">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon1">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon2">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon2">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon3">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon3">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon4">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon4">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon5">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon5">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon6">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon6">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon7">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon7">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF00FF00"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF808080"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon8" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="polygon8" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon9">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon9">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon10">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon10">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon11">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon11">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon12">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon12">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon13">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon13">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon14">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon14">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="polygon15">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" Storyboard.TargetName="polygon15">
                                    <SplineColorKeyFrame KeyTime="00:00:00" Value="#FF808080"/>
                                    <SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF00FF00"/>
                                </ColorAnimationUsingKeyFrames>
                                <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                                    <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                    <SplineDoubleKeyFrame KeyTime="00:00:00.3000000" Value="-180.151"/>
                                </DoubleAnimationUsingKeyFrames>
                            </Storyboard>
                        </ControlTemplate.Resources>
                        <Grid>
                            <Canvas x:Name="LayoutRoot" RenderTransformOrigin="0.5,0.5">
                                <Canvas.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform ScaleX="1" ScaleY="1"/>
                                        <SkewTransform AngleX="0" AngleY="0"/>
                                        <RotateTransform Angle="0"/>
                                        <TranslateTransform X="0" Y="0"/>
                                    </TransformGroup>
                                </Canvas.RenderTransform>
                                <Ellipse Width="16" Height="16" Fill="Transparent" Stroke="#FF000000" RenderTransformOrigin="0.5,0.5" x:Name="ellipse">
                                    <Ellipse.RenderTransform>
                                        <TransformGroup>
                                            <ScaleTransform ScaleX="1" ScaleY="1"/>
                                            <SkewTransform AngleX="0" AngleY="0"/>
                                            <RotateTransform Angle="0"/>
                                            <TranslateTransform X="0" Y="0"/>
                                        </TransformGroup>
                                    </Ellipse.RenderTransform>
                                </Ellipse>

                                <Polygon Points="0,8 8,8 4.8,9.2" Stroke="Gray" Fill="Gray" x:Name="polygon"/>
                                <Polygon Points="0,8 4.8,6.8 8,8" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon8"/>
                                <Polygon Points="4.8,6.8 4.8,4.8 8,8" Stroke="Gray" Fill="Gray" x:Name="polygon1"/>
                                <Polygon Points="4.8,4.8 6.8,4.8 8,8" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon9"/>
                                <Polygon Points="6.8,4.8 8,0 8,8" Stroke="Gray" Fill="Gray" x:Name="polygon2"/>
                                <Polygon Points="8,0 9.2,4.8 8,8" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon10"/>
                                <Polygon Points="8,8 9.2,4.8 11.2,4.8" Stroke="Gray" Fill="Gray" x:Name="polygon3"/>
                                <Polygon Points="8,8 11.2,4.8 11.2,6.8" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon11"/>
                                <Polygon Points="8,8 11.2,6.8 16,8" Stroke="Gray" Fill="Gray" x:Name="polygon4"/>
                                <Polygon Points="8,8 16,8 11.2,9.2" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon12"/>
                                <Polygon Points="8,8 11.2,9.2 11.2,11.2" Stroke="Gray" Fill="Gray" x:Name="polygon5"/>
                                <Polygon Points="8,8 11.2,11.2 9.2,11.2" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon13"/>
                                <Polygon Points="8,8 9.2,11.2 8,16" Stroke="Gray" Fill="Gray" x:Name="polygon6"/>
                                <Polygon Points="8,8 8,16 6.8,11.2" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon14"/>
                                <Polygon Points="4.8,11.2 8,8 6.8,11.2" Stroke="Gray" Fill="Gray" x:Name="polygon7"/>
                                <Polygon Points="4.8,11.2 4.8,9.2 8,8" Stroke="#00FF00" Fill="#00FF00" x:Name="polygon15"/>
                            </Canvas>
                            <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsFocused" Value="True"/>
                            <Trigger Property="IsDefaulted" Value="True"/>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Trigger.ExitActions>
                                    <BeginStoryboard Storyboard="{StaticResource StarMouseOut}" x:Name="StarMouseOut_BeginStoryboard"/>
                                </Trigger.ExitActions>
                                <Trigger.EnterActions>
                                    <BeginStoryboard Storyboard="{StaticResource StarMouseOver}" x:Name="StarMouseOver_BeginStoryboard"/>
                                </Trigger.EnterActions>
                            </Trigger>
                            <Trigger Property="IsPressed" Value="True"/>
                            <Trigger Property="IsEnabled" Value="False"/>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </UserControl.Resources>
    <Label Name="lblMain">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" Name="txtBlock"></TextBlock>
            <Button Grid.Column="1" Style="{DynamicResource StarStyle}" Margin="5,0,0,0" Width="16" Height="16" ToolTip="Required"/>
        </Grid>
    </Label>
</UserControl>
