GraffitiButton

Images #

About #

GraffitiBadge is a simple yet powerful addition to your UI toolkit. Display responsively-sized badges anywhere and everywhere without worrying about font sizes.

Features:

  • ColorGroup support
  • Gradient fill support
  • Icons with positioning

Enumerations #

NameValues
IconPositionLeft
Center
Right
StylesPrimary
Secondary
Link

Constants #

NameTypeValue
This class exposes no constants.  

Events #

DefinitionParametersReturn TypeDescription
DoublePressedNoneNoneRaised when the element is double-pressed via touch.
LongPressedNoneNoneRaise when the user holds their finger down on the element.
PressedNoneNoneRaised when the element is pressed via touch.

Methods #

DefinitionParametersReturn TypeDescription
This class exposes no methods.   

Properties #

NameTypeDefault ValueDescription
BorderRadiusInteger0Height and width of rounded display for component corners.
CaptionString“Untitled”Text displayed within the button.
Colors()GraffitiScaledColorEmptyColors used to draw gradient background or border.
ColorsPressed()GraffitiScaledColorEmptyColors used to draw gradient background or border when the user presses the component.
FontSizeDouble0Size of font used to draw the button’s Caption.
GradientAngleDouble0Angle used for drawing the Colors.
IconPictureNilIcon drawn in the button’s face.
IconPositionIconPositionsIconPositions.LeftLocation of the icon relative to the Caption.
StyleStylesStyles.PrimaryDrawing style applied to the button’s face.
TextColorColorGroupNilColor applied to the button’s Caption.
TextColorPressedColorGroupNilColor applied to the button’s Caption when the user presses it.

Examples #

This class currently has no examples.

Notes #

This class currently has no notes.