Files
Shrlalgo.RvKits/ShrlAlgoToolkit.RevitAddins/ModelManager/SeparateModelWin.xaml
2025-12-23 21:35:54 +08:00

38 lines
1.5 KiB
XML

<ui:NeoWindow
x:Class="ShrlAlgoToolkit.RevitAddins.ModelManager.SeparateModelWin"
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:ui="https://github.com/ShrlAlgo/NeoUI"
Title="拆分模型"
Width="300"
Height="200"
d:DataContext="{d:DesignInstance Type=local:SeparateModelViewModel}"
Icon="{DynamicResource RevitIcon}"
SizeToContent="Height"
Topmost="True"
mc:Ignorable="d">
<ui:NeoWindow.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</ui:NeoWindow.Resources>
<Grid>
<StackPanel Margin="5">
<TextBox
Margin="5"
ui:InputAssist.PlaceholderText="文件名"
Text="{Binding FileName, UpdateSourceTrigger=PropertyChanged}" />
<TextBox
Margin="5"
ui:InputAssist.PlaceholderText="保存路径"
Text="{Binding FolderPath, UpdateSourceTrigger=PropertyChanged}" />
<Button
Margin="5"
HorizontalAlignment="Stretch"
Command="{Binding SeparateCommand}"
Content="拆分" />
</StackPanel>
</Grid>
</ui:NeoWindow>