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

ViewItemAttribute Constructors

Applied to a custom View Item. Registers the View Item in the application and specifies the type of the Application Model‘s node used by the custom View Item.
Name Parameters Description
ViewItemAttribute(Type) modelNodeType Initializes a new instance of the ViewItemAttribute.
ViewItemAttribute(Type, Boolean) modelNodeType, isDefault Initializes a new instance of the ViewItemAttribute.
See Also