|
@@ -0,0 +1,61 @@
|
|
|
+<Page x:Class="SASDesktop.Views.Drivers.DriverListOutput"
|
|
|
+ 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:SASDesktop.Views.Drivers"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ d:DesignHeight="800" d:DesignWidth="800"
|
|
|
+ Title="DriverListOutput">
|
|
|
+ <ScrollViewer>
|
|
|
+ <StackPanel
|
|
|
+ CanVerticallyScroll="True"
|
|
|
+ Style="{StaticResource FormContainer}">
|
|
|
+
|
|
|
+ <TextBlock HorizontalAlignment="Center"
|
|
|
+ Style="{StaticResource H2}"
|
|
|
+ Text="Список водителей"/>
|
|
|
+
|
|
|
+ <Grid>
|
|
|
+ <StackPanel
|
|
|
+ Height="200">
|
|
|
+ <ListView ItemsSource="{Binding lvOutPutCitizen}">
|
|
|
+ <ListView.ItemsPanel>
|
|
|
+ <ItemsPanelTemplate>
|
|
|
+ <WrapPanel Orientation="Horizontal"/>
|
|
|
+ </ItemsPanelTemplate>
|
|
|
+ </ListView.ItemsPanel>
|
|
|
+ <ListView.ItemTemplate>
|
|
|
+ <DataTemplate>
|
|
|
+ <Border>
|
|
|
+ <Grid>
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <StackPanel>
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <TextBlock Text="{Binding GetHumanName}"
|
|
|
+ Style="{StaticResource H4}"/>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+ <TextBlock Text="{Binding Path=Job1.Name}"/>
|
|
|
+ <TextBlock Text="{Binding Path=Job1.Company1.Name}"/>
|
|
|
+ <Image Source="{Binding Path=Photo1.BinaryData}"/>
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+ </Border>
|
|
|
+ </DataTemplate>
|
|
|
+ </ListView.ItemTemplate>
|
|
|
+ </ListView>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
+ </ScrollViewer>
|
|
|
+</Page>
|