feat: improve demo, add dynamic resource.

This commit is contained in:
rabbitism
2024-02-18 17:30:30 +08:00
parent 66835a8efa
commit a8d1073f75
7 changed files with 56 additions and 43 deletions

View File

@@ -22,12 +22,12 @@
<Setter Property="Template">
<ControlTemplate TargetType="u:FormGroup">
<StackPanel>
<ContentPresenter Content="{TemplateBinding Header}" FontWeight="Bold" />
<ContentPresenter Content="{TemplateBinding Header}" FontWeight="Bold" FontSize="18" />
<Rectangle
Height="1"
Margin="0,8"
HorizontalAlignment="Stretch"
Fill="LightGray" />
Fill="{DynamicResource FormGroupBorderBrush}" />
<ItemsPresenter ItemsPanel="{TemplateBinding ItemsPanel}" />
</StackPanel>
</ControlTemplate>