This commit is contained in:
2024-12-18 15:50:21 +08:00
parent 684973e6b7
commit b2c54119ea
214 changed files with 65908 additions and 8461 deletions

View File

@@ -0,0 +1,39 @@
<UserControl
x:Class="CapMachine.Shared.Controls.ValueShow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:CapMachine.Shared.Controls"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
x:Name="UserControlInstance"
d:DesignHeight="46"
d:DesignWidth="110"
mc:Ignorable="d">
<StackPanel>
<StackPanel>
<TextBlock
FontSize="16"
Foreground="DarkSlateBlue"
Text="{Binding ElementName=UserControlInstance, Path=CellTitle}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Border Background="Gray" CornerRadius="4">
<TextBlock
Width="70"
Margin="2,0,0,0"
FontSize="20"
FontWeight="Bold"
Foreground="White"
Text="{Binding ElementName=UserControlInstance, Path=CellValue}" />
</Border>
<TextBlock
Margin="3,0,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Bottom"
FontSize="14"
FontWeight="Bold"
Foreground="Gray"
Text="{Binding ElementName=UserControlInstance, Path=CellUnit}" />
</StackPanel>
</StackPanel>
</UserControl>