See Also

Enumerations

Name Values

This class exposes no enumerations.

Constants

Name Type Value

This class exposes no constants.

Events

Definition Description

This class exposes no events.

Methods

Definition Description
Constructor( ButtonCaption as String ) Instantiates the object.
Constructor( ButtonCaption as String, ButtonIcon as Picture )
Constructor( ButtonIcon as Picture )

Properties

Name Type Default Value Description
Active Boolean False Determines the toggle state of the button.
Caption String “” Text displayed within the button.
Enabled Boolean False Determines whether the user can interact with the button.
HelpTag String “” Tooltip for the button.
Icon Picture Nil Icon displayed within the button.
IconShift Boolean True When True, GraffitiRibbon will attempt to shift the color of the icon to match the current Dark Mode state of the system.
Menu MenuItem Nil Menu to be displayed when the user clicks the button.

Examples

This class currently has no examples.

Notes

This class should only be instantiated directly for the StaticButton property of GraffitiRibbon. In all other cases, a subclass of GraffitiRibbonButton should be used.