49 lines
2.8 KiB
XML
49 lines
2.8 KiB
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:vm="clr-namespace:PLG_Exam.ViewModels"
|
|
x:DataType="vm:ExportOptionsViewModel"
|
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
|
Width="350" Height="350"
|
|
MinWidth="350" MinHeight="350" MaxHeight="350" MaxWidth="350"
|
|
x:Class="PLG_Exam.ExportOptions"
|
|
Title="Klausur abgeben">
|
|
<ScrollViewer>
|
|
<StackPanel Margin="20" Spacing="20">
|
|
|
|
<Grid ColumnDefinitions="*,Auto" VerticalAlignment="Center">
|
|
<TextBlock Text="Korrekturlinien" VerticalAlignment="Center" Grid.Column="0" />
|
|
<ToggleSwitch IsChecked="{Binding HasCorrectionLines}" VerticalAlignment="Center" Grid.Column="1" HorizontalAlignment="Right"/>
|
|
</Grid>
|
|
|
|
<StackPanel>
|
|
<TextBlock Text="Korrekturrand" FontWeight="Bold"/>
|
|
<StackPanel Orientation="Horizontal" Spacing="10">
|
|
<RadioButton GroupName="CorrectionMargin" Content="300" IsChecked="{Binding IsCorrectionMarginHalf}" />
|
|
<RadioButton GroupName="CorrectionMargin" Content="150" IsChecked="{Binding IsCorrectionMarginQuarter}" />
|
|
<RadioButton GroupName="CorrectionMargin" Content="Keiner" IsChecked="{Binding IsCorrectionMarginNone}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
<StackPanel>
|
|
<TextBlock Text="Zeilenabstand" FontWeight="Bold"/>
|
|
<StackPanel Orientation="Horizontal" Spacing="10">
|
|
<RadioButton GroupName="LineSpacing" Content="1-zeilig" IsChecked="{Binding IsLineSpacing1}" />
|
|
<RadioButton GroupName="LineSpacing" Content="1.5-zeilig" IsChecked="{Binding IsLineSpacing15}" />
|
|
<RadioButton GroupName="LineSpacing" Content="2-zeilig" IsChecked="{Binding IsLineSpacing2}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
<StackPanel>
|
|
<TextBlock Text="Textposition" FontWeight="Bold"/>
|
|
<StackPanel Orientation="Horizontal" Spacing="10">
|
|
<RadioButton GroupName="TextPosition" Content="Links" IsChecked="{Binding IsTextLeft}" />
|
|
<RadioButton GroupName="TextPosition" Content="Rechts" IsChecked="{Binding IsTextRight}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<Button Content="Abgeben" HorizontalContentAlignment="Center" HorizontalAlignment="Stretch" Click="OnSubmitClick" />
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Window>
|