Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. interface IBaseInterface
  2. {
  3. string A { get; set; }
  4. }
  5. interface ISubInterface : IBaseInterface
  6. {
  7. string B { get; set; }
  8. }
  9. class ImplementationClass : ISubInterface
  10. {
  11. public string A { get; set; }
  12. public string B { get; set; }
  13. }
  14.  
  15. public partial class MainPage : Page
  16. {
  17. public ISubClass TheObject = new ImplementationClass { A = "1", B = "2" };
  18. //All the rest goes here
  19. }
  20.  
  21. <TextBlock Text={x:Bind Path=TheObject.A}></TextBlock>
  22.  
  23. <TextBlock Text={x:Bind Path=TheObject.B}></TextBlock>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement