|  | 
| 1 |  | -<Page | 
| 2 |  | -    x:Class="SampleTest.Samples.PeoplePickerSample" | 
| 3 |  | -    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | 
| 4 |  | -    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | 
| 5 |  | -    xmlns:local="using:SampleTest.Samples" | 
| 6 |  | -    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | 
| 7 |  | -    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  | 
| 8 |  | -    xmlns:controls="using:CommunityToolkit.Graph.Uwp.Controls" | 
| 9 |  | -    xmlns:graph="using:Microsoft.Graph" | 
| 10 |  | -    mc:Ignorable="d" | 
| 11 |  | -    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | 
|  | 1 | +<Page x:Class="SampleTest.Samples.PeoplePickerSample" | 
|  | 2 | +      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | 
|  | 3 | +      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | 
|  | 4 | +      xmlns:controls="using:CommunityToolkit.Graph.Uwp.Controls" | 
|  | 5 | +      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | 
|  | 6 | +      xmlns:graph="using:Microsoft.Graph" | 
|  | 7 | +      xmlns:local="using:SampleTest.Samples" | 
|  | 8 | +      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | 
|  | 9 | +      Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" | 
|  | 10 | +      mc:Ignorable="d"> | 
| 12 | 11 | 
 | 
| 13 | 12 |     <Page.Resources> | 
| 14 | 13 |         <graph:Person x:Key="GraphPerson" /> | 
| 15 | 14 |     </Page.Resources> | 
| 16 |  | -     | 
|  | 15 | + | 
| 17 | 16 |     <Grid> | 
| 18 | 17 |         <StackPanel> | 
| 19 |  | -            <TextBlock Margin="0,0,0,16" TextWrapping="WrapWholeWords"> | 
|  | 18 | +            <TextBlock Margin="0,0,0,16" | 
|  | 19 | +                       TextWrapping="WrapWholeWords"> | 
| 20 | 20 |                 The `PeoplePicker` lets a logged in user easily search for familiar people they interact with or contacts. Great for emails or messages. | 
| 21 | 21 |             </TextBlock> | 
| 22 |  | -            <controls:PeoplePicker x:Name="PeopleChooser" /> | 
| 23 |  | -            <TextBlock Margin="0,8,0,0" FontWeight="Bold"> | 
|  | 22 | +            <controls:PeoplePicker x:Name="PeopleChooser" | 
|  | 23 | +                                   ItemsSource="{x:Bind MyPeople}" /> | 
|  | 24 | +            <TextBlock Margin="0,8,0,0" | 
|  | 25 | +                       FontWeight="Bold"> | 
| 24 | 26 |                 Picked People: | 
| 25 | 27 |             </TextBlock> | 
| 26 |  | -            <ItemsControl Margin="8,0,0,0" ItemsSource="{x:Bind PeopleChooser.ItemsSource}"> | 
|  | 28 | +            <ItemsControl Margin="8,0,0,0" | 
|  | 29 | +                          ItemsSource="{x:Bind MyPeople}"> | 
| 27 | 30 |                 <ItemsControl.ItemTemplate> | 
| 28 | 31 |                     <DataTemplate x:DataType="graph:Person"> | 
| 29 | 32 |                         <TextBlock Text="{x:Bind DisplayName}" /> | 
|  | 
0 commit comments