命名优化,达芬奇字体修改工具
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
<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"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
mc:Ignorable="d">
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/Light.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/ColorPalette/LightBlue.xaml"/>
|
||||
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/ColorPalette/LightBlue.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/NeoUI;component/Themes/Styles.xaml" />
|
||||
<!--<ui:ThemesDictionary Mode="Light" Palette="Blue"/>
|
||||
<ui:ControlsDictionary/>-->
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<!--#region Fonts-->
|
||||
<FontFamily x:Key="BoxIcons">pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/Fonts/#BoxIcons</FontFamily>
|
||||
<FontFamily x:Key="SourceHanSansSC">pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/Fonts/#Source Han Sans SC</FontFamily>
|
||||
<!--<FontFamily x:Key="SourceHanSansSC">pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/Fonts/#Source Han Sans SC</FontFamily>-->
|
||||
<!--#endregion-->
|
||||
|
||||
|
||||
<!--<Viewbox x:Key="RevitIcon">
|
||||
<Grid>
|
||||
<Path Data="M821.333333 912H202.666667a26.666667 26.666667 0 0 1-26.666667-26.666667V138.666667a26.666667 26.666667 0 0 1 26.666667-26.666667h477.792L848 279.541333V885.333333a26.666667 26.666667 0 0 1-26.666667 26.666667z" Fill="#138FFB" />
|
||||
@@ -51,7 +51,7 @@
|
||||
<converters:ComparisonConverter x:Key="ComparisonConverter" />
|
||||
<!--#endregion-->
|
||||
|
||||
<DataTemplate DataType="{x:Type familyLibrary:FamilyModel}" x:Key="FamilyGalleryItemTemplate">
|
||||
<DataTemplate x:Key="FamilyGalleryItemTemplate" DataType="{x:Type familyLibrary:FamilyModel}">
|
||||
<Grid>
|
||||
<Button
|
||||
Command="{Binding PlaceRecentFamilyCommand}"
|
||||
@@ -72,30 +72,30 @@
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Grid Background="#01000000" Margin="0">
|
||||
<Grid Margin="0" Background="#01000000">
|
||||
<Border
|
||||
BorderBrush="Black"
|
||||
BorderThickness="1"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center">
|
||||
VerticalAlignment="Center"
|
||||
BorderBrush="Black"
|
||||
BorderThickness="1">
|
||||
<Image
|
||||
Height="{TemplateBinding Height}"
|
||||
Name="Image"
|
||||
Width="{TemplateBinding Width}"
|
||||
Height="{TemplateBinding Height}"
|
||||
Source="{Binding BitmapImage}"
|
||||
Stretch="Fill"
|
||||
Width="{TemplateBinding Width}" />
|
||||
Stretch="Fill" />
|
||||
</Border>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="RenderTransform" TargetName="Image">
|
||||
<Setter TargetName="Image" Property="RenderTransform">
|
||||
<Setter.Value>
|
||||
<ScaleTransform CenterX="28" CenterY="28" ScaleX="1.1" ScaleY="1.1" />
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Trigger>
|
||||
<Trigger Property="IsPressed" Value="True">
|
||||
<Setter Property="RenderTransform" TargetName="Image">
|
||||
<Setter TargetName="Image" Property="RenderTransform">
|
||||
<Setter.Value>
|
||||
<ScaleTransform CenterX="28" CenterY="28" ScaleX="1" ScaleY="1" />
|
||||
</Setter.Value>
|
||||
|
||||
Reference in New Issue
Block a user