Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

DetailViewCreatingEventArgs Class

Represents arguments passed to the XafApplication.DetailViewCreating event.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.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.

Inheritance

Object
EventArgs
ViewCreatingEventArgs
DetailViewCreatingEventArgs
See Also