71 lines
3.5 KiB
XML
71 lines
3.5 KiB
XML
<UserControl x:Class="ProductionUiCordonelLegacy.ctls.ctlMultiModePicking"
|
|
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"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="450" d:DesignWidth="800">
|
|
<Grid>
|
|
<StackPanel Background="BlueViolet" >
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="30"/>
|
|
<RowDefinition Height="30"/>
|
|
<RowDefinition Height="30"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="20*"/>
|
|
<ColumnDefinition Width="80*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Label Content="Picking Tool" Height="30" Grid.Row="0" Grid.ColumnSpan="2"></Label>
|
|
<Label Content="Order" Height="80" Grid.Row="1" Grid.Column="0"></Label>
|
|
<Label Name="lblPickingOrder" Height="80" Grid.Row="1" Grid.Column="1"></Label>
|
|
<Label Name="lblStatus" Height="80" Grid.Row="2" Grid.ColumnSpan="2"></Label>
|
|
</Grid>
|
|
<DockPanel>
|
|
|
|
<ItemsControl Name="icPicking" ItemsSource="{Binding Data}">
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
<Border BorderBrush="Black" Background="{Binding ResultColor}" BorderThickness="1" Margin="2">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Label Content="{Binding Ident}" Grid.Row="0" Grid.Column="0"/>
|
|
<Label Content="{Binding CheckText}" Grid.Row="0" Grid.Column="1"/>
|
|
<Label Content="{Binding CurrentValueText}" Grid.Row="0" Grid.Column="2"/>
|
|
<Label Content="{Binding Result}" Grid.Row="0" Grid.Column="3"/>
|
|
</Grid>
|
|
</Border>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
|
|
<ItemsControl.Template>
|
|
<ControlTemplate TargetType="ItemsControl">
|
|
<ScrollViewer CanContentScroll="True">
|
|
<ItemsPresenter/>
|
|
</ScrollViewer>
|
|
</ControlTemplate>
|
|
</ItemsControl.Template>
|
|
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<VirtualizingStackPanel/>
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
</ItemsControl>
|
|
</DockPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</UserControl>
|