Share

RibbonPanel.CommandControls Property

Parent Object: RibbonPanel

Description

Property that returns the CommandControls collection object that provides access to all the visible controls within the panel.

Syntax

RibbonPanel.CommandControls() As CommandControls

Property Value

This is a read only property whose value is a CommandControls.

Samples

Name Description
Print information about all available ribbons. This sample prints out all of the elements of the ribbons. This output is very useful when customizing the ribbon to be able to get the names of the various existing ribbons, tabs, and panels.
Creation of an override environment for a document A new ribbon tab is created and associated with the override environment.

Version

Introduced in version 2010

Was this information helpful?