Skip to main content
.NET 8.0+

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

ListViewFilterAttribute.Index Property

Specifies the order index by which the SetFilter Action‘s items are arranged.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public int Index { get; set; }

#Property Value

Type Description
Int32

An integer value specifying the order index by which the Filter Action’s items are arranged.

#Remarks

If you apply several ListViewFilter attributes, you can specify an index for each of them. This allows you to locate the Filter Action’s items in the required order.

The following code demonstrate how to pass an index:

[ListViewFilter("Filter2","","MyFilter2","",Index=2)]
public class Contact : Person {
   //...
}
See Also