<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/Styles.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/FLY.ControlLibrary;component/Converter/Converters.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="{StaticResource Brushes.Text.Activity}" 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="{StaticResource Brushes.Text.White}" />
        </Border>
        
    </Grid>
</UserControl>
