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.