Skip to main content

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.v24.2.dll

Declaration

public void HideDropDownWindow(
    bool immediate
)

Parameters

Name Type Description
immediate Boolean

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.

tileBar1.ShowDropDown(tileBarItem1);
//...
tileBar1.HideDropDownWindow(true);
See Also