Skip to main content
.NET Framework 4.6.2+

ViewItem(Type, String) Constructor

Creates a new instance of the ViewItem class.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ViewItem(
    Type objectType,
    string id
)

Parameters

Name Type Description
objectType Type

A Type object specifying the type of object for which the current View Item’s View is created.

id String

A string specifying the identifier of the View Item.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ViewItem(Type, String) constructor.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also