GraffitiToolbarItem

View Categories

Enumerations #

This class exposes no enumerations.

Constants #

This class exposes no constants.

Events #

This class exposes no events.

Methods #

NameParametersReturn TypeDescription
ConstructorbuttonCaption as String, buttonIcon as String
buttonState as Boolean = False
NoneInstantiates a new class instance with the specified properties.
ConstructorbuttonCaption as String
buttonState as Boolean = False
NoneInstantiates a new class instance with the specified properties.
Constructorcontainer as WebContainer
width as Integer = -1
NoneInstantiates a new class instance with the specified properties.
ConstructorisPicture as Boolean
PictureURL as String
size as Integer
NoneInstantiates a new class instance with the specified properties.
ConstructorisPicture as Boolean
thePicture as Picture
size as Integer
NoneInstantiates a new class instance with the specified properties.
ConstructorisSpacer as Boolean
isFlex as Boolean = False
NoneInstantiates a new class instance with the specified properties.

Properties #

NameTypeDefault ValueDescription
BadgeIndicatorWebUIControl.IndicatorsWebUIControl.Indicators.DefaultBootstrap indicator to apply to the item’s badge.
BadgeIsPillBooleanFalseDetermines whether the corners of the item’s badge should be square or rounded.
BadgeTextString“”Text to display within the item’s badge.
BorderStyleGraffitiWebToolbar.BorderStylesDarkBorder color of the button.
BorderTypeGraffitiWebToolbar.BorderTypesNoneBorder type.
CaptionString“”Text displayed in the button.
CaptionAlignmentGraffitiWebToolbar.AlignmentsLeftPosition of the button’s Caption within the display.
CaptionStyleGraffitiWebToolbar.TextStylesDarkColor applied to the button’s caption.
Container (Read-Only)WebContainerNilWebContainer that is embedded in this item.
CornerStyleGraffitiWebToolbar.CornersNoneDetermines how the corners of the button are drawn. None means that the corners are the default square.
EnabledBooleanTrueWhen False the button will not respond to mouse events or trigger click actions.
IconString“”FontAwesome icon string.
IconObjectVariantNilAllows for the use of a Xojo Picture object. Accepts Picture, WebPicture, WebFile, or URL. Supports all image types including SVG in URLs.
IconObjectSizeInteger16Desired width and height of the IconObject.
IconPositionGraffitiWebToolbar.IconPositionsLeftPosition of the icon relative to the caption.
OverrideStyleGraffitiStyleNilUse a GraffitiStyle rather than the built-in Bootstrap styles.
OverrideStyleStateGraffitiStyleNilUse a GraffitiStyle rather than the built-in Bootstrap styles when State = True
StateBooleanFalseToggle state of the button. If True the button appears pressed.
StyleGraffitiWebToolbar.ButtonStylesGraffitiWebToolbar.ButtonStyles.PrimaryBackground color of the button.
TagVariantNilAllows developers to attach another object or value to the button.

Examples #

This class currently has no examples.

Notes #

This class currently has no notes.