|
@@ -32,17 +32,33 @@
|
|
|
</ListView.ItemsPanel>
|
|
|
<ListView.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
- <Border Width="500" Height="150" BorderThickness="1" BorderBrush="Red">
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <StackPanel Margin="10,0,0,0" Width="300" Orientation="Vertical" HorizontalAlignment="Left">
|
|
|
- <TextBlock Text="{Binding Surname}"/>
|
|
|
- <TextBlock Text="{Binding Name}"/>
|
|
|
- <TextBlock Text="{Binding Patronymic}"/>
|
|
|
- <TextBlock Text="{Binding Post}"/>
|
|
|
- <TextBlock Text="{Binding Phone_number}"/>
|
|
|
- <TextBlock Text="{Binding Path=Role.Title_role}"/>
|
|
|
- <TextBlock x:Name="cca" Text="{Binding Count_complete_app}" Visibility="Hidden"/>
|
|
|
- <TextBlock x:Name="cce" Text="{Binding Count_complete_event}" Visibility="Hidden"/>
|
|
|
+ <Border Width="500" BorderThickness="1" BorderBrush="Red">
|
|
|
+ <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
+ <StackPanel Margin="10,0,0,0" Width="300" Orientation="Vertical" HorizontalAlignment="Center">
|
|
|
+ <GroupBox Height="40" Header="Фамилия" BorderThickness="2" BorderBrush="#FF0000">
|
|
|
+ <TextBlock Text="{Binding Surname}"/>
|
|
|
+ </GroupBox>
|
|
|
+ <GroupBox Height="40" Header="Имя" BorderThickness="2" BorderBrush="#FF0000">
|
|
|
+ <TextBlock Text="{Binding Name}"/>
|
|
|
+ </GroupBox>
|
|
|
+ <GroupBox Height="40" Header="Отчество" BorderThickness="2" BorderBrush="#FF0000">
|
|
|
+ <TextBlock Text="{Binding Patronymic}"/>
|
|
|
+ </GroupBox>
|
|
|
+ <GroupBox Height="40" Header="Должность" BorderThickness="2" BorderBrush="#FF0000">
|
|
|
+ <TextBlock Text="{Binding Post}"/>
|
|
|
+ </GroupBox>
|
|
|
+ <GroupBox Height="40" Header="Телефон" BorderThickness="2" BorderBrush="#FF0000">
|
|
|
+ <TextBlock Text="{Binding Phone_number}"/>
|
|
|
+ </GroupBox>
|
|
|
+ <GroupBox Height="40" Header="Роль" BorderThickness="2" BorderBrush="#FF0000">
|
|
|
+ <TextBlock Text="{Binding Path=Role.Title_role}"/>
|
|
|
+ </GroupBox>
|
|
|
+ <GroupBox Name="cca" Height="40" Header="Кол-во выполненных служебных записок" BorderThickness="2" BorderBrush="#FF0000" Visibility="Hidden">
|
|
|
+ <TextBlock Text="{Binding Count_complete_app}"/>
|
|
|
+ </GroupBox>
|
|
|
+ <GroupBox Name="cce" Height="40" Header="Кол-во проведенных мероприятий" BorderThickness="2" BorderBrush="#FF0000" Visibility="Hidden">
|
|
|
+ <TextBlock Text="{Binding Count_complete_event}"/>
|
|
|
+ </GroupBox>
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
</Border>
|