CreateCustomTemplateEventArgs(XafApplication, TemplateContext) Constructor

Initializes a new instance of the CreateCustomTemplateEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public CreateCustomTemplateEventArgs(
    XafApplication application,
    TemplateContext context
)

Parameters

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.