BackstageViewControl.Hiding Event
Occurs whenever this BackstageViewControl is hiding.
Namespace: DevExpress.XtraBars.Ribbon
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DXCategory("Behavior")]
public event CancelEventHandler Hiding
#Event Data
The Hiding event's data class is CancelEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. |
#Remarks
The Hiding event is fired when the BackstageViewControl starts hiding. Handle this event to perform specific actions before the BackstageViewControl disappears. When the BackstageViewControl completely hidden, the BackstageViewControl.Hidden event occurs.
To show or hide the BackstageViewControl assigned to a RibbonControl, use the RibbonControl.ShowApplicationButtonContentControl or RibbonControl.HideApplicationButtonContentControl methods respectively.