ViewItemAttribute(Type) Constructor
Initializes a new instance of the ViewItemAttribute.
Namespace: DevExpress.ExpressApp.Editors
Assembly: DevExpress.ExpressApp.v25.1.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Parameters
Name | Type | Description |
---|---|---|
modelNodeType | Type | A Type object specifying the type of the Application Model’s node used by the custom View Item. This parameter value is used to initialize the ViewItemAttribute.ModelNodeType property. |
Remarks
Use this constructor when you want your View Item to be automatically set for the Application Model’s node of a particular type. In this instance, pass the required node type as the first attribute parameter.
See Also