Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CriteriaOptionsAttribute(String, String) Constructor

In This Article

Initializes a new instance of the CriteriaOptionsAttribute class.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public CriteriaOptionsAttribute(
    string objectTypeMemberName,
    string parametersMemberName
)

#Parameters

Name Type Description
objectTypeMemberName String

A string that holds the name of the class’ Type property, which defines the type of the collection’s objects. This parameter value is assigned to the CriteriaOptionsAttribute.ObjectTypeMemberName property.

parametersMemberName String

A string that holds the name of the class’ IEnumerable<IFilterParameter> property, specifying custom filter parameters to be available in Criteria Property Editors. This parameter value is assigned to the CriteriaOptionsAttribute.ParametersMemberName property.

See Also