Back to Devexpress

ListViewFindPanelAttribute Class

expressappframework-devexpress-dot-expressapp-c2abe405.md

latest2.6 KB
Original Source

ListViewFindPanelAttribute Class

Applied to business classes. Specifies whether a List View‘s GridListEditor shows the Find Panel at runtime.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class ListViewFindPanelAttribute :
    Attribute
vb
Public Class ListViewFindPanelAttribute
    Inherits Attribute

Remarks

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 List Views. :

csharp
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 and Find Panel (WinForms), the List View’s GridListEditor displays 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

Inheritance

Object Attribute ListViewFindPanelAttribute

See Also

ListViewFindPanelAttribute Members

DevExpress.ExpressApp Namespace