ListViewFindPanelAttribute Class

Applied to business classes. Specifies whether a List View's GridListEditor and ASPxGridListEditor show the Find Panel (WinForms) and Search Panel (ASP.NET) at runtime.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public class ListViewFindPanelAttribute :
    Attribute,
    _Attribute
Public Class ListViewFindPanelAttribute
    Inherits Attribute
    Implements _Attribute

Apply this attribute to a business class as shown below if you need to enable the Find Panel and Search Panel in the GridListEditor's and ASPxGridListEditor's List Views. :

using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
// ...
[DefaultClassOptions, ListViewFindPanel]
  public class Contact : Person, IMapsMarker {
    // ...
}

When a business class has the ListViewFindPanelAttribute, the Find Panel (WinForms) and Search Panel (ASP.NET), the List View's GridListEditor and ASPxListEditor display the panels at runtime. Alternatively, you can use the DefaultListViewShowFindPanel or ShowFindPanel properties to activate the panels.

The Find Panel and the Search Panel allow the end-user to search and filter List Views.

WinForms

WinForms-ListViewFindPanelAttribute

ASP.NET

ASP.NET-ListViewFindPanelAttribute

Inheritance

Object
Attribute
ListViewFindPanelAttribute
See Also