PanelBarAboutToCollapseOrExpandEventArgs
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.NavigationControls
Provides data for BinaryPanelBar.AboutToCollapseOrExpand, and lets the handler stop the
bar collapsing or expanding.
public sealed class PanelBarAboutToCollapseOrExpandEventArgs : EventArgs
Inherits from / implements: EventArgs
Members at a glance
| Properties | |
|---|---|
IsAboutToExpand | Gets or sets which way the bar is about to go. |
ShouldCancel | Gets or sets whether to leave the bar as it is. |
Properties
IsAboutToExpand
public bool IsAboutToExpand
Gets or sets which way the bar is about to go.
- Value
truewhen the bar is collapsed and about to expand;falsewhen it is about to collapse.
ShouldCancel
public bool ShouldCancel
Gets or sets whether to leave the bar as it is.
- Value
- Arrives as
false; settrueto cancel.