Files
ShrlAlgoToolkit/ShrlAlgoToolkit.RevitAddins/RvCommon/PipesCreatorView.xaml

43 lines
1.7 KiB
Plaintext
Raw Normal View History

<ui:FluentWindowEx
2024-09-22 11:05:41 +08:00
Height="180"
MinHeight="180"
2025-04-24 20:56:44 +08:00
MinWidth="250"
2024-09-22 11:05:41 +08:00
SizeToContent="Height"
2025-04-24 20:56:44 +08:00
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/WPFluent"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
2024-09-22 11:05:41 +08:00
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
2025-04-24 20:56:10 +08:00
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
2024-09-22 11:05:41 +08:00
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
2025-04-24 20:56:10 +08:00
<ui:AutoGrid ChildMargin="5" Columns="*">
<ui:ComboBoxEx
2024-09-22 11:05:41 +08:00
DisplayMemberPath="Name"
2025-04-24 20:56:44 +08:00
Grid.Row="0"
2024-09-22 11:05:41 +08:00
ItemsSource="{Binding PipeTypes}"
PlaceholderText="管线类型"
SelectedItem="{Binding SelectedPipeType}" />
<ui:ComboBoxEx
2024-09-22 11:05:41 +08:00
DisplayMemberPath="Name"
2025-04-24 20:56:44 +08:00
Grid.Row="1"
2024-09-22 11:05:41 +08:00
ItemsSource="{Binding PipingSystemTypes}"
PlaceholderText="系统类型"
SelectedItem="{Binding SelectedPipingSystemType}" />
<Button
Command="{Binding CreateCommand}"
2025-04-24 20:56:44 +08:00
Content="创建"
Grid.Row="2"
HorizontalAlignment="Stretch" />
2025-04-24 20:56:10 +08:00
</ui:AutoGrid>
</ui:FluentWindowEx>