feat: add a border to template.

This commit is contained in:
rabbitism
2024-12-17 18:13:05 +08:00
parent 49d410bd4b
commit cde9d67251
3 changed files with 22 additions and 7 deletions

View File

@@ -25,6 +25,13 @@
u:FormItem.Label="VerticalContentAlignment"
EnumType="{x:Type VerticalAlignment}"
Value="{x:Static VerticalAlignment.Center}" />
<u:NumericDoubleUpDown
Name="speed"
AllowDrag="True"
u:FormItem.Label="Speed"
Minimum="1"
Maximum="300"
Value="60"/>
<ToggleSwitch
Name="running"
u:FormItem.Label="IsRunning"
@@ -35,6 +42,7 @@
Height="100"
HorizontalContentAlignment="{Binding #horizontal.Value}"
VerticalContentAlignment="{Binding #vertical.Value}"
Speed="{Binding #speed.Value}"
Background="{DynamicResource SemiBlue1}"
Direction="{Binding #direction.Value}"
IsRunning="{Binding #running.IsChecked}">