Skip to main content
.NET 6.0+

XafApplication.ViewCreated Event

Occurs after a View has been created.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public event EventHandler<ViewCreatedEventArgs> ViewCreated

Event Data

The ViewCreated event's data class is ViewCreatedEventArgs. The following properties provide information specific to this event:

Property Description
View Specifies the View to be customized in the XafApplication.ViewCreated event.

Remarks

Handle this event to customize the View that has been created via the XafApplication.CreateDetailView or XafApplication.CreateListViewmethod. This Detail View is specified by the handler’s DetailViewCreatedEventArgs.View parameter. This List View is specified by the handler’s ListViewCreatedEventArgs.ListView parameter.

See Also