Advertisement
smeacham

Untitled

May 18th, 2016
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. using Xamarin.Forms;
  8.  
  9. namespace FrameLayoutDemoVS
  10. {
  11.     class MyContentPage : ContentPage
  12.     {
  13.         public MyContentPage()
  14.         {
  15.             Padding = 20;
  16.             Content = new Frame
  17.             {
  18.                 Content = new Label
  19.                 {
  20.                     Text = "Framed!",
  21.                     FontSize = 40
  22.                 },
  23.                 OutlineColor = Color.Accent
  24.             };
  25.         }
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement