Syncfusion.SfDataGrid.XForms
The available width for the element to use.
The available height for the element to use.

OnMeasure Method (SfDataGrid)

This method is called during the measure pass of a layout cycle to get the desired size of an element.
Syntax
protected override Xamarin.Forms.SizeRequest OnMeasure( 
   double widthConstraint,
   double heightConstraint
)

Parameters

widthConstraint
The available width for the element to use.
heightConstraint
The available height for the element to use.

Return Value

A Xamarin.Forms.SizeRequest which contains the desired size of the element.
Remarks
The results of this method will be (-1, -1) if the element has not yet been realized with a platform specific backing control. Overriding this method does not require a call to the base class so long as a valid SizeRequest is returned.
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.2451.0.34

See Also