ButtonContent.setIconName

Sets the name of the displayed icon.

If empty, the icon is not shown.

class ButtonContent
void
setIconName
(
string iconName
)

Parameters

iconName string

the new icon name