chore: add avalonia RadioButton demo.

This commit is contained in:
NaBian committed 2024-12-01 14:17:01 +08:00
1 parent 2f0b39773e
commit 4713903b54
13 files changed
+792 -21

No files matched your search

@@ -29,7 +29,7 @@
Value="{Binding $self.(hc:BorderElement.CornerRadius)}" />
<Setter Property="Template">
<ControlTemplate>
<Grid>
<Panel>
<Border Background="{TemplateBinding Background}"
CornerRadius="{TemplateBinding CornerRadius}" />
<Border BorderThickness="{TemplateBinding BorderThickness}"
@@ -53,7 +53,7 @@
Margin="{Binding Path=(hc:IconElement.Geometry), RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource GeometrySpacingConverter}, ConverterParameter='6,0,0,0'}" />
</StackPanel>
</Border>
</Grid>
</Panel>
</ControlTemplate>
</Setter>