更新整理
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<ui:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.RvMEP.AddInsulationView"
|
||||
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:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:local="clr-namespace:ShrlAlgo.RvKits.RvMEP"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
MinHeight="300"
|
||||
SizeToContent="Height"
|
||||
Title="保温层"
|
||||
Width="620"
|
||||
MinHeight="300"
|
||||
d:DataContext="{d:DesignInstance Type=local:AddInsulationViewModel}"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.RvMEP.AddInsulationView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvMEP"
|
||||
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">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
@@ -25,10 +25,10 @@
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<ui:StackPanel
|
||||
Grid.RowSpan="2"
|
||||
Grid.Column="0"
|
||||
Margin="5"
|
||||
Grid.RowSpan="2"
|
||||
IsEnabled="{Binding AddToPipe, Mode=TwoWay}"
|
||||
Margin="5"
|
||||
Spacing="5">
|
||||
<ui:ComboBoxEx
|
||||
DisplayMemberPath="Name"
|
||||
@@ -36,10 +36,10 @@
|
||||
ItemsSource="{Binding PipingSystemTypes}"
|
||||
SelectedItem="{Binding SelectedPipingSystemType}" />
|
||||
<DataGrid
|
||||
ui:StackPanel.Fill="Fill"
|
||||
AutoGenerateColumns="False"
|
||||
ItemsSource="{Binding PipeInsulationItems}"
|
||||
SelectionUnit="FullRow">
|
||||
SelectionUnit="FullRow"
|
||||
ui:StackPanel.Fill="Fill">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding MinDiameter}" Header="最小管径" />
|
||||
<DataGridTextColumn Binding="{Binding MaxDiameter}" Header="最大管径" />
|
||||
@@ -51,7 +51,7 @@
|
||||
ItemsSource="{Binding PipeInsulationTypes}"
|
||||
SelectedItemBinding="{Binding PipeInsulationType, UpdateSourceTrigger=PropertyChanged}"
|
||||
TextBinding="{Binding PipeInsulationType.Name}" />-->
|
||||
<DataGridTemplateColumn Width="*" Header="保温层材料">
|
||||
<DataGridTemplateColumn Header="保温层材料" Width="*">
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel>
|
||||
@@ -68,8 +68,8 @@
|
||||
</ui:StackPanel>
|
||||
<ui:StackPanel
|
||||
Grid.Column="1"
|
||||
Margin="5"
|
||||
IsEnabled="{Binding AddToDuct, Mode=TwoWay}"
|
||||
Margin="5"
|
||||
Spacing="5">
|
||||
<ui:ComboBoxEx
|
||||
DisplayMemberPath="Name"
|
||||
@@ -84,25 +84,25 @@
|
||||
<ui:TextBoxEx Header="保温层厚度:" Text="{Binding DuctInsulationItem.Thickness, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</ui:StackPanel>
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Right"
|
||||
Orientation="Horizontal">
|
||||
<CheckBox
|
||||
MinWidth="50"
|
||||
Margin="5"
|
||||
Content="管道"
|
||||
IsChecked="{Binding AddToPipe}" />
|
||||
<CheckBox
|
||||
MinWidth="50"
|
||||
IsChecked="{Binding AddToPipe}"
|
||||
Margin="5"
|
||||
MinWidth="50" />
|
||||
<CheckBox
|
||||
Content="风管"
|
||||
IsChecked="{Binding AddToDuct}" />
|
||||
IsChecked="{Binding AddToDuct}"
|
||||
Margin="5"
|
||||
MinWidth="50" />
|
||||
<Button
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Right"
|
||||
Command="{Binding AddInsulationCommand}"
|
||||
Content="添加保温层" />
|
||||
Content="添加保温层"
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Right" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</ui:FluentWindowEx>
|
||||
|
||||
Reference in New Issue
Block a user