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.ShowPeekForm(NavigationBarItem) Method

Displays the Peek Form for the specified item.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void ShowPeekForm(
    NavigationBarItem item
)

#Parameters

Name Type Description
item NavigationBarItem

An OfficeNavigationBar.Items collection item for which the Peek Form needs to be displayed.

#Remarks

A Peek Form is a popup that allows you to display a custom content for an OfficeNavigationBar control item being hovered over. The form’s content needs to be provided via the OfficeNavigationBar.QueryPeekFormContent event. If no content is provided, the Peek Form is not displayed.

By default, the Peek Form is displayed after a short delay (OfficeNavigationBar.PeekFormShowDelay) on hovering items. The ShowPeekForm method allows you to manually display the Peek Form for individual items, even if they are not being hovered over at the moment.

See OfficeNavigationBar.ShowPeekFormOnItemHover to learn more.

See Also