.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.ViewCreated Event

Occurs after a View has been created.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

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

Event Data

The ViewCreated event handler receives an argument of the ViewCreatedEventArgs type. 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