.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

ViewItem(Type, String) Constructor

Creates a new instance of the ViewItem class.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v21.2.dll

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 snippets (auto-collected from DevExpress Examples) contain references 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