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

43 lines
1.7 KiB
XML

<ui:NeoWindow
Height="180"
MinHeight="180"
MinWidth="250"
SizeToContent="Height"
Title="管道翻模"
Width="250"
d:DataContext="{d:DesignInstance Type=local:PipesCreatorViewModel}"
mc:Ignorable="d"
x:Class="ShrlAlgoToolkit.RevitAddins.RvCommon.PipesCreatorView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCommon"
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>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<ui:Grid ChildMargin="5" Columns="*">
<ComboBox
DisplayMemberPath="Name"
Grid.Row="0"
ItemsSource="{Binding PipeTypes}"
ui:SelectorAssist.Placeholder="管线类型"
SelectedItem="{Binding SelectedPipeType}" />
<ComboBox
DisplayMemberPath="Name"
Grid.Row="1"
ItemsSource="{Binding PipingSystemTypes}"
ui:SelectorAssist.Placeholder="系统类型"
SelectedItem="{Binding SelectedPipingSystemType}" />
<Button
Command="{Binding CreateCommand}"
Content="创建"
Grid.Row="2"
HorizontalAlignment="Stretch" />
</ui:Grid>
</ui:NeoWindow>