ItemsView<TVisual>.ValidateItemTemplate(DataTemplate) 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.
May be overridden by the application developer to validate data templates.
protected virtual bool ValidateItemTemplate (Xamarin.Forms.DataTemplate template);
abstract member ValidateItemTemplate : Xamarin.Forms.DataTemplate -> bool
override this.ValidateItemTemplate : Xamarin.Forms.DataTemplate -> bool
Parameters
- template
- DataTemplate
The template to validate.
Returns
System.Boolean
The default implementation returns true
. Otherwise, the developer may override this method to return false
if template
is not valid.