This commit is contained in:
@@ -113,9 +113,33 @@
|
||||
<ComboBox ItemsSource="{Binding PlaceholderTypes}" SelectedItem="{Binding SelectedPlaceholder.Type, Mode=TwoWay}"/></StackPanel>
|
||||
</Grid>
|
||||
<CheckBox Content="Pflichtwert" IsChecked="{Binding SelectedPlaceholder.Required, Mode=TwoWay}"/>
|
||||
<StackPanel><TextBlock Text="Beispielwert für die Vorschau" Classes="label"/>
|
||||
<TextBox Text="{Binding SelectedPlaceholder.Sample, Mode=TwoWay}" AcceptsReturn="True"
|
||||
<CheckBox IsChecked="{Binding SelectedPlaceholder.IsConstant, Mode=TwoWay}"
|
||||
IsEnabled="{Binding SelectedPlaceholder.SupportsConstantValue}">
|
||||
<TextBlock Text="Beispielwert fest im Paket verwenden (konstant, extern nicht überschreibbar)"
|
||||
TextWrapping="Wrap"/>
|
||||
</CheckBox>
|
||||
<StackPanel><TextBlock Text="Beispielwert / konstanter Paketwert" Classes="label"/>
|
||||
<StackPanel Orientation="Horizontal" Spacing="6" Margin="0,3,0,5">
|
||||
<Button Content="F" FontWeight="Bold" Padding="10,3" Click="OnBoldSelection"
|
||||
IsEnabled="{Binding SelectedPlaceholder.SupportsRichText}" ToolTip.Tip="Markierten Text fett setzen"/>
|
||||
<Button Content="K" FontStyle="Italic" Padding="10,3" Click="OnItalicSelection"
|
||||
IsEnabled="{Binding SelectedPlaceholder.SupportsRichText}" ToolTip.Tip="Markierten Text kursiv setzen"/>
|
||||
<Button Content="U̲" Padding="10,3" Click="OnUnderlineSelection"
|
||||
IsEnabled="{Binding SelectedPlaceholder.SupportsRichText}" ToolTip.Tip="Markierten Text unterstreichen"/>
|
||||
</StackPanel>
|
||||
<TextBox x:Name="PlaceholderValueTextBox" Text="{Binding SelectedPlaceholder.Sample, Mode=TwoWay}" AcceptsReturn="True"
|
||||
MinHeight="68" MaxHeight="120" TextWrapping="Wrap" PlaceholderText="Beispieldaten eingeben"/></StackPanel>
|
||||
<TextBlock IsVisible="{Binding SelectedPlaceholder.SupportsRichText}"
|
||||
Text="Externe Werte im Text: ${Student.LastName}. Markup: [b]fett[/b], [i]kursiv[/i], [u]unterstrichen[/u]."
|
||||
FontSize="11" Opacity="0.65" TextWrapping="Wrap"/>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Hervorhebung bei direkter Verwendung in TEXT/TEXTBOX" Classes="label"/>
|
||||
<StackPanel Orientation="Horizontal" Spacing="14">
|
||||
<CheckBox Content="Fett" IsChecked="{Binding SelectedPlaceholder.Bold, Mode=TwoWay}"/>
|
||||
<CheckBox Content="Kursiv" IsChecked="{Binding SelectedPlaceholder.Italic, Mode=TwoWay}"/>
|
||||
<CheckBox Content="Unterstrichen" IsChecked="{Binding SelectedPlaceholder.Underline, Mode=TwoWay}"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<Button Content="Platzhalter entfernen" HorizontalAlignment="Left" Click="OnRemovePlaceholder"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
Reference in New Issue
Block a user