示例#1
0
        static Rectangle SolveView(View view)
        {
            BoundsConstraint boundsConstraint = GetBoundsConstraint(view);

            if (boundsConstraint == null)
            {
                throw new Exception("BoundsConstraint should not be null at this point");
            }

            var result = boundsConstraint.Compute();

            return(result);
        }