/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
- <UserControl x:Class="UIComposition.Modules.Employee.EmployeesListView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
- <StackPanel>
- <Label Width="Auto" Height="Auto" Content="Select Employee:" Padding="0,0,0,0" FontWeight="Bold" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
- <ListView x:Name="EmployeesList" ItemsSource="{Binding}" SelectionChanged="EmployeesList_SelectionChanged">
- <ListView.View>
- <GridView>
- <GridViewColumn Header="First Name" DisplayMemberBinding="{Binding Path=FirstName}"></GridViewColumn>
- <GridViewColumn Header="Last Name" DisplayMemberBinding="{Binding Path=LastName}"></GridViewColumn>
- </GridView>
- </ListView.View>
- </ListView>
- </StackPanel>
- </UserControl>