48 lines
2.0 KiB
XML
48 lines
2.0 KiB
XML
<ui:MelWindow
|
|
x:Class="ShrlAlgoToolkit.RevitAddins.DrawSheet.QuickViewSectionView"
|
|
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:local1="clr-namespace:ShrlAlgoToolkit.RevitAddins.DrawSheet"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:ui="https://github.com/ShrlAlgo/Melskin"
|
|
Title="快速剖面"
|
|
Width="300"
|
|
Height="180"
|
|
d:DataContext="{d:DesignInstance Type=local1:QuickViewSectionViewModel}"
|
|
Icon="{DynamicResource RevitIcon}"
|
|
SizeToContent="Height"
|
|
mc:Ignorable="d">
|
|
<Window.Resources>
|
|
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
|
</Window.Resources>
|
|
<ui:StackPanel Margin="5" Spacing="5">
|
|
<GroupBox Header="剖面线">
|
|
<UniformGrid Rows="1">
|
|
<RadioButton
|
|
HorizontalAlignment="Center"
|
|
Content="平行"
|
|
IsChecked="{Binding IsParallel}" />
|
|
<RadioButton
|
|
x:Name="Perpendicular"
|
|
HorizontalAlignment="Center"
|
|
Content="正交"
|
|
IsChecked="{Binding IsParallel, Converter={StaticResource InvertBooleanConverter}}" />
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
<UniformGrid Rows="1">
|
|
<Button
|
|
Margin="5"
|
|
HorizontalAlignment="Stretch"
|
|
Command="{Binding CreateViewSectionCommand}"
|
|
Content="创建" />
|
|
<Button
|
|
Margin="5"
|
|
HorizontalAlignment="Stretch"
|
|
Command="{Binding DeleteViewSectionCommand}"
|
|
Content="删除"
|
|
ToolTip="删除全部在当前窗口打开时(本次)创建的快速剖面" />
|
|
</UniformGrid>
|
|
</ui:StackPanel>
|
|
</ui:MelWindow>
|