Skip to main content
.NET 6.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, Boolean) modelNodeType, isDefault Initializes a new instance of the ViewItemAttribute.
ViewItemAttribute(Type) modelNodeType Initializes a new instance of the ViewItemAttribute.
See Also