Skip to main content

OfficeNavigationBar.ShowPeekForm(NavigationBarItem) Method

Displays the Peek Form for the specified item.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.1.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