WinNewObjectViewController Class
Inherits from the NewObjectViewController to implement Windows Forms specific behavior.
Namespace: DevExpress.ExpressApp.Win.SystemModule
Assembly: DevExpress.ExpressApp.Win.v24.1.dll
NuGet Packages: DevExpress.ExpressApp.Win, DevExpress.ExpressApp.Win.Design
NuGet Package: DevExpress.ExpressApp.Win
Declaration
Remarks
This Controller populates the ChoiceActionBase.Items collection of the inherited New Action (see NewObjectViewController.NewObjectAction). To populate this collection, the NewObjectViewController.CollectDescendantTypes and NewObjectViewController.CollectCreatableItemTypes methods are used. The items added using the former method are delimited by a line from the items added using the latter method. So, there are two item groups. The first one contains the current View‘s object type (see ObjectView.ObjectTypeInfo) and its descendants. The second one contains the types that are listed in the Application Model‘s IModelCreatableItems node. This node is generated automatically. The business classes that use the CreatableItemAttribute or DefaultClassOptionsAttribute are added to it. In addition, you can add a class to this node via the Model Editor.