ImageButton & ImageSplitButton

This commit is contained in:
Pilzinsel64
2025-11-07 10:48:36 +01:00
parent 0e11a0f9c4
commit 1ab775aa3e
11 changed files with 235 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
<Button xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Pilz.UI.AvaloniaUI.Controls.ImageButton">
<StackPanel
Orientation="Horizontal"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Spacing="6"
>
<Image
VerticalAlignment="Center"
Width="16"
Height="16"
x:Name="ButtonImage"
/>
<TextBlock
VerticalAlignment="Center"
x:Name="ButtonText"
/>
</StackPanel>
</Button>