showIcon

Specifies whether a button icon is visible.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the showIcon of button to {true | false}

# Examples

set the showIcon of button 3 to false

# Description

Use the showIcon property to change a button appearance.

If a button's showIcon property is set to true, the image specified in the button icon property is displayed in the button rectangle. If the showIcon is false, the icon is not displayed.

If the button's icon property is zero, the setting of this property has no effect.

A button with an icon may need to be resized to show the entire icon.

# Tags

ui,

# See

- **keyword:** image - **property:** armedIcon, icon, hilitedIcon - **object:** button - **glossary:** property