Exception thrown when a DataTemplate content cannot be cast to the expected type.
Definition
Namespace:Telerik.Maui
Assembly:Telerik.Maui.Core.dll
Syntax:
C#
public class DataTemplateContentCastException : Exception, ISerializable
Inheritance: objectExceptionDataTemplateContentCastException
Implements:
Inherited Members
Constructors
Initializes a new instance of the DataTemplateContentCastException class.
C#
public DataTemplateContentCastException(string message = "DataTemplate.Content cannot be cast to Xamarin.Forms.Cell.")
The error message that explains the reason for the exception.