Back to Devexpress

XafApplication.ViewCreated Event

expressappframework-devexpress-dot-expressapp-dot-xafapplication-f831ce9a.md

latest2.2 KB
Original Source

XafApplication.ViewCreated Event

Occurs after a View has been created.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler<ViewCreatedEventArgs> ViewCreated
vb
Public Event ViewCreated As EventHandler(Of ViewCreatedEventArgs)

Event Data

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

PropertyDescription
ViewSpecifies 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

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace