You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
87 lines
5.3 KiB
87 lines
5.3 KiB
<Border x:Class="SparkClient.Views.Grading.GradingResult" |
|
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:hc="https://handyorg.github.io/handycontrol" |
|
xmlns:local="clr-namespace:SparkClient.Views.Grading" |
|
xmlns:hx="http://helix-toolkit.org/wpf/SharpDX" |
|
mc:Ignorable="d" |
|
d:DesignWidth="1000" |
|
d:DesignHeight="600" |
|
> |
|
<Grid > |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition MinWidth="300" Width="5*" /> |
|
<ColumnDefinition Width="Auto" /> |
|
<ColumnDefinition MinWidth="300" Width="4*" /> |
|
</Grid.ColumnDefinitions> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="Auto"></RowDefinition> |
|
<RowDefinition Height="*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
|
|
<Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Background="White" Height="50"> |
|
|
|
</Border> |
|
|
|
<Border Grid.Row="1" Grid.Column="0" Background="Aqua"> |
|
<DataGrid HeadersVisibility="All" AutoGenerateColumns="False" ItemsSource="{Binding DtResults}"> |
|
<DataGrid.Columns> |
|
<DataGridTextColumn Width="120" IsReadOnly="True" Header="" Binding="{Binding Name}"/> |
|
<DataGridTextColumn Width="Auto" IsReadOnly="True" Header="{DynamicResource resAvg}" Binding="{Binding Avg}"/> |
|
<DataGridTextColumn Width="Auto" IsReadOnly="True" Header="{DynamicResource resYuan}" Binding="{Binding Yuan}" /> |
|
<DataGridTextColumn Width="Auto" IsReadOnly="True" Header="{DynamicResource resShen}" Binding="{Binding Shen}"/> |
|
<DataGridTextColumn Width="Auto" IsReadOnly="True" Header="{DynamicResource resMin}" Binding="{Binding Min}" /> |
|
<DataGridTextColumn Width="Auto" IsReadOnly="True" Header="{DynamicResource resMax}" Binding="{Binding Max}"/> |
|
<DataGridTextColumn Width="Auto" IsReadOnly="True" Header="{DynamicResource resLevel}" Binding="{Binding Level}"/> |
|
<!-- <DataGridTemplateColumn Width="Auto" IsReadOnly="True" Header="操作" > --> |
|
<!-- <DataGridTemplateColumn.CellTemplate> --> |
|
<!-- <DataTemplate> --> |
|
<!-- <Button Command="{Binding DataContext.ChangeNormCommand, RelativeSource={RelativeSource AncestorType=DataGrid}}" CommandParameter="{Binding}">测试</Button> --> |
|
<!-- </DataTemplate> --> |
|
<!-- </DataGridTemplateColumn.CellTemplate> --> |
|
<!-- </DataGridTemplateColumn> --> |
|
</DataGrid.Columns> |
|
</DataGrid> |
|
</Border> |
|
<GridSplitter Grid.Row="1" Grid.Column="1" Width="3" HorizontalAlignment="Stretch"></GridSplitter> |
|
<Border Grid.Row="1" Grid.Column="2" Background="Aquamarine"> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="50"></RowDefinition> |
|
<RowDefinition Height="*"></RowDefinition> |
|
</Grid.RowDefinitions> |
|
|
|
<Border Grid.Row="0" Background="Fuchsia" /> |
|
<Border Grid.Row="1" BorderThickness="1" CornerRadius="0" BorderBrush="Black" Margin="5"> |
|
<hx:Viewport3DX Grid.Column="0" x:Name="Viewport3Dx" MouseLeftButtonDown="Viewport3Dx_OnMouseLeftButtonDown" ClipToBounds="True"> |
|
<hx:Viewport3DX.InputBindings> |
|
<KeyBinding Key="B" Command="hx:ViewportCommands.BackView" /> |
|
<KeyBinding Key="F" Command="hx:ViewportCommands.FrontView" /> |
|
<KeyBinding Key="U" Command="hx:ViewportCommands.TopView" /> |
|
<KeyBinding Key="D" Command="hx:ViewportCommands.BottomView" /> |
|
<KeyBinding Key="L" Command="hx:ViewportCommands.LeftView" /> |
|
<KeyBinding Key="R" Command="hx:ViewportCommands.RightView" /> |
|
<KeyBinding Command="hx:ViewportCommands.ZoomExtents" Gesture="Control+E" /> |
|
<MouseBinding Command="hx:ViewportCommands.Rotate" Gesture="RightClick" /> |
|
<MouseBinding Command="hx:ViewportCommands.Zoom" Gesture="MiddleClick" /> |
|
<MouseBinding Command="hx:ViewportCommands.Pan" Gesture="LeftClick" /> |
|
</hx:Viewport3DX.InputBindings> |
|
<!-- <hx:DirectionalLight3D x:Name="MainDirectionalLight" /> --> |
|
<!-- <hx:PointLight3D x:Name="MainPointLight" /> --> |
|
<!-- <hx:AmbientLight3D x:Name="AmbientLight" /> --> |
|
<!-- <hx:AxisPlaneGridModel3D --> |
|
<!-- AutoSpacing="false" --> |
|
<!-- RenderShadowMap="true" --> |
|
<!-- Offset="-65" /> --> |
|
</hx:Viewport3DX> |
|
</Border> |
|
|
|
|
|
|
|
</Grid> |
|
|
|
</Border> |
|
</Grid> |
|
</Border>
|
|
|