Add TimeBox Control

This commit is contained in:
LiWenhao
2024-04-06 21:28:14 +08:00
parent e32f59f277
commit 72d962ab45
16 changed files with 960 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:u="https://irihi.tech/ursa">
<Design.PreviewWith>
<Border Padding="20">
<!-- Add Controls for Previewer Here -->
</Border>
</Design.PreviewWith>
<Style Selector="u|TimeBox /template/ Border#PART_HourBorder:pointerover">
<Setter Property="Background" Value="{DynamicResource TimeBoxPointeroverBackground}"/>
</Style>
<Style Selector="u|TimeBox /template/ Border#PART_MinuteBorder:pointerover">
<Setter Property="Background" Value="{DynamicResource TimeBoxPointeroverBackground}"/>
</Style>
<Style Selector="u|TimeBox /template/ Border#PART_SecondBorder:pointerover">
<Setter Property="Background" Value="{DynamicResource TimeBoxPointeroverBackground}"/>
</Style>
<Style Selector="u|TimeBox /template/ Border#PART_MilliSecondBorder:pointerover">
<Setter Property="Background" Value="{DynamicResource TimeBoxPointeroverBackground}"/>
</Style>
</Styles>