Example #1
0
        protected SheetViewBase(SheetViewStyle style)
        {
            this.style  = style;
            SheetLayout = new AbsoluteLayout()
            {
                HorizontalOptions = LayoutOptions.FillAndExpand,
                VerticalOptions   = LayoutOptions.FillAndExpand
            };

            Overlay = new BoxView()
            {
                BackgroundColor = style.OverlayColor,
                Color           = style.OverlayColor,
                Opacity         = 0
            };

            SheetLayout.Children.Add(Overlay, new Rectangle(0, 0, 1, 1), AbsoluteLayoutFlags.All);

            Content = SheetLayout;
        }
Example #2
0
 protected PromptSheetViewBase(SheetViewStyle style) : base(style)
 {
 }