整理
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<ui:FluentWindowEx
|
||||
<ui:NeoWindow
|
||||
Height="340"
|
||||
MinHeight="300"
|
||||
Title="族实例布置"
|
||||
@@ -10,7 +10,7 @@
|
||||
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:ui="https://github.com/ShrlAlgo/NeoUI"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
@@ -20,27 +20,26 @@
|
||||
</ResourceDictionary>
|
||||
</Window.Resources>
|
||||
<ui:StackPanel Margin="5" Spacing="5">
|
||||
<ui:ComboBoxEx
|
||||
<ComboBox
|
||||
DisplayMemberPath="Name"
|
||||
ItemsSource="{Binding Families}"
|
||||
PlaceholderText="选择族"
|
||||
ui:InputAssist.Placeholder="选择族"
|
||||
SelectedItem="{Binding SelectedFamily, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<ui:ComboBoxEx
|
||||
<ui:NeuComboBox
|
||||
DisplayMemberPath="Name"
|
||||
IsSynchronizedWithCurrentItem="True"
|
||||
ItemsSource="{Binding FamilySymbols, Mode=OneWay}"
|
||||
PlaceholderText="选择族类型"
|
||||
ui:InputAssist.Placeholder="选择族类型"
|
||||
SelectedItem="{Binding SelectedFamilySymbol, UpdateSourceTrigger=PropertyChanged}"
|
||||
ShowFilterBox="False" />
|
||||
IsFilteringEnabled="False" />
|
||||
<Image
|
||||
Grid.Row="2"
|
||||
Height="128"
|
||||
Source="{Binding Image}"
|
||||
Width="128" />
|
||||
<ui:TextBoxEx
|
||||
<TextBox
|
||||
Grid.Row="3"
|
||||
Prefix="偏移量:"
|
||||
Suffix="mm"
|
||||
ui:InputAssist.Prefix="偏移量:"
|
||||
ui:InputAssist.Suffix="mm"
|
||||
Text="{Binding Offset}">
|
||||
<!--<TextBox.Text>
|
||||
<Binding Path="Offset" UpdateSourceTrigger="PropertyChanged">
|
||||
@@ -49,7 +48,7 @@
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>-->
|
||||
</ui:TextBoxEx>
|
||||
</TextBox>
|
||||
<Button
|
||||
Command="{Binding PlaceInstancesCommand}"
|
||||
Content="布置"
|
||||
@@ -57,4 +56,4 @@
|
||||
HorizontalAlignment="Stretch"
|
||||
ToolTip="选择dwg块并布置族实例" />
|
||||
</ui:StackPanel>
|
||||
</ui:FluentWindowEx>
|
||||
</ui:NeoWindow>
|
||||
Reference in New Issue
Block a user