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

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

NuGet Package: DevExpress.Win.Navigation

#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