Example #1
0
        protected override void OnSizeAllocated(double width, double height)
        {
            base.OnSizeAllocated(width, height);

            System.Diagnostics.Debug.WriteLine("deg : onSizeAllocated " + width + ", " + height);

            /*
             * SideBounds = new ViewBounds
             * {
             *  X = width
             * };
             *
             * Side.BindingContext = SideBounds;
             */

            Side2.LayoutTo(new Rectangle(Width, 0, 300, 100), 300);
            Side.LayoutTo(new Rectangle(Width, 0, 300, 100), 300);
            Scroller.LayoutTo(new Rectangle(80, 0, 200, 100));
        }