|
@@ -12,42 +12,48 @@
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
<Border BorderThickness="2" BorderBrush="Green">
|
|
|
+ <StackPanel Orientation="Horizontal" Margin="20">
|
|
|
<StackPanel>
|
|
|
<TextBlock FontWeight="Bold">Личная информация:</TextBlock>
|
|
|
<TextBlock Text="{Binding FIO}"></TextBlock>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Text="Пол: "></TextBlock>
|
|
|
- <TextBlock Text="{Binding Gender.Title}"></TextBlock>
|
|
|
+ <TextBlock Text="{Binding Gender.Title, StringFormat= Пол: {0}}"></TextBlock>
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Text="Дата рождения: "></TextBlock>
|
|
|
- <TextBlock Text="{Binding Dateofbirth, StringFormat=D}"></TextBlock>
|
|
|
+ <TextBlock Text="{Binding Dateofbirth, StringFormat=Дата рождения: {0:D}}"></TextBlock>
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Text="Стаж работы: "></TextBlock>
|
|
|
- <TextBlock Text="{Binding ExperienceYM}"></TextBlock>
|
|
|
+ <TextBlock Text="{Binding ExperienceYM, StringFormat= Стаж работы: {0}}"></TextBlock>
|
|
|
</StackPanel>
|
|
|
<TextBlock FontWeight="Bold">Контактная информация:</TextBlock>
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Text="Почта: "></TextBlock>
|
|
|
- <TextBlock Text="{Binding Email}" Margin="0,0,30,0"></TextBlock>
|
|
|
- <TextBlock Text="Телефон: "></TextBlock>
|
|
|
- <TextBlock Text="{Binding PhoneText}"></TextBlock>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock FontWeight="Bold" Text="Курсы в общем объеме "></TextBlock>
|
|
|
- <TextBlock Text=""></TextBlock>
|
|
|
+ <TextBlock Text="{Binding Email, StringFormat=Почта: {0}}" Margin="0,0,30,0"></TextBlock>
|
|
|
+ <TextBlock Text="{Binding PhoneText, StringFormat=Телефон: {0}}"></TextBlock>
|
|
|
</StackPanel>
|
|
|
+ <TextBlock FontWeight="Bold" Text="{Binding CountHour, StringFormat=Курсы в общем объеме {0} часов}"></TextBlock>
|
|
|
<StackPanel>
|
|
|
<ItemsRepeater ItemsSource="{Binding Teachercourses}">
|
|
|
<ItemsRepeater.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding Course.Title}"></TextBlock>
|
|
|
+ <TextBlock Text="{Binding Course.Title, StringFormat = - {0}}"></TextBlock>
|
|
|
</DataTemplate>
|
|
|
</ItemsRepeater.ItemTemplate>
|
|
|
</ItemsRepeater>
|
|
|
</StackPanel>
|
|
|
</StackPanel>
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock FontWeight="Bold" Text="Преподоваемые предметы: "></TextBlock>
|
|
|
+ <StackPanel>
|
|
|
+ <ItemsRepeater ItemsSource="{Binding Teacherdisciplines}">
|
|
|
+ <ItemsRepeater.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <TextBlock Text="{Binding Discipline.Title, StringFormat = - {0}}"></TextBlock>
|
|
|
+ </DataTemplate>
|
|
|
+ </ItemsRepeater.ItemTemplate>
|
|
|
+ </ItemsRepeater>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
</Border>
|
|
|
</DataTemplate>
|
|
|
</ListBox.ItemTemplate>
|