Skip to main content

OfficeNavigationBar.PeekFormButtonClick Event

Fires when a button within the Peek Form’s built-in button panel is clicked.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Behavior")]
public event EventHandler<NavigationPeekFormButtonClickEventArgs> PeekFormButtonClick

Event Data

The PeekFormButtonClick event's data class is DevExpress.XtraBars.Navigation.NavigationPeekFormButtonClickEventArgs.

Remarks

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