laatzen/Common/Ui/Common.UI/Pages/ManualProgramming.xaml
2025-04-28 10:10:33 +02:00

45 lines
1.8 KiB
XML

<Page x:Class="Common.UI.Pages.ManualProgramming"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
DataContext="{Binding ManualProgrammingVM, Source={StaticResource VMLocator}}"
FontFamily="Consolas"
FontSize="13">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<StackPanel Background="LightGray"
Grid.Column="0"
Grid.ColumnSpan="2"
Grid.Row="0"
Orientation="Horizontal">
<Button Background="WhiteSmoke"
Command="{Binding ActivateSIRTS}"
Content="Activate SIRT's"
Cursor="Hand"
Margin="5"
Padding="20 5"/>
<ItemsControl ItemsSource="{Binding Logging}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Label Content="{Binding}"
FontWeight="Bold"
Margin="5"
Padding="20 5" />
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</Grid>
</Page>