整理代码
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
<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:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
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">
|
||||
Title="管道翻模"
|
||||
Width="250"
|
||||
Height="180"
|
||||
MinWidth="250"
|
||||
MinHeight="180"
|
||||
d:DataContext="{d:DesignInstance Type=local:PipesCreatorViewModel}"
|
||||
Icon="{DynamicResource RevitIcon}"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
@@ -23,21 +24,21 @@
|
||||
</Window.Resources>
|
||||
<ui:Grid ChildMargin="5" Columns="*">
|
||||
<ComboBox
|
||||
DisplayMemberPath="Name"
|
||||
Grid.Row="0"
|
||||
ItemsSource="{Binding PipeTypes}"
|
||||
ui:SelectorAssist.Placeholder="管线类型"
|
||||
DisplayMemberPath="Name"
|
||||
ItemsSource="{Binding PipeTypes}"
|
||||
SelectedItem="{Binding SelectedPipeType}" />
|
||||
<ComboBox
|
||||
DisplayMemberPath="Name"
|
||||
Grid.Row="1"
|
||||
ItemsSource="{Binding PipingSystemTypes}"
|
||||
ui:SelectorAssist.Placeholder="系统类型"
|
||||
DisplayMemberPath="Name"
|
||||
ItemsSource="{Binding PipingSystemTypes}"
|
||||
SelectedItem="{Binding SelectedPipingSystemType}" />
|
||||
<Button
|
||||
Command="{Binding CreateCommand}"
|
||||
Content="创建"
|
||||
Grid.Row="2"
|
||||
HorizontalAlignment="Stretch" />
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding CreateCommand}"
|
||||
Content="创建" />
|
||||
</ui:Grid>
|
||||
</ui:NeoWindow>
|
||||
Reference in New Issue
Block a user