.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ViewItemAttribute(Type) Constructor

Initializes a new instance of the ViewItemAttribute.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v21.1.dll


public ViewItemAttribute(
    Type modelNodeType


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.


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