Back to Devexpress

TileBar.HideDropDownWindow(Boolean) Method

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilebar-dot-hidedropdownwindow-x28-system-dot-boolean-x29.md

latest2.5 KB
Original Source

TileBar.HideDropDownWindow(Boolean) Method

Hides the currently displayed dropdown window with or without the fade-out animation effect.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void HideDropDownWindow(
    bool immediate
)
vb
Public Sub HideDropDownWindow(
    immediate As Boolean
)

Parameters

NameTypeDescription
immediateBoolean

true , to close the dropdown window without the animation effect; false , to use the animation effect .

|

Remarks

For each TileBarItem you can specify a control to be displayed as a dropdown (see TileBarItem.DropDownControl). To display or hide the dropdown in code, you can call the TileBar.ShowDropDown/TileBarItem.ShowDropDown or HideDropDownWindow method respectively.

csharp
tileBar1.ShowDropDown(tileBarItem1);
//...
tileBar1.HideDropDownWindow(true);
vb
tileBar1.ShowDropDown(tileBarItem1)
'...
tileBar1.HideDropDownWindow(true)

See Also

DropDownControl

CloseDropDownOnItemClick

ShowDropDown(TileBarItem)

ShowDropDown()

TileBar Class

TileBar Members

DevExpress.XtraBars.Navigation Namespace