HypernovaDesktop Components · docs
Binarymission
WinFormsExplorer Bar › BinaryExplorerBarPanelTitleClickedHandler

BinaryExplorerBarPanelTitleClickedHandler

delegate.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.NavigationControls

Signature of the method to handle the event when the user clicks on a specific BinaryExplorerBarPanel object's title.

public delegate bool BinaryExplorerBarPanelTitleClickedHandler (object sender, BinaryExplorerBarPanel thePanelObject);

Remarks

This delegate gives you the current panel object instance whose title is being clicked by the user.
You could place your custom validation or other code in this handler, to decide whether you want the panel object to collapse or expand (depending on whatever is its current state).
Based on your custom logic, if you decide that the given panel object should not collapse or expand (from its current state), you can simply return false.
By default this handler returns true.