Files
ShrlAlgoToolkit/ShrlAlgoToolkit.RevitAddins/ModelManager/TemplateManagerView.xaml
2026-01-02 17:30:41 +08:00

41 lines
1.7 KiB
XML

<ms:MelWindow
x:Class="ShrlAlgoToolkit.RevitAddins.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:ShrlAlgoToolkit.RevitAddins.ModelManager"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ms="https://github.com/ShrlAlgo/Melskin"
Width="800"
Height="450"
d:DataContext="{d:DesignInstance Type=local:TemplateManagerViewModel}"
Icon="{DynamicResource RevitIcon}"
mc:Ignorable="d">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</Window.Resources>
<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="修改字体" />
<Button
Command="{Binding CleanFontTypeCommand}"
Content="整理字体"
ToolTip="清理重复的字体,重命名字体" />
</StackPanel>
</Grid>
</ms:MelWindow>