123456789101112131415161718192021222324252627282930313233343536 |
- <Page x:Class="ModelExam.User"
- 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:ModelExam"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="User">
- <Page.Resources>
- <DataTemplate x:Key="allusers">
- <Border BorderBrush="Black" BorderThickness="1" Width="170">
- <StackPanel Uid="uid" Orientation="Horizontal">
- <TextBlock Text="Фамилия: "></TextBlock>
- <TextBlock Text="{Binding surname}"></TextBlock>
- <TextBlock Text=" "></TextBlock>
- <TextBlock Text="Имя: "></TextBlock>
- <TextBlock Text="{Binding firstname}"></TextBlock>
- <TextBlock Text=" "></TextBlock>
- <TextBlock Text="Отчество: "></TextBlock>
- <TextBlock Text="{Binding patronymic}"></TextBlock>
- <StackPanel Orientation="Vertical">
- <TextBlock Text="{Binding id_post}"></TextBlock>
- </StackPanel>
- </StackPanel>
- </Border>
- </DataTemplate>
- </Page.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="7*"/>
- <RowDefinition Height="38*"/>
- </Grid.RowDefinitions>
- <ListBox Grid.Row="1" x:Name="lb" ItemTemplate="{StaticResource allusers}"></ListBox>
- </Grid>
- </Page>
|