CreateCustomTemplateEventArgs(XafApplication, TemplateContext) Constructor

Initializes a new instance of the CreateCustomTemplateEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll


public CreateCustomTemplateEventArgs(
    XafApplication application,
    TemplateContext context
Public Sub New(
    application As XafApplication,
    context As TemplateContext


Type Name Description
XafApplication application

An XafApplication object which is used to manage the application.

TemplateContext context

A TemplateContext object that represents a context in which a Template is created.

Since instances of the CreateCustomTemplateEventArgs class are automatically created and passed to handlers of the XafApplication.CreateCustomTemplate event, you do not need to call this constructor from your applications.

See Also