windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-officenavigationbar-8fc19e36.md
Fires when a button within the Peek Form’s built-in button panel is clicked.
Namespace : DevExpress.XtraBars.Navigation
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Behavior")]
public event EventHandler<NavigationPeekFormButtonClickEventArgs> PeekFormButtonClick
<DXCategory("Behavior")>
Public Event PeekFormButtonClick As EventHandler(Of NavigationPeekFormButtonClickEventArgs)
The PeekFormButtonClick event's data class is DevExpress.XtraBars.Navigation.NavigationPeekFormButtonClickEventArgs.
The Peek Form (see OfficeNavigationBar.ShowPeekFormOnItemHover) can display custom buttons at its top or bottom edge. These buttons have a flat appearance and are painted based on the current skin. To create and show these buttons, add buttons to the FlyoutPanelButtonOptions.Buttons collection and enable the FlyoutPanelButtonOptions.ShowButtonPanel option. These properties and other properties related to the button panel display are accessible via the OfficeNavigationBar.OptionsPeekFormButtonPanel object.
To respond to button clicking, handle the PeekFormButtonClick event.
See Also