This document is archived and information here might be outdated.  Recommended version.


esriDockFlags Constants (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Constants > E > esriDockFlags Constants
ArcGIS Developer Help

esriDockFlags Constants

Toolbar docking flags.

Constant Value Description
esriDockHide 0 Hides the toolbar.
esriDockShow 1 Shows the toolbar.
esriDockLeft 2 Docks the toolbar on the left side of the application.
esriDockRight 4 Docks the toolbar on the right side of the application.
esriDockTop 8 Docks the toolbar on the top of the application.
esriDockBottom 16 Docks the toolbar on the bottom of the application.
esriDockFloat 32 Floats the toolbar.
esriDockToggle 64 Toggles the toolbar visibility.
esriDockTabbed 128 Tabbed in with
esriDockUnPinned 256 Tabbed in with

Product Availability

Available with ArcGIS Desktop.

Remarks

Use the esriDockFlags enumeration with the ICommandBar::Dock method.

esriDockHide       Hides the command bar.
esriDockShow      Shows the command bar.
esriDockLeft        Docks the command bar on the left side of the application.
esriDockRight      Docks the command bar on the right side of the application.
esriDockTop        Docks the command bar on the top of the application.
esriDockBottom   Docks the command bar on the bottom of the application.
esriDockFloat       Puts the command bar in a floating state.
esriDockToggle    Toggles the command bar's visibility.

Note: The Main menu bar can never be hidden.

See Also

ICommandBar.Dock Method