Edit

Share via


MsoBarProtection Enum

Definition

Specifies how a command bar is protected from user customization.

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

Fields

Name Value Description
msoBarNoProtection 0

All aspects of command bar can be customized by user.

msoBarNoCustomize 1

Command bar cannot be customized.

msoBarNoResize 2

Command bar cannot be resized.

msoBarNoMove 4

Command bar cannot be moved.

msoBarNoChangeVisible 8

Command bar cannot be hidden.

msoBarNoChangeDock 16

Docking setting cannot be changed.

msoBarNoVerticalDock 32

Command bar cannot be docked to the left or right.

msoBarNoHorizontalDock 64

Command bar cannot be docked to the top or bottom.

Applies to