Skip to main content
.NET Framework 4.5.2+

ListViewFilterAttribute.Index Property

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

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v24.1.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