Skip to main content
.NET 6.0+

XPView(Session, Type, String, CriteriaOperator) Constructor

Initializes a new instance of the XPView class with the specified settings.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPView(
    Session session,
    Type objType,
    string properties,
    CriteriaOperator criteria
)

Parameters

Name Type Description
session Session

A Session object which represents the session that will be used to load and save persistent objects. This value is assigned to the XPView.Session property.

objType Type

The type of persistent objects to include in the view.

properties String

A String value which lists the property names separated by semicolons. For example, “FirstName + LastName;Company.Name;Address.City”.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria.

See Also