ViewCreatingEventArgs Class
The base class for event arguments passed to the XafApplication.ListViewCreating, XafApplication.DetailViewCreating, XafApplication.DashboardViewCreating and XafApplication.ViewCreating events.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v21.2.dll
Declaration
Remarks
The ViewCreatingEventArgs class declares properties specific to the events which are designed to create custom Views. These properties are required to create both a DetailView and ListView. The created View must be assigned to the ViewCreatingEventArgs.View property to prevent further creation of a default View.
This class’ descendants are used when creating a particular Detail or List View: DetailViewCreatingEventArgs and ListViewCreatingEventArgs.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ViewCreatingEventArgs class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.