Back to Devexpress

ColumnViewOptionsFind.AlwaysVisible Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsfind-9e4ff1f7.md

latest3.5 KB
Original Source

ColumnViewOptionsFind.AlwaysVisible Property

Gets or sets whether the Find Panel is always visible.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AlwaysVisible { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AlwaysVisible As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the Find Panel is always visible; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AlwaysVisible
ColumnView

.OptionsFind .AlwaysVisible

|

Remarks

Set the AlwaysVisible property to true , to prevent the Find Panel from being hidden by an end-user.

csharp
gridView1.OptionsFind.AlwaysVisible = true;
vb
GridView1.OptionsFind.AlwaysVisible = True

You can also prevent the Find Panel from being hidden by setting the ColumnViewOptionsFind.ShowCloseButton property to false.

Note that if the AlwaysVisible property is set to true , the close (‘x’) button is hidden, even if the ColumnViewOptionsFind.ShowCloseButton property is set to true.

If the Find Panel is hidden and the ColumnViewOptionsFind.AllowFindPanel property is enabled, an end-user can invoke the Find Panel by pressing CTRL+F. In code, the Find Panel can also be displayed via the ColumnView.ShowFindPanel method.

See Also

ShowCloseButton

IsFindPanelVisible

ShowFindPanel()

HideFindPanel()

ColumnViewOptionsFind Class

ColumnViewOptionsFind Members

DevExpress.XtraGrid.Views.Base Namespace