Add TimeBox Control
This commit is contained in:
21
src/Ursa.Themes.Semi/Styles/TimeBox.axaml
Normal file
21
src/Ursa.Themes.Semi/Styles/TimeBox.axaml
Normal 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>
|
||||
Reference in New Issue
Block a user