Files

37 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

<UserControl x:Class="MainShell.AlgorithmCalib.View.FusionCalibView"
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:MainShell.AlgorithmCalib.View"
xmlns:mw="http://www.maxwell-gp.com/"
mc:Ignorable="d"
Unloaded="{mw:Action viewUnLoad}"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="36"/>
<RowDefinition/>
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="#F5F5F5" BorderBrush="#DDD" BorderThickness="0,0,0,1">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Text="当前标定:" VerticalAlignment="Center" FontSize="14"/>
<TextBlock Text="{Binding CurrentCameraName}" VerticalAlignment="Center"
FontSize="14" FontWeight="Bold" Margin="0,0,16,0"/>
<TextBlock Text="{Binding ProgressText}" VerticalAlignment="Center"
FontSize="13" Foreground="#888"/>
</StackPanel>
</Border>
<ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<ContentControl mw:View.Model="{Binding ShowScreenVM}"/>
</ScrollViewer>
<Border Grid.Row="2">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="上一个" Margin="5,2" Command="{Binding PrevCommand}" IsEnabled="{Binding IsEnablePrev}"/>
<Button Content="下一个" Margin="5,2" Command="{Binding NextCommand}" IsEnabled="{Binding IsEnableNext}"/>
</StackPanel>
</Border>
</Grid>
</UserControl>