This commit is contained in:
PrefacedCorg
2026-04-14 12:47:54 +08:00
parent d73e87b980
commit 1e8ddf4754
3 changed files with 98 additions and 120 deletions
+23
View File
@@ -0,0 +1,23 @@
<UserControl x:Class="Ink_Canvas.Controls.GeometryButton"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
mc:Ignorable="d"
d:DesignHeight="38" d:DesignWidth="32">
<ikw:SimpleStackPanel x:Name="ButtonPanel"
MouseDown="ButtonPanel_MouseDown"
MouseUp="ButtonPanel_MouseUp"
Background="Transparent"
Orientation="Vertical"
Height="38" Width="32"
Margin="0,0,0,0">
<Image x:Name="ButtonImage"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label x:Name="LabelControl"
FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</UserControl>