robot_2Generated
code_blocksInput

Description

The ToolButtonStyle enumeration defines the visual style of tool buttons within the editor interface. The IconOnly field specifies that the button should display only an icon, without any accompanying text. This style is useful for compact toolbars where space is limited, and the icon alone is sufficient to convey the button's function.

Usage

Use the ToolButtonStyle.IconOnly field when you want to configure a tool button to display only its icon. This can be set when initializing or configuring UI components that support tool button styles.

Example

// Example of setting a tool button style to IconOnly
ToolButton myButton = new ToolButton();
myButton.Style = ToolButtonStyle.IconOnly;

// This will configure the button to display only its icon, without any text.