Interface IMeasureSize
Defines methods that must be implemented to measure the dimensions of a view.
Namespace: Syncfusion.ListView.XForms
Assembly: Syncfusion.SfListView.XForms.dll
Syntax
public interface IMeasureSize
Methods
CalculateSize(SfListView, View, Size, Boolean)
Measures the size of given view based on the view size.
Declaration
Size CalculateSize(SfListView listView, View content, Size viewSize, bool isMeasureInvalidated = false)
Parameters
Type | Name | Description |
---|---|---|
SfListView | listView | The instance of SfListView. |
Xamarin.Forms.View | content | The view of item template. |
Xamarin.Forms.Size | viewSize | The actual view size of SfListView. |
System.Boolean | isMeasureInvalidated | Represents whether the child element is in MeasureInvalidated process. |
Returns
Type | Description |
---|---|
Xamarin.Forms.Size | Returns the measure size of view. |