DetailViewCreatingEventArgs(String, IObjectSpace, Object, Boolean, 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,
bool enableDelayedObjectLoading
)
#Parameters
Name | Type | Description |
---|---|---|
view |
String | A string value that represents the ID of the Detail View to be created. |
object |
IObject |
An IObject |
obj | Object | An object that will be represented by the new Detail View. |
is |
Boolean | true, if the new Detail View will be root; otherwise, false. |
enable |
Boolean | true, if delayed object loading is enabled for the new Detail View; 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.