重命名控件库

This commit is contained in:
GG Z
2026-01-02 17:30:41 +08:00
parent fa0d280130
commit 785e5de36e
277 changed files with 1068 additions and 1242 deletions

View File

@@ -1,16 +1,16 @@
<ResourceDictionary
mc:Ignorable="d"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converters="clr-namespace:ShrlAlgoToolkit.Mvvm.Converters;assembly=ShrlAlgoToolkit.Mvvm"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:familyLibrary="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvFamily.FamilyLibrary"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
mc:Ignorable="d">
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/Accents/LightBlue.xaml" />
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/Styles.xaml" />
<ResourceDictionary Source="pack://application:,,,/Melskin;component/Themes/Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/Melskin;component/Themes/Accents/LightBlue.xaml" />
<ResourceDictionary Source="pack://application:,,,/Melskin;component/Themes/Styles.xaml" />
<!--<ui:ThemesDictionary Mode="Light" Palette="Blue"/>
<ui:ControlsDictionary/>-->
</ResourceDictionary.MergedDictionaries>
@@ -41,7 +41,7 @@
<converters:ComparisonConverter x:Key="ComparisonConverter" />
<!--#endregion-->
<DataTemplate x:Key="FamilyGalleryItemTemplate" DataType="{x:Type familyLibrary:FamilyModel}">
<DataTemplate DataType="{x:Type familyLibrary:FamilyModel}" x:Key="FamilyGalleryItemTemplate">
<Grid>
<Button
Command="{Binding PlaceRecentFamilyCommand}"
@@ -62,30 +62,30 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Grid Margin="0" Background="#01000000">
<Grid Background="#01000000" Margin="0">
<Border
HorizontalAlignment="Center"
VerticalAlignment="Center"
BorderBrush="Black"
BorderThickness="1">
BorderThickness="1"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Image
Name="Image"
Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}"
Name="Image"
Source="{Binding BitmapImage}"
Stretch="Fill" />
Stretch="Fill"
Width="{TemplateBinding Width}" />
</Border>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Image" Property="RenderTransform">
<Setter Property="RenderTransform" TargetName="Image">
<Setter.Value>
<ScaleTransform CenterX="28" CenterY="28" ScaleX="1.1" ScaleY="1.1" />
</Setter.Value>
</Setter>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="Image" Property="RenderTransform">
<Setter Property="RenderTransform" TargetName="Image">
<Setter.Value>
<ScaleTransform CenterX="28" CenterY="28" ScaleX="1" ScaleY="1" />
</Setter.Value>