Back to Devexpress

ColumnViewOptionsFind.AllowFindPanel Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsfind-17227b6e.md

latest4.0 KB
Original Source

ColumnViewOptionsFind.AllowFindPanel Property

Gets or sets whether the Find Panel can be invoked by an end-user.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowFindPanel { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowFindPanel As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the Find Panel can be invoked by an end-user; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowFindPanel
ColumnView

.OptionsFind .AllowFindPanel

|

Remarks

If the Find Panel is hidden and the AllowFindPanel property is enabled, an end-user can invoke the Find Panel by pressing CTRL+F.

Set the ColumnViewOptionsFind.AlwaysVisible property to true, to always display the Find Panel and prevent it from being hidden by an end-user.

Note

The Find Panel and In-Header Search are mutually exclusive options. They are not intended to be used together.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowFindPanel property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-grid-sql-pagination/CS/DxSample/MainForm.cs#L17

csharp
OrdersGridView.OptionsCustomization.AllowSort = false;
OrdersGridView.OptionsFind.AllowFindPanel = false;
OrdersGridView.OptionsView.ShowGroupPanel = false;

winforms-grid-sql-pagination/VB/DxSample/MainForm.vb#L19

vb
OrdersGridView.OptionsCustomization.AllowSort = False
OrdersGridView.OptionsFind.AllowFindPanel = False
OrdersGridView.OptionsView.ShowGroupPanel = False

See Also

AlwaysVisible

Find Panel

ColumnViewOptionsFind Class

ColumnViewOptionsFind Members

DevExpress.XtraGrid.Views.Base Namespace