Share via


MsoBarProtection Enumeration

Represents the ways in which a command bar can be protected from user customization.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Public Enumeration MsoBarProtection
public enum MsoBarProtection
public enum class MsoBarProtection
type MsoBarProtection
public enum MsoBarProtection

Members

Member name Description
msoBarNoProtection The command bar is not protected.
msoBarNoCustomize Customization is not allowed.
msoBarNoResize Resizing is not allowed.
msoBarNoMove Moves are not allowed.
msoBarNoChangeVisible Changing the visibility is not allowed.
msoBarNoChangeDock Changing the dock location is not allowed.
msoBarNoVerticalDock Vertical docking is not allowed.
msoBarNoHorizontalDock Horizontal docking is not allowed.

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace