Share

CommandControl.ControlType Property

Parent Object: CommandControl

Description

Property that returns the control type.

Syntax

CommandControl.ControlType() As ControlTypeEnum

Property Value

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

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.

Version

Introduced in version 2010

Was this information helpful?