MiddleItemsCount Property (IToolBar)
The number of the items in the middle part of the toolbar. This number includes separators, but does not include the overflow button.

C# Syntax

uint MiddleItemsCount {get;}