A newer version of this page is available. Switch to the current version.

WindowsFormsSettings.FindPanelBehavior Property

Gets or sets whether records that do not match a query in the Find Panel are hidden.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.1.dll

Declaration

public static FindPanelBehavior FindPanelBehavior { get; set; }

Property Value

Type Description
FindPanelBehavior

A DevExpress.XtraEditors.FindPanelBehavior enumeration value that specifies whether records that do not match the query are hidden.

Available values:

Name Description
Default

When the WindowsFormsSettings.FindPanelBehavior property is set to Default, the actual setting is Filter. When a control’s OptionsFind.Behavior property is set to Default, the actual setting is specified by the WindowsFormsSettings.FindPanelBehavior property.

Filter

Hide records that do not match a query. Highlight search results in cells.

FindPanelBehavior_Filter

Search

Highlight search results in cells and on the scrollbar

FindPanelBehavior_Search

Remarks

The Filter Panel supports two modes:

  • Filter — hides records that do not match the query, and highlights results in the view (optionally);
  • Search — highlights results in the view and on the scrollbar

FindPanelBehavior_Filter FindPanelBehavior_Search

To specify the behavior, use:

  • for the entire application — the FindPanelBehavior property. If this setting is set to Default, the Filter mode is applied;
  • for the current control — the ColumnView.OptionsFind.Behavior property (the ColumnViewOptionsFind.Behavior). If this setting is set to Default, the FindPanelBehavior property is applied.
See Also