<UserControl
    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/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:local="clr-namespace:ForzaUI" 
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    x:Class="ForzaUI.HUDEliminatorCarGradeControl"
    HorizontalAlignment="Right"
    VerticalAlignment="Top"
    x:Name="UserControl">

    <UserControl.Resources>
        <ResourceDictionary>
           
        </ResourceDictionary>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot">

        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="VisualStateGroup">
                <VisualStateGroup.Transitions>
                    <VisualTransition GeneratedDuration="0:0:0.0"/>
                </VisualStateGroup.Transitions>
                <VisualState x:Name="Hidden">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="LayoutRoot">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Collapsed}"/>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
                <VisualState x:Name="Shown"/>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
        
        <StackPanel VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,1,0,20">
            <local:FZTextBlock Text="{Binding TopString, Converter={StaticResource A_StringToUpper}}" HorizontalAlignment="Right" Style="{StaticResource A_Style_FZTextBlock_HudMediumLarge_Tight}"/>
            <Control Style="{StaticResource A_Style_Control_EliminatorCar_GradeAlignedRight}" DataContext="{Binding EliminatorCarInfo}" Margin="0,10,0,0"/>
        </StackPanel>
    </Grid>
</UserControl>