Table of Contents
Preview #
About #
GraffitiMaterialIconsButton provides an easy to use button control for displaying interactive Material 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. |
IconCategory | GraffitiMaterialIcons.IconCategories | GraffitiMaterialIcons.IconCategories.Action | Category containing the icon representation. |
IconName | String | “address-book” | Name of the Material icon to be drawn within the button. |
IconType | GraffitiMaterialIcons.IconTypes.Default | GraffitiMaterialIcons.IconTypes.Default | The type of icon to draw from within the set, or the nearest available representation if this type is unavailable for the specified icon. |
Padding | Integer | 8 | Padding between the icon and the outer edge. |