Skip to main content
.NET 6.0+

XPView(Session, XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperator) Constructor

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public XPView(
    Session session,
    XPClassInfo info,
    CriteriaOperatorCollection properties,
    CriteriaOperator criteria,
    CriteriaOperator groupCriteria
)

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.

info XPClassInfo

An XPClassInfo object which provides the metadata information for the objects to add to the view. This value is assigned to the XPView.ObjectClassInfo property.

properties CriteriaOperatorCollection

A CriteriaOperatorCollection object which represents a collection whose elements are added to the XPView.Properties collection.

criteria CriteriaOperator

A CriteriaOperator object that specifies the filter criteria.

groupCriteria CriteriaOperator

A CriteriaOperator object that specifies the grouping criteria.

See Also