コード例 #1
0
        public override void Layout(RectangleF innerRect, RectangleF outerRect)
        {
            float      small = -2;
            RectangleF rect  = CanvasRenderEngine.MaxSquare(ParamControlHelper.ParamLayoutBase(this.Target.Attributes, Width, outerRect));

            rect.Inflate(small, small);
            this.Bounds = rect;
        }
コード例 #2
0
 public override void Layout(RectangleF innerRect, RectangleF outerRect)
 {
     this.Bounds = ParamControlHelper.UpDownSmallRect(ParamControlHelper.ParamLayoutBase(this.Target.Attributes, Width, outerRect, inflate: false));
 }