ToolbarItems Object (Visio)
Includes a ToolbarItem object for each item on a toolbar.
Starting with Visio, the Microsoft Office Fluent user interface (UI) replaces the previous system of layered menus, toolbars, and task panes. VBA objects and members that you used to customize the user interface in previous versions of Visio are still available in Visio, but they function differently.
To retrieve a ToolbarItems collection, use the ToolbarItems property of a Toolbar object.
The default property of a ToolbarItems collection is Item.
Unlike other Microsoft Visio collections, the ToolbarItems collection is indexed starting with zero (0) rather than 1.