chore: add avalonia Slider demo.

This commit is contained in:
NaBian committed 2024-12-15 00:53:50 +08:00
1 parent d81d99d0e4
commit b4734cda5f
10 files changed
+723 -2

No files matched your search

@@ -505,11 +505,13 @@
Value="6,0,0,0" />
<Setter Property="Height"
Value="24" />
<Setter Property="ClipToBounds"
Value="False" />
<Setter Property="Template">
<ControlTemplate>
<Grid Background="Transparent"
ColumnDefinitions="Auto, *">
<Viewbox>
<Viewbox ClipToBounds="False">
<Panel Width="80"
Height="48">
<Border BorderBrush="{TemplateBinding BorderBrush}"
@@ -575,6 +577,7 @@
IsVisible="{Binding $self.Content, Converter={x:Static ObjectConverters.IsNotNull}}"
Grid.Column="1"
Focusable="False"
ClipToBounds="True"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
Margin="{TemplateBinding Padding}"
RecognizesAccessKey="True"