32 lines
1.6 KiB
XML
32 lines
1.6 KiB
XML
<UserControl x:Class="PLCSharp.VVMs.Vision.VisionFlowHandler.Processing.ImageFlip"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:PLCSharp.VVMs.Vision.VisionFlowHandler"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:vision="clr-namespace:PLCSharp.VVMs.Vision"
|
|
mc:Ignorable="d"
|
|
d:DataContext="{d:DesignInstance Type=vision:VisionConfigViewModel}"
|
|
d:DesignHeight="200" d:DesignWidth="300">
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
<StackPanel>
|
|
<GroupBox Header="翻转方向">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="80" />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Text="方向" VerticalAlignment="Center" />
|
|
<ComboBox Grid.Column="1" SelectedIndex="{Binding SelectVisionFlow.IntParams[FlipDirection], Mode=TwoWay}">
|
|
<ComboBoxItem Content="水平翻转(左右)" />
|
|
<ComboBoxItem Content="垂直翻转(上下)" />
|
|
</ComboBox>
|
|
</Grid>
|
|
</GroupBox>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</UserControl>
|