Skip to main content
.NET Standard 2.0+

DetailViewCreatingEventArgs Class

Represents arguments passed to the XafApplication.DetailViewCreating event.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public class DetailViewCreatingEventArgs :
    ViewCreatingEventArgs

Remarks

The DetailViewCreatingEventArgs class declares properties specific to the XafApplication.DetailViewCreating event which is designed to create custom Detail Views. Use the DetailViewCreatingEventArgs.Obj property value as the current object of the new Detail View. Assign the created Detail View to the DetailViewCreatingEventArgs.View property.

This class is inherited from the ViewCreatingEventArgs class. So, you can use the ViewCreatingEventArgs.ObjectSpace, ViewCreatingEventArgs.ViewID and ViewCreatingEventArgs.IsRoot property values when creating a Detail View.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DetailViewCreatingEventArgs 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.

Inheritance

Object
EventArgs
ViewCreatingEventArgs
DetailViewCreatingEventArgs
See Also