GraffitiSuite Docs
Docs
Graffiticard
Loading document parsing libraries...
# GraffitiCard Class Inherits GraffitiWebUIControl ## About GraffitiCard is a popular web component meant to convey information in an encapsulated form with a call-to-action button. ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | True | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | Alignments | Left <br> Center <br> Right | Supported text alignment values. | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | ButtonPressed | (None) | (None) | Raised when the user clicks the card's button. | | Open | (None) | (None) | | | Shown | (None) | (None) | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Alignment | Alignments | Nil | Default text alignment. | | Body | String | Nil | Content to display in the card's body. | | BodyTextStyle | WebUIControl.Indicators | Nil | Bootstrap indicator to apply to body text. | | ButtonCaption | String | Nil | Caption of button element. | | ButtonStyle | WebUIControl.Indicators | Nil | Bootstrap indicator to apply to button. | | CardStyle | WebUIControl.Indicators | Nil | Bootstrap indicator to apply to the card's background. | | Footer | String | Nil | Content to display in the card's footer area. | | FooterBGStyle | WebUIControl.Indicators | Nil | Bootstrap indicator to apply the footer area's background. | | FooterTextStyle | WebUIControl.Indicators | Nil | Bootstrap indicator to apply to content in the footer area. | | HasImage | Boolean | Nil | When True, and a valid object is supplied to the Image property, an image will displayed on the card just below the header. | | Header | String | Nil | Content to display in the card's header area. | | HeaderBGStyle | WebUIControl.Indicators | Nil | Bootstrap indicator to apply to the header's background. | | HeaderTextStyle | WebUIControl.Indicators | Nil | Bootstrap indicator to apply to the header's content. | | Image | Variant | Nil | Image object to be displayed in the card's image area. Valid types are: String ( URL ), WebPicture , WebFile , and FolderItem . | | Subtitle | String | Nil | Content to display in the subtitle area. | | SubtitleTextStyle | WebUIControl.Indicators | Nil | Bootstrap indicator applied to the subtitle content. | | Title | String | Nil | Content to display in the title area. | | TitleTextStyle | WebUIControl.Indicators | Nil | Bootstrap indicator applied to the title content. |