Class
DataTemplateContentCastException

Exception thrown when a DataTemplate content cannot be cast to the expected type.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class DataTemplateContentCastException : Exception, ISerializable

Inheritance: objectExceptionDataTemplateContentCastException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState

Constructors

DataTemplateContentCastException(string)

Initializes a new instance of the DataTemplateContentCastException class.

Declaration

cs-api-definition
public DataTemplateContentCastException(string message = "DataTemplate.Content cannot be cast to Xamarin.Forms.Cell.")

Parameters

message

string

The error message that explains the reason for the exception.