Files
ShrlAlgoToolkit/ShrlAlgoToolkit.RevitAddins/ModelManager/TemplateManagerView.xaml

36 lines
1.4 KiB
Plaintext
Raw Normal View History

2025-08-20 12:10:35 +08:00
<ui:NeoWindow
2024-09-22 11:05:41 +08:00
Height="450"
2025-04-24 20:56:44 +08:00
Width="800"
2024-09-22 11:05:41 +08:00
d:DataContext="{d:DesignInstance Type=local:TemplateManagerViewModel}"
2025-04-24 20:56:44 +08:00
mc:Ignorable="d"
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.TemplateManagerView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
2025-08-20 12:10:35 +08:00
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
2025-04-24 20:56:44 +08:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
2024-09-22 11:05:41 +08:00
<Window.Resources>
2025-04-24 20:56:10 +08:00
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
2024-09-22 11:05:41 +08:00
</Window.Resources>
2025-08-20 12:10:35 +08:00
<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>
</ui:NeoWindow>