Partager 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
msoBarNoChangeDock Changing the dock location is not allowed.
msoBarNoChangeVisible Changing the visibility is not allowed.
msoBarNoCustomize Customization is not allowed.
msoBarNoHorizontalDock Horizontal docking is not allowed.
msoBarNoMove Moves are not allowed.
msoBarNoProtection The command bar is not protected.
msoBarNoResize Resizing is not allowed.
msoBarNoVerticalDock Vertical docking is not allowed.

See Also

Reference

Microsoft.VisualStudio.CommandBars Namespace