更新整理
This commit is contained in:
@@ -1,28 +1,27 @@
|
||||
<ui:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.RvMEP.AnyConnectView"
|
||||
Height="350"
|
||||
MinHeight="350"
|
||||
SizeToContent="Height"
|
||||
Title="任意连接"
|
||||
Width="270"
|
||||
d:DataContext="{d:DesignInstance Type=local:AnyConnectViewModel}"
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.RvMEP.AnyConnectView"
|
||||
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:ShrlAlgo.RvKits.RvMEP"
|
||||
xmlns:local="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvMEP"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
Title="任意连接"
|
||||
Width="270"
|
||||
Height="350"
|
||||
MinHeight="350"
|
||||
d:DataContext="{d:DesignInstance Type=local:AnyConnectViewModel}"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</Window.Resources>
|
||||
<ui:StackPanel Margin="5" Spacing="5">
|
||||
<ui:InfoBar
|
||||
VerticalAlignment="Top"
|
||||
IsOpen="{Binding ActiveSnackbar, Mode=OneWay}"
|
||||
Message="{Binding Message}" />
|
||||
Message="{Binding Message}"
|
||||
VerticalAlignment="Top" />
|
||||
<GroupBox Header="角度" ToolTip="平行或垂直连接时生效">
|
||||
<UniformGrid Columns="3">
|
||||
<RadioButton Content="默认" ToolTip="根据当前位置自动连接">
|
||||
@@ -88,11 +87,11 @@
|
||||
</Binding>
|
||||
</RadioButton.IsChecked>
|
||||
</RadioButton>
|
||||
<RadioButton x:Name="LbCustom" Content="自定义" />
|
||||
<RadioButton Content="自定义" x:Name="LbCustom" />
|
||||
<TextBox
|
||||
VerticalAlignment="Center"
|
||||
IsEnabled="{Binding IsChecked, ElementName=LbCustom}"
|
||||
Text="{Binding Angle, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding Angle, UpdateSourceTrigger=PropertyChanged}"
|
||||
VerticalAlignment="Center" />
|
||||
</UniformGrid>
|
||||
</GroupBox>
|
||||
<GroupBox Header="选择方式">
|
||||
@@ -108,9 +107,9 @@
|
||||
</UniformGrid>
|
||||
</GroupBox>
|
||||
<ui:Button
|
||||
HorizontalAlignment="Stretch"
|
||||
Command="{Binding ConnectCommand}"
|
||||
Content="连接管线"
|
||||
HorizontalAlignment="Stretch"
|
||||
Icon="{ui:SymbolIcon Connector24}" />
|
||||
</ui:StackPanel>
|
||||
</ui:FluentWindowEx>
|
||||
|
||||
Reference in New Issue
Block a user