GraffitiLineiconsButton

View Categories

Preview #

About #

GraffitiLineiconsButton provides an easy to use button control for displaying interactive Lineicons icons.

Enumerations #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

NameParametersReturn TypeDescription
PressedNoneNoneRaised when the user has pressed the button.

Methods #

This class exposes no methods.

Properties #

NameTypeDefault ValueDescription
BackgroundColorColorGroupNilColorGroup used for drawing the button’s face. When Nil, system colors are used.
BackgroundColorHoverColorGroupNilColorGroup used for drawing the button’s face while hovered. When Nil, system colors are used.
BorderRadiusInteger8Radius of the button’s corners.
CancelBooleanFalseWhen True, pressing the Escape key on this control’s window will raise the Pressed event.
DefaultBooleanFalseWhen True, pressing the Enter key on this control’s window will raise the Pressed event.
IconNameString“address-book”Name of the Lineicons icon to be drawn within the button.
IconTypeGraffitiLineicons.IconTypesGraffitiLineicons.IconTypes.BrandIcon set containing the IconName representation.
PaddingInteger8Padding between the icon and the outer edge.