PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/V1/trunk/Source/QuickStarts/UIComposition/UIComposition.Modules.Project/Views/ProjectsListView/ProjectsListView.xaml

#
XAML | 15 lines | 15 code | 0 blank | 0 comment | 0 complexity | b25c2d076e169b0633a743f2f7da0c75 MD5 | raw file
 1<UserControl x:Class="UIComposition.Modules.Project.ProjectsListView"
 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="This employee is part of the following projects:" Padding="0,0,0,0" FontWeight="Bold" Margin="0,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"/>
 6        <ListView AutomationProperties.AutomationId="ProjectsList" ItemsSource="{Binding Projects}">
 7            <ListView.View>
 8                <GridView>
 9                    <GridViewColumn Header="Project" DisplayMemberBinding="{Binding Path=ProjectName}"></GridViewColumn>
10                    <GridViewColumn Header="Role" DisplayMemberBinding="{Binding Path=Role}"></GridViewColumn>
11                </GridView>
12            </ListView.View>
13        </ListView>
14    </StackPanel>
15</UserControl>