<UserControl x:Class="EquipmentControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:御魂方案录制宏桌面版"
             mc:Ignorable="d" 
             Height="80" Width="80">
    <Grid>
        <Grid.ToolTip>
            <ToolTip>
                <local:EquipmentFlyout x:Name="TipMoreInfo"/>
            </ToolTip>
        </Grid.ToolTip>
        <Border BorderThickness="2">
            <Border.BorderBrush>
                <LinearGradientBrush EndPoint="1,0">
                    <GradientStop Color="#FFEC6C33"/>
                    <GradientStop Color="#FFF3873F" Offset="0.5"/>
                    <GradientStop Color="#FFEC6C33" Offset="1"/>
                </LinearGradientBrush>
            </Border.BorderBrush>
        </Border>
        <local:CachedJadeControlArray VerticalAlignment="Bottom" HorizontalAlignment="Center"
                                      x:Name="ArrJades" JadeCount="6"/>
        <local:EquipmentIcon x:Name="TxtInfo" Height="52" Width="52"/>
        <TextBlock x:Name="TblLock" HorizontalAlignment="Right"
                   VerticalAlignment="Top" Background="Black"
                   Foreground="WhiteSmoke" Margin="0,1,3,0"
                   Visibility="Collapsed" Padding="2">锁</TextBlock>
        <Border HorizontalAlignment="Left"
                VerticalAlignment="Top" Margin="2,0,0,0">
            <Border.Background>
                <LinearGradientBrush StartPoint="1,0">
                    <GradientStop Color="Gray" Offset="0"/>
                    <GradientStop Color="Black" Offset="0.2"/>
                    <GradientStop Color="Black" Offset="0.8"/>
                    <GradientStop Color="Gray" Offset="1"/>
                </LinearGradientBrush>
            </Border.Background>
            <TextBlock Foreground="WhiteSmoke" Margin="3,0">
                +<Run x:Name="RunLevel" Text="0"/>
            </TextBlock>
        </Border>
    </Grid>
</UserControl>
