Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2484 | - | 1 | <UserControl x:Class="Touchless.Vision.Camera.Configuration.CameraFrameSourceConfigurationElement" |
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||
4 | Width="550" Height="260"> |
||
5 | <GroupBox Header="Camera Settings"> |
||
6 | <StackPanel Orientation="Horizontal"> |
||
7 | <StackPanel Orientation="Vertical" Width="200"> |
||
8 | <ComboBox x:Name="comboBoxCameras" SelectionChanged="comboBoxCameras_SelectionChanged" /> |
||
9 | <StackPanel x:Name="panelCameraInfo" Orientation="Vertical" MinWidth="180" DataContext="{Binding SelectedItem, ElementName=comboBoxCameras, Mode=Default}"> |
||
10 | <Button Click="buttonCameraProperties_Click" x:Name="buttonCameraProperties" Content="Adjust Camera Properties" Margin="0,10,0,10" /> |
||
11 | <CheckBox Content="Flip Image Horizontally" IsChecked="{Binding FlipHorizontal, Mode=TwoWay}" /> |
||
12 | <CheckBox Content="Flip Image Vertically" IsChecked="{Binding FlipVertical, Mode=TwoWay}" /> |
||
13 | <StackPanel Orientation="Horizontal" Margin="0,10,0,10"> |
||
14 | <Label VerticalAlignment="Center" Margin="-1">Current Frames Per Second:</Label> |
||
15 | <Label x:Name="labelCameraFPSValue" Content="{Binding Fps, Mode=Default}" Margin="3,0,0,0" Width="40" HorizontalContentAlignment="Right"></Label> |
||
16 | </StackPanel> |
||
17 | <StackPanel Orientation="Horizontal"> |
||
18 | <CheckBox x:Name="chkLimitFps" Content="Limit Frames Per Second:" VerticalAlignment="Center" Checked="chkLimitFps_Checked" Unchecked="chkLimitFps_Unchecked" /> |
||
19 | <TextBox x:Name="txtLimitFps" Margin="10,0,0,0" Text="-1" Width="40" VerticalAlignment="Center" MaxLines="1" HorizontalContentAlignment="Right" IsEnabled="False" TextChanged="txtLimitFps_TextChanged" /> |
||
20 | </StackPanel> |
||
21 | </StackPanel> |
||
22 | </StackPanel> |
||
23 | <Image x:Name="imgPreview" Width="320" Height="240" Margin="10,0,10,0" Stretch="Fill" VerticalAlignment="Top" /> |
||
24 | </StackPanel> |
||
25 | </GroupBox> |
||
26 | </UserControl> |