Exemplo n.º 1
0
        public SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint)
        {
            if (!_nativeViewLoaded)
            {
                return(new SizeRequest(Size.Zero));
            }

            var size = ViewHandler.GetDesiredSize(widthConstraint, heightConstraint);

            return(new SizeRequest(size, size));
        }
Exemplo n.º 2
0
        public SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint)
        {
            var size = ViewHandler.GetDesiredSize(widthConstraint, heightConstraint);

            return(new SizeRequest(size, size));
        }
Exemplo n.º 3
0
 public SizeRequest GetDesiredSize(int widthConstraint, int heightConstraint)
 {
     return(ViewHandler.GetDesiredSize(widthConstraint, heightConstraint));
 }