<UserControl x:Class="MultiLayout.UcMultiGage"
             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:MultiLayout"
             mc:Ignorable="d" 
             d:DesignHeight="768" d:DesignWidth="1024" >
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Themes/Dictionary_MyStyle.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Converter/Dictionary_MyConv.xaml"/>
            </ResourceDictionary.MergedDictionaries>
            <local:UcMultiGageVmUt x:Key="viewModel" GageTag="机尾" IsErrMsgVisable ="True"/>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid d:DataContext="{StaticResource viewModel}">
        <Frame Name="frame" NavigationUIVisibility="Hidden"/>
        <Border Background="#FF2C3C5A" CornerRadius="0 0 10 10" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="100,0,0,0"
                Visibility="{Binding IsGageTagVisible,Converter={StaticResource visbilityconv}}">
            <TextBlock Text="{Binding GageTag}" FontWeight="Bold" FontFamily="YouYuan" FontSize="25" 
                       Padding="50,10"
                       Foreground="White" />
        </Border>
        
    </Grid>
</UserControl>
