Back to Devexpress

TreeListOptionsFind.AllowFindPanel Property

windowsforms-devexpress-dot-xtratreelist-dot-columns-dot-treelistoptionsfind-a6e50329.md

latest3.5 KB
Original Source

TreeListOptionsFind.AllowFindPanel Property

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

Namespace : DevExpress.XtraTreeList.Columns

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

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

Property Value

TypeDescription
Boolean

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
TreeList

.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 TreeListOptionsFind.AlwaysVisible property to true , to always display the Find Panel and prevent it from being hidden by an end-user.

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-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.cs#L36

csharp
tree.OptionsMenu.EnableNodeMenu = false;
tree.OptionsFind.AllowFindPanel = false;
tree.OptionsCustomization.AllowColumnMoving = false;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/TreeList/TreeListItemControlProvider.vb#L40

vb
tree.OptionsMenu.EnableNodeMenu = False
tree.OptionsFind.AllowFindPanel = False
tree.OptionsCustomization.AllowColumnMoving = False

See Also

TreeListOptionsFind Class

TreeListOptionsFind Members

DevExpress.XtraTreeList.Columns Namespace