Skip to main content
.NET Framework 4.6.2+

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(String, IObjectSpace, Object, Boolean) Constructor

Initializes a new instance of the DetailViewCreatingEventArgs class.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public DetailViewCreatingEventArgs(
    string viewID,
    IObjectSpace objectSpace,
    object obj,
    bool isRoot
)

#Parameters

Name Type Description
viewID String

A string value that represents the ID of the Detail View to be created.

objectSpace IObjectSpace

An IObjectSpace object representing the Object Space that will work with the new Detail View’s object.

obj Object

An object that will be represented by the new Detail View.

isRoot Boolean

true if the new Detail View will be root; otherwise, false.

#Remarks

Since instances of the DetailViewCreatingEventArgs class are automatically created and passed to handlers of the XafApplication.DetailViewCreating event, you do not need to call this constructor from your applications.

See Also