<Page x:Class="CCDCountWpf.WpfPage.MessagePage"
      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:CCDCountWpf.WpfPage"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="MessagePage">

    <Grid>
        <DataGrid ItemsSource="{Binding ErrMessageShowList}" AutoGenerateColumns="False">
            <DataGrid.Columns>
                <DataGridTextColumn Header="编号" Binding="{Binding Number}" />
                <DataGridTextColumn Header="类别" Binding="{Binding Category}" />
                <DataGridTextColumn Header="类型" Binding="{Binding MessageType}" />
                <DataGridTextColumn Header="消息文本" Binding="{Binding Message}" />
                <DataGridTextColumn Header="时间" Binding="{Binding DateTime}" />
                <DataGridTextColumn Header="用户ID" Binding="{Binding UserID}" />
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Page>
