示例#1
0
        public override void LayoutSubviews()
        {
            base.LayoutSubviews();

            _dg.Layout(Bounds.Width, Bounds.Height);
        }
        protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
        {
            //base.OnLayout (changed, left, top, right, bottom);

            _dg.Layout(right - left, bottom - top);
        }