GraffitiMaterialIconsButton

Preview #

About #

GraffitiMaterialIconsButton provides an easy to use button control for displaying interactive Material 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.
IconCategoryGraffitiMaterialIcons.IconCategoriesGraffitiMaterialIcons.IconCategories.ActionCategory containing the icon representation.
IconNameString“address-book”Name of the Material icon to be drawn within the button.
IconTypeGraffitiMaterialIcons.IconTypes.DefaultGraffitiMaterialIcons.IconTypes.DefaultThe type of icon to draw from within the set, or the nearest available representation if this type is unavailable for the specified icon.
PaddingInteger8Padding between the icon and the outer edge.