MsoBarProtection Enumeration
Specifies how a command bar is protected from user customization.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Usage
Dim msoBarProtection1 As MsoBarProtection = MsoBarProtection.msoBarNoChangeDock
Syntax
Public Enum MsoBarProtection
public enum MsoBarProtection
public enum class MsoBarProtection
public enum MsoBarProtection
public enum MsoBarProtection
Members
Member name | Description |
---|---|
msoBarNoChangeDock | Docking setting cannot be changed. |
msoBarNoChangeVisible | Command bar cannot be hidden. |
msoBarNoCustomize | Command bar cannot be customized. |
msoBarNoHorizontalDock | Command bar cannot be docked to the top or bottom. |
msoBarNoMove | Command bar cannot be moved. |
msoBarNoProtection | All aspects of command bar can be customized by user. |
msoBarNoResize | Command bar cannot be resized. |
msoBarNoVerticalDock | Command bar cannot be docked to the left or right. |
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000