<Window
    x:Class="uBIMEarthTools.MassEarthwork.Views.MassCutEverythingWindow"
    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"
    Title="开挖土方量统计"
    Width="800"
    Height="450"
    mc:Ignorable="d">
    <Grid>
        <DataGrid
            x:Name="Imported"
            VerticalAlignment="Top"
            HorizontalContentAlignment="Center"
            VerticalContentAlignment="Center"
            AutoGenerateColumns="False"
            CanUserAddRows="False"
            CanUserResizeColumns="True"
            ItemsSource="{Binding MassCutEverythingDataInfos}"
            RowHeight="23">
            <DataGrid.Columns>
                <DataGridTextColumn
                    Width="300"
                    Binding="{Binding Name}"
                    Header="名称" />
                <DataGridTextColumn
                    Width="100"
                    Binding="{Binding Count}"
                    Header="数量" />
                <DataGridTextColumn
                    Width="80"
                    Binding="{Binding Unit}"
                    Header="单位" />
                <DataGridTextColumn
                    Width="300"
                    Binding="{Binding Volume}"
                    Header="体积" />
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</Window>
