You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
2.8 KiB
XML
42 lines
2.8 KiB
XML
<Window x:Class="Aucma.Core.BoxFoam.Views.UserPage.SpaceDetailPageView"
|
|
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:local="clr-namespace:Aucma.Core.BoxFoam.Views.UserPage"
|
|
mc:Ignorable="d"
|
|
Background="White"
|
|
Title="货道明细" Height="450" Width="800">
|
|
|
|
<Window.Resources>
|
|
<Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
</Style>
|
|
<Style x:Key="ColumnHeaderStyle" TargetType="DataGridColumnHeader">
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
<Setter Property="Background" Value="#dddddd"/>
|
|
</Style>
|
|
</Window.Resources>
|
|
|
|
<Border Grid.Row="1" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" Background="Transparent" Margin="5,5" x:Name="SpaceDetailPanel">
|
|
<Grid>
|
|
|
|
<DataGrid Grid.Row="0" ItemsSource="{Binding SpaceDetilDataGrid}" Background="#00000000"
|
|
ColumnHeaderHeight="35" Height="{Binding Path=ActualHeight, ElementName=SpaceDetailPanel}"
|
|
RowHeight="50" AutoGenerateColumns="False" RowHeaderWidth="0"
|
|
GridLinesVisibility="None" ScrollViewer.HorizontalScrollBarVisibility="Auto"
|
|
ScrollViewer.VerticalScrollBarVisibility="Auto" BorderThickness="0" CanUserAddRows="False" SelectionMode="Single" IsReadOnly="True"
|
|
Foreground="Gray" >
|
|
<!--修改选中字体颜色-->
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Binding="{Binding SpaceCode}" Header="货道" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding MaterialCode}" Header="物料条码" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding MaterialBarCode}" Header="物料条码" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
<DataGridTextColumn Binding="{Binding MaterialName}" Header="物料名称" Width="1*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" />
|
|
<DataGridTextColumn Binding="{Binding CreatedTime ,StringFormat=\{0:yyyy-MM-dd HH:mm\}}" Header="入库时间" Width="1.5*" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
</Grid>
|
|
</Border>
|
|
</Window>
|