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

ObjectCreatingEventArgs(IObjectSpace, Type) Constructor

Initializes a new instance of the ObjectCreatingEventArgs class.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public ObjectCreatingEventArgs(
    IObjectSpace objectSpace,
    Type objectType
)

#Parameters

Name Type Description
objectSpace IObjectSpace

An IObjectSpace object representing the Object Space which is used to create a new object.

objectType Type

A type of an object to be created.

#Remarks

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

See Also