예제 #1
0
 public AlertSheetStyle()
 {
     TitleLabelStyle      = new SheetLabelStyle();
     BodyLabelStyle       = new SheetLabelStyle();
     PrimaryButtonStyle   = new SheetButtonStyle();
     SecondaryButtonStyle = new SheetButtonStyle();
 }
예제 #2
0
 public InputPopupStyle()
 {
     TitleLabelStyle      = new SheetLabelStyle();
     BodyLabelStyle       = new SheetLabelStyle();
     EntryStyle           = new SheetEntryStyle();
     PrimaryButtonStyle   = new SheetButtonStyle();
     SecondaryButtonStyle = new SheetButtonStyle();
 }
예제 #3
0
        protected Label CreateLabel(SheetLabelStyle style, string text)
        {
            var label = new Label()
            {
                Text = text
            };

            style.ApplyTo(label);
            return(label);
        }