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)); }
public SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint) { var size = ViewHandler.GetDesiredSize(widthConstraint, heightConstraint); return(new SizeRequest(size, size)); }
public SizeRequest GetDesiredSize(int widthConstraint, int heightConstraint) { return(ViewHandler.GetDesiredSize(widthConstraint, heightConstraint)); }