Class
TemplateNotAppliedException

Represents an exception raised when a control was unable to load its template correctly.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

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

Inheritance: objectExceptionTemplateNotAppliedException

Implements: ISerializable

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

Constructors

TemplateNotAppliedException(Type, object)

Initializes a new instance of the TemplateNotAppliedException class.

Declaration

cs-api-definition
public TemplateNotAppliedException(Type type, object defaultStyleKey)

Parameters

type

Type

The type of the control failed to load template.

defaultStyleKey

object

The DefaultStyleKey of control failed to load template.

Properties

ControlStyleKey

Gets the DefaultStyleKey of control failed to load template.

Declaration

cs-api-definition
public object ControlStyleKey { get; }

Property Value

object

ControlType

Gets the type of control failed to load template.

Declaration

cs-api-definition
public Type ControlType { get; }

Property Value

Type