GetButtonType Method (SapToolbarControl)

Action

the type of the specified toolbar button. Possible values are: "Button", "ButtonAndMenu", "Menu", "Separator", "Group", "CheckBox".

Syntax

C#
buttonType = toolbarControl.GetButtonType(buttonPosition)
VB
buttonType = toolbarControl.GetButtonType(buttonPosition)
Variable Description
buttonType ToolBarButtonType.
buttonPosition The zero-based button position. Integer.