VisualElement.OnMeasure(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method that is called when a layout measurement happens.
protected virtual Xamarin.Forms.SizeRequest OnMeasure (double widthConstraint, double heightConstraint);
abstract member OnMeasure : double * double -> Xamarin.Forms.SizeRequest
override this.OnMeasure : double * double -> Xamarin.Forms.SizeRequest
Parameters
- widthConstraint
- System.Double
The width constraint to request.
- heightConstraint
- System.Double
The height constraint to request.