1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <Page x:Class="ModuleExam.RatingPage"
- 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:ModuleExam"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="RatingPage">
- <Grid Background="White">
- <Grid.RowDefinitions>
- <RowDefinition Height="10*"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <ListView Grid.Row="0" Name="UsersList">
- <ListView.ItemsPanel>
- <ItemsPanelTemplate>
- <StackPanel Orientation="Vertical"/>
- </ItemsPanelTemplate>
- </ListView.ItemsPanel>
- <ListView.ItemTemplate>
- <DataTemplate>
- <Border>
- <StackPanel Orientation="Horizontal">
- <TextBlock Text="{Binding FullName}"/>
- <TextBlock Margin="10,0,0,0" Text="{Binding TotalScore}"/>
- <TextBlock Margin="10,0,0,0" Uid="{Binding UserId}" Loaded="PlaceInList"/>
- </StackPanel>
- </Border>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- <StackPanel HorizontalAlignment="Center" Grid.Row="1">
- <Button Content="Вернуться назад" Click="GoBack"/>
- </StackPanel>
- </Grid>
- </Page>
|