# GraffitiLineiconsButton
Class Inherits GraffitiUIControl
## About
GraffitiLineiconsButton provides an easy to use button control for displaying interactive Lineicons icons.
## Preview


Previous
Next
## Warnings
### Linux Support
Support varies by Linux distribution and installed libwebkit library and version.
### Windows Support
Requires the presence of an HTMLViewer on a window or container within the project.
## Attributes
| Name | Value |
| --- | --- |
| DefaultEvent | "Pressed" |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Closing | (None) | (None) | |
| Opening | (None) | (None) | |
| Pressed | (None) | (None) | Raised when the user has pressed the button. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| BackgroundColor | ColorGroup | Nil | ColorGroup used for drawing the button's face. When Nil, system colors are used. |
| BackgroundColorHover | ColorGroup | Nil | ColorGroup used for drawing the button's face while hovered. When Nil, system colors are used. |
| BorderRadius | Integer | Nil | Radius of the button's corners. |
| Cancel | Boolean | Nil | When True, pressing the Escape key on this control's window will raise the Pressed event. |
| Default | Boolean | Nil | When True, pressing the Enter key on this control's window will raise the Pressed event. |
| IconName | String | Nil | Name of the Lineicons icon to be drawn within the button. |
| IconType | GraffitiLineicons.IconTypes | Nil | Icon set containing the IconName representation. |
| Padding | Integer | Nil | Padding between the icon and the outer edge. |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |