PageRenderTime 38ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/V1/trunk/Source/QuickStarts/UIComposition/UIComposition.Modules.Employee/Views/EmployeesListView/EmployeesListView.xaml

#
XAML | 15 lines | 15 code | 0 blank | 0 comment | 0 complexity | 877f76c2897500b9833ea44dc9c34619 MD5 | raw file
  1. <UserControl x:Class="UIComposition.Modules.Employee.EmployeesListView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  4. <StackPanel>
  5. <Label Width="Auto" Height="Auto" Content="Select Employee:" Padding="0,0,0,0" FontWeight="Bold" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  6. <ListView x:Name="EmployeesList" ItemsSource="{Binding}" SelectionChanged="EmployeesList_SelectionChanged">
  7. <ListView.View>
  8. <GridView>
  9. <GridViewColumn Header="First Name" DisplayMemberBinding="{Binding Path=FirstName}"></GridViewColumn>
  10. <GridViewColumn Header="Last Name" DisplayMemberBinding="{Binding Path=LastName}"></GridViewColumn>
  11. </GridView>
  12. </ListView.View>
  13. </ListView>
  14. </StackPanel>
  15. </UserControl>