Preview #
About #
GraffitiTourCard is a UI component devoted to assisting in the development of the GraffitiTour component, but is a worthy card component in its right that can take the place of many other components your user interface designs to improve user experience.
Enumerations #
This class exposes no enumerations.
Constants #
This class exposes no constants.
Events #
Name | Parameters | Return Type | Description |
---|---|---|---|
ClosePressed | None | None | Raised when the user has pressed the close icon. |
HeightChanged | None | None | Raised when the card’s height has changed in response to adapting to the content. |
LeftButtonPressed | None | None | Raised when the user has pressed the left (or “Previous) button. |
LinkPressed | index as Integer content as String | None | Raised when the user has pressed a link within the message. Parameters indicate which link was pressed. |
Pressed | None | None | Raised when the user has pressed an area of the card that is not a button. |
RightButtonPressed | None | None | Raised when the user has pressed the right (or “Next”) button. |
Methods #
Name | Parameters | Return Type | Description |
---|---|---|---|
Constructor | None | None | Returns a new instance of the class. |
Constructor | title as String message as String | None | Returns a new instance of the class. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
BackgroundColor | ColorGroup | Nil | Colors applied to the background of the control. |
BorderColor | ColorGroup | Nil | Color used for drawing the border of the control. |
BorderRadius | Double | Corner radius of the control. | |
ButtonLeftCaption | String | Caption for the left button. | |
ButtonLeftColor | ColorGroup | Color applied to the background of the left button. | |
ButtonLeftEnabled | Boolean | Determines whether the user can interact with or set focus to the left button. | |
ButtonLeftTextColor | ColorGroup | Color applied to the text of the left button. | |
ButtonLeftVisible | Boolean | Determines whether the left button is visible. | |
ButtonRightCaption | String | Caption for the right button. | |
ButtonRightColor | ColorGroup | Color applied to the background of the right button. | |
ButtonRightEnabled | Boolean | Determines whether the user can interact with or set focus to the right button. | |
ButtonRightTextColor | ColorGroup | Color applied to the text of the right button. | |
ButtonRightVisible | Boolean | Determines whether the right button is visible. | |
CloseButtonColor | ColorGroup | Color applied to the close icon of the card. | |
CloseButtonVisible | Boolean | Determines whether the close button is displayed. | |
HasCustomColors | Boolean | Set to True when providing custom color values to any ColorGroup properties. | |
Margin | Double | Spacing between the outside edge of the card and the elements within, as well as between contained elements. | |
MessageFontBold | Boolean | Determines weight of the text drawn for this element. | |
MessageFontColor | ColorGroup | Determines color(s) used to draw the text of this element. | |
MessageFontItalic | Boolean | Determines whether text of this element is drawn oblique. | |
MessageFontName | String | Determines the font used to draw the text of this element. | |
MessageFontSize | Integer | Determines the size of the font used to draw the text of this element. | |
MessageFontUnderline | Boolean | Determines whether the underline text decoration is applied to this element. | |
MessageText | String | Text drawn for this element. | |
RestrictFocus | Boolean | Determines whether users can shift focus outside the control, once it has focus, by pressing the Tab key, after internal focus progression is complete. | |
StepFontBold | Boolean | Determines weight of the text drawn for this element. | |
StepFontColor | ColorGroup | Determines color(s) used to draw the text of this element. | |
StepFontItalic | Boolean | Determines whether text of this element is drawn oblique. | |
StepFontName | String | Determines the font used to draw the text of this element. | |
StepFontSize | Integer | Determines the size of the font used to draw the text of this element. | |
StepFontUnderline | Boolean | Determines whether the underline text decoration is applied to this element. | |
StepText | String | Text drawn for this element. | |
Tag | Variant | Nil | Developer storage. |
TitleFontBold | Bold | Determines weight of the text drawn for this element. | |
TitleFontColor | ColorGroup | Determines color(s) used to draw the text of this element. | |
TitleFontItalic | Boolean | Determines whether text of this element is drawn oblique. | |
TitleFontName | String | Determines the font used to draw the text of this element. | |
TitleFontSize | Integer | Determines the size of the font used to draw the text of this element. | |
TitleFontUnderline | Boolean | Determines whether the underline text decoration is applied to this element. | |
TitleText | String | Text drawn for this element. |
Examples #
Embedded Links #
Links may be embedded in the MessageText property by using <link>Link Text</link>
tags.