Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

OfficeNavigationBar.OptionsPeekFormButtonPanel Property

Contains options related to the display of the Peek Form’s built-in button panel.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Options")]
public FlyoutPanelButtonOptions OptionsPeekFormButtonPanel { get; }

#Property Value

Type Description
FlyoutPanelButtonOptions

An object that stores options related to the Peek Form’s built-in button panel.

#Remarks

The Peek Form (see OfficeNavigationBar.ShowPeekFormOnItemHover) supports a built-in button panel, which allows you to display custom buttons. 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.

The button panel’s position and height can be adjusted with the FlyoutPanelButtonOptions.ButtonPanelLocation and FlyoutPanelButtonOptions.ButtonPanelHeight properties. The alignment of buttons within the button panel is specified by the FlyoutPanelButtonOptions.ButtonPanelContentAlignment property.

To respond to button clicks, handle the OfficeNavigationBar.PeekFormButtonClick event.

See Also