feat: Feldeditor für Autofelder im TemplateDesigner
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
2026-09-15 11:07:37 +02:00
parent 09cbbf1b77
commit 0b5cfc5522
4 changed files with 128 additions and 3 deletions
@@ -213,6 +213,21 @@
<ScrollViewer Padding="8">
<StackPanel Spacing="12">
<TextBlock Text="Element hinzufügen" Classes="section"/>
<Border BorderBrush="#93C5FD" BorderThickness="1" Background="#EFF6FF"
CornerRadius="6" Padding="12">
<StackPanel Spacing="7">
<TextBlock Text="LehrerApp-Sonderinhalte" FontWeight="SemiBold" Foreground="#1E3A8A"/>
<TextBlock Text="Kein technischer Platzhaltername nötig: Inhalt auswählen und übernehmen."
FontSize="11" Foreground="#475569" TextWrapping="Wrap"/>
<ComboBox ItemsSource="{Binding SpecialContents}"
SelectedItem="{Binding SelectedSpecialContent, Mode=TwoWay}"
DisplayMemberBinding="{Binding DisplayName}"/>
<TextBlock Text="{Binding SelectedSpecialContent.Description}" FontSize="11"
Foreground="#475569" TextWrapping="Wrap"/>
<Button Content="Für Layout vorbereiten" HorizontalAlignment="Left"
Click="OnPrepareSpecialContent"/>
</StackPanel>
</Border>
<StackPanel><TextBlock Text="Einfügen in" Classes="label"/>
<ComboBox ItemsSource="{Binding ElementScopes}" SelectedItem="{Binding NewElementScope}"/></StackPanel>
<Grid ColumnDefinitions="*,8,*">