Skip to main content
.NET 6.0+

XafApplication.FindModelView(String) Method

Provides access the Application Model node that defines a specified View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual IModelView FindModelView(
    string viewId
)

Parameters

Name Type Description
viewId String

A string value that specifies the identifier of the View to be found in the Application Model.

Returns

Type Description
IModelView

An IModelView object that represents the Application Model node that defined the View specified by the viewId parameter.

Remarks

Use this property to customize a particular Application Model node. This property returns the node whose ID attribute is set to the value specified by the viewId parameter.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FindModelView(String) method.

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