<UserControl x:Class="Serein.Workbench.Themes.ObjectViewerControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Serein.Workbench.Themes"
             mc:Ignorable="d" 
             d:DesignHeight="400" d:DesignWidth="400">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <!-- 按钮 -->
            <RowDefinition Height="*" />
            <!-- 树视图 -->
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal" Grid.Row="0" >
            <!---->
            <!--<Button Grid.Row="0" HorizontalAlignment="Left" Margin="14,2,4,2" Content="监视" Width="100" Height="20" Name="TimerRefreshButton"/>-->
            <!--<Button Grid.Row="0" HorizontalAlignment="Left" Margin="14,2,4,2" Content="添加监视表达式" Width="100" Height="20" Name="AddMonitorExpressionButton" Click="AddMonitorExpressionButton_Click"/>-->
            <Button Grid.Row="0" HorizontalAlignment="Left" Margin="4,2,4,2" Content="刷新" Width="40" Height="20"  Name="RefreshButton" Click="RefreshButton_Click"/>
            <Button Grid.Row="0" HorizontalAlignment="Left" Margin="4,2,4,2" Content="添加监视表达式" Width="80" Height="20"  Name="UpMonitorExpressionButton" Click="UpMonitorExpressionButton_Click"/>
            <TextBox x:Name="ExpressionTextBox"  Margin="4,2,4,2" Width="300"/>
        
        </StackPanel>
        <!-- 刷新按钮 -->

        <!-- 树视图，用于显示对象属性 -->
        <TreeView FontSize="14" x:Name="ObjectTreeView" Grid.Row="1" />
    </Grid>
</UserControl>
