expressappframework-devexpress-dot-expressapp-dot-editors-c163893b.md
Indicates that the target string property stores a filter criterion.
Namespace : DevExpress.ExpressApp.Editors
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[AttributeUsage(AttributeTargets.Property)]
public class CriteriaOptionsAttribute :
Attribute
<AttributeUsage(AttributeTargets.Property)>
Public Class CriteriaOptionsAttribute
Inherits Attribute
To use this attribute, add a property of the System.Type type to your business class. This property should return a type whose objects are filtered by the filter criterion. Pass this property’s name to the attribute’s objectTypeMemberName parameter.
For more information about the use of CriteriaOptionsAttribute, refer to the following topics:
This attribute sets the PropertyEditorType property of the Application Model’s IModelMember node to the following values:
DevExpress.ExpressApp.Blazor.Editors.FilterPropertyEditorIn ASP.NET Core Blazor applicationsDevExpress.ExpressApp.Win.Editors.CriteriaPropertyEditorIn Windows Forms applications with UseAdvancedFilterEditorControl = DefaultBoolean.FalseDevExpress.ExpressApp.Win.Editors.AdvancedCriteriaPropertyEditorIn Windows Forms applications with UseAdvancedFilterEditorControl = DefaultBoolean.True or DefaultBoolean.Default
You can specify another value in the Model Editor.
For additional information about Property Editors for filter properties, refer to the following help topic: Criteria Properties.
Object Attribute CriteriaOptionsAttribute
See Also