CommandBar.RowIndex Property
Returns or sets the docking order of a command bar in relation to other command bars in the same docking area.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property RowIndex As Integer
Get
Set
'Usage
Dim instance As CommandBar
Dim value As Integer
value = instance.RowIndex
instance.RowIndex = value
int RowIndex { get; set; }
Property Value
Type: System.Int32
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.