Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

MsoBarProtection Enumeration

Specifies how a command bar is protected from user customization.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public enum MsoBarProtection

Member nameDescription
msoBarNoProtectionAll aspects of command bar can be customized by user.
msoBarNoCustomizeCommand bar cannot be customized.
msoBarNoResizeCommand bar cannot be resized.
msoBarNoMoveCommand bar cannot be moved.
msoBarNoChangeVisibleCommand bar cannot be hidden.
msoBarNoChangeDockDocking setting cannot be changed.
msoBarNoVerticalDockCommand bar cannot be docked to the left or right.
msoBarNoHorizontalDockCommand bar cannot be docked to the top or bottom.
© 2015 Microsoft