整理代码

This commit is contained in:
GG Z
2025-04-24 20:56:10 +08:00
parent 4d798e5d99
commit 155cef46f8
532 changed files with 1018 additions and 854 deletions

View File

@@ -0,0 +1,40 @@
<ui:FluentWindow
x:Class="ShrlAlgo.RvKits.ModelManager.TemplateManagerView"
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:ShrlAlgo.RvKits.ModelManager"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
Width="800"
Height="450"
d:DataContext="{d:DesignInstance Type=local:TemplateManagerViewModel}"
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
mc:Ignorable="d">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</Window.Resources>
<DockPanel>
<ui:TitleBar DockPanel.Dock="Top" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel>
<ComboBox
DisplayMemberPath="Name"
ItemsSource="{Binding FontFamilies}"
SelectedItem="{Binding SelectFontFamily}" />
<TextBox Text="{Binding FontSize}" />
<TextBox Text="{Binding WidthScale}" />
<Button Command="{Binding ModifyFontCommand}" Content="修改字体" />
</StackPanel>
</Grid>
</DockPanel>
</ui:FluentWindow>