Advertisement
Guest User

Untitled

a guest
May 24th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.50 KB | None | 0 0
  1. <TextBlock Text="{x:Bind MyPerson.Name}" Margin="20"/>
  2.        
  3.         <GridView>
  4.             <GridView.ItemTemplate>
  5.                 <DataTemplate x:DataType="model:Person">
  6.                     <Grid>
  7.                         <TextBlock Text="{x:Bind Name}"/>
  8.                     </Grid>
  9.                 </DataTemplate>
  10.             </GridView.ItemTemplate>
  11.         </GridView>
  12.  
  13. public class Person
  14.     {
  15.         public string Name { get; set; }
  16.     }
  17.  
  18. MyPerson = new Person { Name = "MUG" };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement