Files
XplorePlane/XplorePlane/Views/Debug/DebugPanelWindow.xaml
T
2026-05-18 09:38:29 +08:00

51 lines
2.5 KiB
XML

<Window x:Class="XplorePlane.Views.Debug.DebugPanelWindow"
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:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:views="clr-namespace:XplorePlane.Views.Debug"
mc:Ignorable="d"
Title="[调试模式] AppState 可视化调试面板"
Width="1200"
Height="800"
WindowStartupLocation="CenterOwner">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ToolBar Grid.Row="0">
<Button Content="Save Layout" Command="{Binding SaveLayoutCommand}" />
<Button Content="Reset Layout" Command="{Binding ResetLayoutCommand}" Margin="8,0,0,0" />
<Button Content="Export All" Command="{Binding ExportAllCommand}" Margin="8,0,0,0" />
</ToolBar>
<telerik:RadDocking x:Name="DockingRoot" Grid.Row="1">
<telerik:RadSplitContainer InitialPosition="DockedLeft">
<telerik:RadPaneGroup>
<telerik:RadPane Header="State Display" CanUserClose="False">
<views:StateDisplayView DataContext="{Binding StateDisplay}" />
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadSplitContainer Orientation="Horizontal">
<telerik:RadPaneGroup>
<telerik:RadPane Header="Event Log" CanUserClose="False">
<views:EventLogView DataContext="{Binding EventLog}" />
</telerik:RadPane>
</telerik:RadPaneGroup>
<telerik:RadPaneGroup>
<telerik:RadPane Header="Snapshots" CanUserClose="False">
<views:SnapshotManagerView DataContext="{Binding SnapshotManager}" />
</telerik:RadPane>
<telerik:RadPane Header="Performance" CanUserClose="False">
<views:PerformanceMonitorView DataContext="{Binding PerformanceMonitor}" />
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</Grid>
</Window>