Partilhar via


MsoBarProtection Enum

Definition

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

public enum class MsoBarProtection
public enum class MsoBarProtection
enum MsoBarProtection
public enum MsoBarProtection
type MsoBarProtection = 
Public Enum MsoBarProtection
Inheritance
MsoBarProtection

Fields

Name Value Description
msoBarNoProtection 0

The command bar is not protected.

msoBarNoCustomize 1

Customization is not allowed.

msoBarNoResize 2

Resizing is not allowed.

msoBarNoMove 4

Moves are not allowed.

msoBarNoChangeVisible 8

Changing the visibility is not allowed.

msoBarNoChangeDock 16

Changing the dock location is not allowed.

msoBarNoVerticalDock 32

Vertical docking is not allowed.

msoBarNoHorizontalDock 64

Horizontal docking is not allowed.

Applies to