123456789101112131415161718192021222324252627282930313233 |
- <Page x:Class="Exam.UserActivity"
- 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:Exam"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800" Background="White"
- Title="UserActivity">
- <Grid>
- <DockPanel>
- <StackPanel DockPanel.Dock="Top">
- <ComboBox x:Name="CBUsers" Height="20" Width="300" Margin="10" Visibility="Collapsed" SelectionChanged="User_Changed"/>
- </StackPanel>
- <StackPanel DockPanel.Dock="Top">
- <TextBlock x:Name="TBAllPoints" Margin="10"/>
- <TextBlock x:Name="TBPosition" Margin="10"/>
- </StackPanel>
- <ListView x:Name="LVUsers" ScrollViewer.HorizontalScrollBarVisibility="Disabled" DockPanel.Dock="Top">
- <ListView.ItemTemplate>
- <DataTemplate>
- <StackPanel Margin="10">
- <TextBlock Text="{Binding metrics.metric, StringFormat=Метрика: {0}}" Margin="10"/>
- <TextBlock Text="{Binding coefficient, StringFormat=Коэффициент: {0}}" Margin="10"/>
- <TextBlock Text="{Binding dateofachievement, StringFormat=Дата получения: {0:dd.mm.yyyy}}" Margin="10"/>
- </StackPanel>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </DockPanel>
- </Grid>
- </Page>
|