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

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