Edit

Share via


CommandBar.RowIndex Property

Definition

Returns or sets the docking order of a command bar in relation to other command bars in the same docking area.

public:
 property int RowIndex { int get(); void set(int value); };
public int RowIndex { get; set; }
member this.RowIndex : int with get, set
Public Property RowIndex As Integer

Property Value

Remarks

This property returns a read/write Integer, which can be an integer greater than zero, or either of the following MsoBarRow constants: msoBarRowFirst or msoBarRowLast.

Several command bars can share the same row index, and command bars with lower numbers are docked first. If two or more command bars share the same row index, the command bar most recently assigned will be displayed first in its group.

Applies to