共用方式為


ListView.ValidateItemTemplate(DataTemplate) Method

Definition

Returns false if template is a template selector and elements are being retained. Otherwise, returns true.

protected override bool ValidateItemTemplate (Xamarin.Forms.DataTemplate template);
override this.ValidateItemTemplate : Xamarin.Forms.DataTemplate -> bool

Parameters

template
DataTemplate

Returns

System.Boolean

false if template is a template selector and elements are being retained. Otherwise, true.

Applies to