Files
ShrlAlgoToolkit/ShrlAlgoToolkit.RevitAddins/ArchStru/WallFinishesView.xaml

69 lines
2.7 KiB
Plaintext
Raw Normal View History

2026-01-02 17:30:41 +08:00
<ms:MelWindow
2025-04-24 20:56:44 +08:00
x:Class="ShrlAlgoToolkit.RevitAddins.RvCivil.WallFinishesView"
2024-09-22 11:05:41 +08:00
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2025-10-10 11:19:58 +08:00
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
2024-09-22 11:05:41 +08:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2025-04-24 20:56:44 +08:00
xmlns:rvCivil="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCivil"
2026-01-02 17:30:41 +08:00
xmlns:ms="https://github.com/ShrlAlgo/Melskin"
2025-10-10 11:19:58 +08:00
Title="墙饰面"
Width="250"
Height="500"
MinHeight="300"
d:DataContext="{d:DesignInstance rvCivil:WallFinishesViewModel}"
Icon="{DynamicResource RevitIcon}"
mc:Ignorable="d">
2024-09-22 11:05:41 +08:00
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
2025-04-24 20:56:10 +08:00
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
2024-09-22 11:05:41 +08:00
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
2026-01-02 17:30:41 +08:00
<ms:Grid
2024-09-22 11:05:41 +08:00
ChildMargin="5"
Columns="*"
Rows="*,Auto,Auto,Auto,Auto">
<GroupBox
Height="300"
2025-10-10 11:19:58 +08:00
VerticalAlignment="Stretch"
Header="饰面类型">
2024-09-22 11:05:41 +08:00
<ListBox
2025-10-10 11:19:58 +08:00
x:Name="CbbWallTypes"
2024-09-22 11:05:41 +08:00
DisplayMemberPath="Name"
ItemsSource="{Binding WallTypes}"
2025-10-10 11:19:58 +08:00
SelectedValue="{Binding SelectedWallType, UpdateSourceTrigger=PropertyChanged}" />
2024-09-22 11:05:41 +08:00
</GroupBox>
2025-08-20 12:10:35 +08:00
<TextBox
2025-10-10 11:19:58 +08:00
x:Name="TbWallHeight"
2024-09-22 11:05:41 +08:00
Grid.Row="1"
2026-01-02 17:30:41 +08:00
ms:InputAssist.Prefix="饰面总高度:"
ms:InputAssist.Suffix="mm"
2025-10-10 11:19:58 +08:00
InputMethod.IsInputMethodEnabled="False"
Text="{Binding WallHeight, StringFormat=\{0:F2\}, UpdateSourceTrigger=PropertyChanged}" />
2025-08-20 12:10:35 +08:00
<TextBox
2025-10-10 11:19:58 +08:00
x:Name="TbWallBase"
2024-09-22 11:05:41 +08:00
Grid.Row="2"
2026-01-02 17:30:41 +08:00
ms:InputAssist.Prefix="饰面底部离地高度:"
ms:InputAssist.Suffix="mm"
2025-10-10 11:19:58 +08:00
InputMethod.IsInputMethodEnabled="False"
Text="{Binding WallBaseOffset, StringFormat=\{0:F2\}, UpdateSourceTrigger=PropertyChanged}" />
2024-09-22 11:05:41 +08:00
<ComboBox
2025-10-10 11:19:58 +08:00
x:Name="CbbPlaceType"
2024-09-22 11:05:41 +08:00
Grid.Row="3"
IsSynchronizedWithCurrentItem="True"
SelectedIndex="0"
2025-10-10 11:19:58 +08:00
Text="布置方式">
2024-09-22 11:05:41 +08:00
<ComboBoxItem Content="墙面" />
<ComboBoxItem Content="房间" />
<ComboBoxItem Content="整墙" />
</ComboBox>
<Button
2025-10-10 11:19:58 +08:00
x:Name="BtnPlace"
2024-09-22 11:05:41 +08:00
Grid.Row="4"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
2025-10-10 11:19:58 +08:00
Command="{Binding PlaceWallCommand}"
Content="布置" />
2026-01-02 17:30:41 +08:00
</ms:Grid>
</ms:MelWindow>