Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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