Laservall_solidworks_inject/Pane/PartPropPaneUserControl.xaml

38 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2025-10-10 13:22:56 +08:00
<UserControl x:Class="Laservall.Solidworks.Pane.PartPropPaneUserControl"
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:local="clr-namespace:Laservall.Solidworks.Pane"
xmlns:hc="https://handyorg.github.io/handycontrol"
d:DesignHeight="500" d:DesignWidth="300"
mc:Ignorable="d" >
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Laservall.Solidworks;component/Themes/Theme.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="*" />
<RowDefinition Height="20"/>
</Grid.RowDefinitions>
<hc:ButtonGroup Grid.Row="0" VerticalAlignment="Center" Margin="10,5">
<Button FontSize="14" Content="保存" Background="#81C784"/>
<Button FontSize="14" Content="重置" Background="#E57373" />
</hc:ButtonGroup>
<hc:PropertyGrid Background="Transparent"
FontSize="14"
Grid.Row="1"
SelectedObject="{Binding PartPropModel}"/>
<TextBlock Grid.Row="2"
x:Name="VersionText"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Text="1.0.0.1"/>
</Grid>
</UserControl>