Guest User

Untitled

a guest
Apr 19th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. using Xamarin.Forms;
  2.  
  3. RootPage.Children.Add(new ContentPage {
  4. Content = new Label
  5. {
  6. Text = “Sketches in Forms”,
  7. BackgroundColor = Color.Yellow,
  8. TextColor = Color.Blue,
  9. Font = Font.SystemFontOfSize(NamedSize.Large),
  10. VerticalOptions = LayoutOptions.CenterAndExpand,
  11. HorizontalOptions = LayoutOptions.CenterAndExpand,
  12. }
  13. });
Add Comment
Please, Sign In to add comment