Files
Shrlalgo.RvKits/ShrlAlgoToolkit.RevitAddins/ModelManager/TemplateManagerView.xaml
ShrlAlgo 955a01f564 整理
2025-08-20 12:10:35 +08:00

36 lines
1.4 KiB
XML

<ui:NeoWindow
Height="450"
Width="800"
d:DataContext="{d:DesignInstance Type=local:TemplateManagerViewModel}"
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"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<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="修改字体" />
</StackPanel>
</Grid>
</ui:NeoWindow>