|
|
@ -8,15 +8,20 @@ |
|
|
|
mc:Ignorable="d" |
|
|
|
d:DesignHeight="630" d:DesignWidth="1280" VerticalAlignment="Top"> |
|
|
|
<Grid> |
|
|
|
<TextBox HorizontalAlignment="Left" Margin="0,0,0,0" TextWrapping="Wrap" Text="TextBox" Width="400"/> |
|
|
|
|
|
|
|
<TextBlock x:Name="log" HorizontalAlignment="Left" Margin="0,0,0,0" TextWrapping="Wrap" Width="400" FontSize="20" MinHeight="630" Background="White"/> |
|
|
|
<TextBlock x:Name="name" HorizontalAlignment="Left" Margin="400,0,0,0" TextWrapping="Wrap" FontSize="24" Background="#FFD0D0D0" Text="NAME" Height="30" Block.TextAlignment="Center"> |
|
|
|
<TextBlock.LayoutTransform> |
|
|
|
<!--文字同样旋转90度--> |
|
|
|
<RotateTransform Angle="270"/> |
|
|
|
</TextBlock.LayoutTransform> |
|
|
|
</TextBlock> |
|
|
|
<DataGrid x:Name="Grid" AlternationCount="2" IsReadOnly="True" |
|
|
|
Margin="400,0,0,0" d:ItemsSource="{d:SampleData ItemCount=90}" AutoGenerateColumns="False" MinColumnWidth="30" |
|
|
|
HorizontalGridLinesBrush="#FFC9C9C9" VerticalGridLinesBrush="#FFC9C9C9" GridLinesVisibility="All" BorderBrush="#CCCCCC" |
|
|
|
Margin="430,0,0,0" d:ItemsSource="{d:SampleData ItemCount=90}" AutoGenerateColumns="False" MinColumnWidth="30" |
|
|
|
HorizontalGridLinesBrush="#FFC9C9C9" VerticalGridLinesBrush="#FFC9C9C9" GridLinesVisibility="All" BorderBrush="Black" |
|
|
|
BorderThickness="1,1,1,1" ColumnHeaderHeight="40" HorizontalContentAlignment="Right" Grid.ColumnSpan="2" AllowDrop="False" |
|
|
|
CanUserReorderColumns="False" CanUserSortColumns="False" CanUserResizeRows="False" CanUserResizeColumns="False" |
|
|
|
CanUserAddRows="True" CanUserDeleteRows="False" HeadersVisibility ="Column" |
|
|
|
Background="White" SelectionMode="Single" FontSize="15"> |
|
|
|
Background="White" SelectionMode="Single" FontSize="15" MinHeight="632"> |
|
|
|
<DataGrid.RowStyle > |
|
|
|
<Style TargetType="{x:Type DataGridRow}"> |
|
|
|
<Setter Property="Height" Value="30" /> |
|
|
|