Skip to main content
.NET Framework 4.6.2+

DetailViewCreatingEventArgs Class

Represents arguments passed to the XafApplication.DetailViewCreating event.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

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