整理
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<ui:FluentWindow
|
||||
<ui:NeoWindow
|
||||
Height="450"
|
||||
Width="800"
|
||||
d:DataContext="{d:DesignInstance Type=local:TemplateManagerViewModel}"
|
||||
@@ -8,31 +8,28 @@
|
||||
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/WPFluent"
|
||||
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>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user