HypernovaDesktop Components · docs
Binarymission
WinFormsPanel Bar › PanelBarAboutToCollapseOrExpandEventArgs

PanelBarAboutToCollapseOrExpandEventArgs

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

A custom event class that helps providing information for th event AboutToCollapseOrExpand.

public sealed class PanelBarAboutToCollapseOrExpandEventArgs : EventArgs

Inherits from / implements: EventArgs

Members at a glance

IsAboutToExpandGets or sets a value indicating whether the BinaryPanelBar control instance is about to expand or collapse.
ShouldCancelGets or sets a value indicating whether the collapse/expand operation should be canceled.

Properties

IsAboutToExpand

public bool IsAboutToExpand

Gets or sets a value indicating whether the BinaryPanelBar control instance is about to expand or collapse.

Value. true if this instance is about to expand; otherwise, false .

ShouldCancel

public bool ShouldCancel

Gets or sets a value indicating whether the collapse/expand operation should be canceled.

Value. true if [should cancel]; otherwise, false .