<UserControl x:Class="MainShell.ParaSetting.View.ProductHeightMeasureProcessParameterView"
             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:mw="http://www.maxwell-gp.com/"
             mc:Ignorable="d"
             d:DesignHeight="180" d:DesignWidth="800">
    <Grid Margin="4" HorizontalAlignment="Stretch">
        <StackPanel>
            <GroupBox Header="{DynamicResource ProcessControlGroup}" Style="{StaticResource ProcessWideCardGroupBoxStyle}">
                <StackPanel>
                    <WrapPanel>
                    <ToggleButton Style="{StaticResource ProcessToggleStyle}" Content="{DynamicResource EnableProductHeightMeasureFlow}" IsChecked="{Binding Parameter.EnableProcess}"/>
                    <ToggleButton Style="{StaticResource ProcessToggleStyle}" Content="{DynamicResource UseHeightOffset}" IsChecked="{Binding Parameter.UseHeightOffset}"/>
                    </WrapPanel>
                    <Border Style="{StaticResource ProcessDividerStyle}"/>
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="220"/>
                            <ColumnDefinition Width="260"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Label Grid.Column="0" Style="{StaticResource ProcessLabelStyle}" Content="{DynamicResource HeightMeasureLimit}"/>
                        <mw:NumberBox Grid.Column="1" Style="{StaticResource ProcessLargeNumberBoxStyle}" Value="{Binding Parameter.HeightMeasureLimit}" DecimalPlaces="4" mw:NumericKeypadAttach.IsEnabled="True" ShowUpDownButton="True" Maximum="1" Minimum="0" Increment="0.01"/>
                        <TextBlock Grid.Column="2" Style="{StaticResource ProcessUnitTextStyle}" Text="mm"/>
                    </Grid>
                </StackPanel>
            </GroupBox>
        </StackPanel>
    </Grid>
</UserControl>