Table of Contents
Preview #
About #
GraffitiLineiconsButton provides an easy to use button control for displaying interactive Lineicons icons.
Requirements #
This class requires GraffitiSVG.Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
Name | Parameters | Return Type | Description |
---|---|---|---|
Pressed | None | None | Raised when the user has pressed the button. |
Methods #
This class exposes no methods.
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 | 8 | Radius of the button’s corners. |
Cancel | Boolean | False | When True, pressing the Escape key on this control’s window will raise the Pressed event. |
Default | Boolean | False | When True, pressing the Enter key on this control’s window will raise the Pressed event. |
IconName | String | “address-book” | Name of the Lineicons icon to be drawn within the button. |
IconType | GraffitiLineicons.IconTypes | GraffitiLineicons.IconTypes.Brand | Icon set containing the IconName representation. |
Padding | Integer | 8 | Padding between the icon and the outer edge. |