Files
Shrlalgo.RvKits/ShrlAlgoToolkit.RevitAddins/ModelManager/SeparateModelWin.xaml

38 lines
1.5 KiB
Plaintext
Raw Normal View History

2025-08-20 12:10:35 +08:00
<ui:NeoWindow
2025-04-24 20:56:44 +08:00
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.SeparateModelWin"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2025-10-10 11:19:58 +08:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
2025-04-24 20:56:44 +08:00
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-10-10 11:19:58 +08:00
Title="拆分模型"
Width="300"
Height="200"
d:DataContext="{d:DesignInstance Type=local:SeparateModelViewModel}"
Icon="{DynamicResource RevitIcon}"
SizeToContent="Height"
Topmost="True"
mc:Ignorable="d">
2025-08-20 12:10:35 +08:00
<ui:NeoWindow.Resources>
2025-04-24 20:56:10 +08:00
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
2025-08-20 12:10:35 +08:00
</ui:NeoWindow.Resources>
<Grid>
<StackPanel Margin="5">
2025-08-20 12:10:35 +08:00
<TextBox
Margin="5"
2025-08-20 12:10:35 +08:00
ui:InputAssist.Placeholder="文件名"
Text="{Binding FileName, UpdateSourceTrigger=PropertyChanged}" />
2025-08-20 12:10:35 +08:00
<TextBox
Margin="5"
2025-08-20 12:10:35 +08:00
ui:InputAssist.Placeholder="保存路径"
Text="{Binding FolderPath, UpdateSourceTrigger=PropertyChanged}" />
2025-08-20 12:10:35 +08:00
<Button
2025-10-10 11:19:58 +08:00
Margin="5"
2025-04-24 20:56:44 +08:00
HorizontalAlignment="Stretch"
2025-10-10 11:19:58 +08:00
Command="{Binding SeparateCommand}"
Content="拆分" />
</StackPanel>
</Grid>
2025-08-20 12:10:35 +08:00
</ui:NeoWindow>