Files

48 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2026-01-02 17:30:41 +08:00
<ui:MelWindow
2026-02-22 20:03:42 +08:00
x:Class="ShrlAlgoToolkit.RevitAddins.DrawSheet.QuickViewSectionView"
2025-04-24 20:56:44 +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"
2025-04-24 20:56:44 +08:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
2026-02-22 20:03:42 +08:00
xmlns:local1="clr-namespace:ShrlAlgoToolkit.RevitAddins.DrawSheet"
2025-04-24 20:56:44 +08:00
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2026-01-02 17:30:41 +08:00
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
2025-10-10 11:19:58 +08:00
Title="快速剖面"
Width="300"
Height="180"
2026-02-22 20:03:42 +08:00
d:DataContext="{d:DesignInstance Type=local1:QuickViewSectionViewModel}"
2025-10-10 11:19:58 +08:00
Icon="{DynamicResource RevitIcon}"
SizeToContent="Height"
mc:Ignorable="d">
2024-09-22 11:05:41 +08:00
<Window.Resources>
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
</Window.Resources>
2025-04-24 20:56:10 +08:00
<ui:StackPanel Margin="5" Spacing="5">
2024-10-08 16:21:39 +08:00
<GroupBox Header="剖面线">
2024-09-22 11:05:41 +08:00
<UniformGrid Rows="1">
<RadioButton
2025-04-24 20:56:44 +08:00
HorizontalAlignment="Center"
2025-10-10 11:19:58 +08:00
Content="平行"
2024-09-22 11:05:41 +08:00
IsChecked="{Binding IsParallel}" />
<RadioButton
2025-10-10 11:19:58 +08:00
x:Name="Perpendicular"
2025-04-24 20:56:44 +08:00
HorizontalAlignment="Center"
2025-10-10 11:19:58 +08:00
Content="正交"
IsChecked="{Binding IsParallel, Converter={StaticResource InvertBooleanConverter}}" />
2024-09-22 11:05:41 +08:00
</UniformGrid>
</GroupBox>
2024-10-08 16:21:39 +08:00
<UniformGrid Rows="1">
<Button
2025-10-10 11:19:58 +08:00
Margin="5"
2024-10-08 16:21:39 +08:00
HorizontalAlignment="Stretch"
2025-10-10 11:19:58 +08:00
Command="{Binding CreateViewSectionCommand}"
Content="创建" />
2025-04-24 20:56:44 +08:00
<Button
2025-10-10 11:19:58 +08:00
Margin="5"
HorizontalAlignment="Stretch"
2024-10-08 16:21:39 +08:00
Command="{Binding DeleteViewSectionCommand}"
Content="删除"
ToolTip="删除全部在当前窗口打开时(本次)创建的快速剖面" />
</UniformGrid>
2025-04-24 20:56:10 +08:00
</ui:StackPanel>
2026-01-02 17:30:41 +08:00
</ui:MelWindow>