Files
RevitArchive/RevitKits/ParameterManager/MetroParamsManagerWin.xaml
2026-02-23 14:58:05 +08:00

41 lines
1.7 KiB
XML

<Window
x:Class="Sai.Common.Shared.ParameterManager.MetroParamsManagerWin"
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:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:parameterManager="clr-namespace:SZBIM.StandardTools.ParameterManager"
x:Name="MainWindow"
Title="参数管理"
Width="800"
Height="450"
MinWidth="800"
MinHeight="500"
d:DataContext="{d:DesignInstance Type=parameterManager:MetroParamsManagerViewModel}"
mc:Ignorable="d">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Closed">
<i:InvokeCommandAction Command="{Binding ClosedCommand}" />
</i:EventTrigger>
</i:Interaction.Triggers>
<Window.Resources>
<ResourceDictionary Source="/Sai.RvKits;component/Styles/WPFUI.xaml" />
</Window.Resources>
<Grid>
<TabControl Grid.Row="0">
<!--<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<i:InvokeCommandAction Command="{Binding TabToggle}" />
</i:EventTrigger>
</i:Interaction.Triggers>-->
<TabItem Header="轨道交通工程项目参数">
<Frame x:Name="MetroProjectFrame" Source="MetroProjectParamManagerPage.xaml" />
</TabItem>
<TabItem Header="轨道交通工程构件参数">
<Frame x:Name="MetroFrame" Source="MetroParamManagerPage.xaml" />
</TabItem>
</TabControl>
</Grid>
</Window>