Back to Devexpress

TileNavPane.ShowDropDown(NavElement) Method

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilenavpane-dot-showdropdown-x28-devexpress-dot-xtrabars-dot-navigation-dot-navelement-x29.md

latest2.2 KB
Original Source

TileNavPane.ShowDropDown(NavElement) Method

Shows the drop-down tile bar for the specified navigation element.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void ShowDropDown(
    NavElement element
)
vb
Public Sub ShowDropDown(
    element As NavElement
)

Parameters

NameTypeDescription
elementNavElement

A NavElement object representing a navigation element whose drop-down should be shown.

|

Remarks

The ShowDropDown method allows you to programmatically show the drop-down tile bar for an element that is currently displayed as a button in the nav bar. If the specified navigation element is not displayed in the nav bar, the ShowDropDown method is not in effect.

When a drop-down is shown using this method, neither the TileNavPane.ElementClick nor NavElement.ElementClick event is raised.

See Also

HideDropDownWindow()

TileNavPane.ElementClick

NavElement.ElementClick

TileNavPane Class

TileNavPane Members

DevExpress.XtraBars.Navigation Namespace