整理代码

This commit is contained in:
ShrlAlgo
2025-10-10 11:19:58 +08:00
parent 4722a4c881
commit 9d40762f03
111 changed files with 3238 additions and 3112 deletions

View File

@@ -1,18 +1,19 @@
<ui:NeoWindow
Height="500"
MinHeight="500"
MinWidth="275"
Title="房间饰面"
Width="200"
d:DataContext="{d:DesignInstance Type=rvCivil:FloorFinishesViewModel}"
mc:Ignorable="d"
x:Class="ShrlAlgoToolkit.RevitAddins.RvCivil.FloorFinishesView"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:rvCivil="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCivil"
xmlns:ui="https://github.com/ShrlAlgo/NeoUI"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
Title="房间饰面"
Width="200"
Height="500"
MinWidth="275"
MinHeight="500"
d:DataContext="{d:DesignInstance Type=rvCivil:FloorFinishesViewModel}"
Icon="{DynamicResource RevitIcon}"
mc:Ignorable="d">
<Window.Resources>
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
<!--<ResourceDictionary>
@@ -32,18 +33,18 @@
</GroupBox>
<GroupBox
Grid.Row="1"
Header="楼板类型"
VerticalAlignment="Stretch">
VerticalAlignment="Stretch"
Header="楼板类型">
<ListBox
x:Name="LbFloorType"
DisplayMemberPath="Name"
ItemsSource="{Binding FloorTypes}"
SelectedValue="{Binding SelectedFloorType, UpdateSourceTrigger=PropertyChanged}"
x:Name="LbFloorType" />
SelectedValue="{Binding SelectedFloorType, UpdateSourceTrigger=PropertyChanged}" />
</GroupBox>
<TextBox
Grid.Row="2"
InputMethod.IsInputMethodEnabled="False"
ui:InputAssist.Placeholder="楼板偏移"
InputMethod.IsInputMethodEnabled="False"
Text="{Binding FloorOffset, StringFormat={}{0:N2}, UpdateSourceTrigger=PropertyChanged}" />
<!--<TextBox
Grid.Row="2"
@@ -65,12 +66,14 @@
</TextBox.Text>
</TextBox>-->
<Button
Command="{Binding PlaceFloorCommand}"
Content="布置"
Grid.Row="3"
HorizontalAlignment="Stretch"
ui:ButtonAssist.Icon="{ui:Icon Glyph=&#xEAB9;, FontFamily={StaticResource BoxIcons}, Size=16}"/>
<!--<ui:ButtonAssist.Icon>
HorizontalAlignment="Stretch"
ui:ButtonAssist.Icon="{ui:Icon Glyph=&#xEAB9;,
FontFamily={StaticResource BoxIcons},
Size=16}"
Command="{Binding PlaceFloorCommand}"
Content="布置" />
<!--<ui:ButtonAssist.Icon>
<ui:IconElement />
</ui:ButtonAssist.Icon>-->