调整代码
This commit is contained in:
44
ShrlAlgoToolkit.RevitAddins/Modeling/PipesCreatorView.xaml
Normal file
44
ShrlAlgoToolkit.RevitAddins/Modeling/PipesCreatorView.xaml
Normal file
@@ -0,0 +1,44 @@
|
||||
<ui:MelWindow
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.Modeling.PipesCreatorView"
|
||||
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:local1="clr-namespace:ShrlAlgoToolkit.RevitAddins.Modeling"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
|
||||
Title="管道翻模"
|
||||
Width="250"
|
||||
Height="180"
|
||||
MinWidth="250"
|
||||
MinHeight="180"
|
||||
d:DataContext="{d:DesignInstance Type=local1:PipesCreatorViewModel}"
|
||||
Icon="{DynamicResource RevitIcon}"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
<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
|
||||
Grid.Row="0"
|
||||
ui:InputAssist.PlaceholderText="管线类型"
|
||||
DisplayMemberPath="Name"
|
||||
ItemsSource="{Binding PipeTypes}"
|
||||
SelectedItem="{Binding SelectedPipeType}" />
|
||||
<ComboBox
|
||||
Grid.Row="1"
|
||||
ui:InputAssist.PlaceholderText="系统类型"
|
||||
DisplayMemberPath="Name"
|
||||
ItemsSource="{Binding PipingSystemTypes}"
|
||||
SelectedItem="{Binding SelectedPipingSystemType}" />
|
||||
<Button
|
||||
Grid.Row="2"
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding CreateCommand}"
|
||||
Content="创建" />
|
||||
</ui:Grid>
|
||||
</ui:MelWindow>
|
||||
Reference in New Issue
Block a user