# GraffitiRating
Class Inherits GraffitiUIControl
## About
GraffitiRating is an animated rating display or prompt control for easily providing your users with a way to review from within your application.
## Preview
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| False | True |
### Console
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
### iOS
| 32-Bit | 64-Bit |
| :---: | :---: |
| False | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Styles | Star <br > Heart | Supported value icon styles. |
| Views | ButtonCaption <br > ButtonIconOnly <br > RatingBar | Supported view styles. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Opening | (None) | (None) | (None) |
| Resized | (None) | (None) | Raised when the class has completed a resize operation. |
| Resizing | (None) | (None) | Fired at each step of a resize operation. |
| ValueChanged | (None) | (None) | Signifies that the user has changed the value by selecting a new rating. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| BackgroundColor | ColorGroup | (None) | Color applied to the background behind the rating selection icons. |
| BorderColor | ColorGroup | (None) | Color applied to the border around the control. |
| Caption | String | (None) | String to display in the button. Blank for rating double value. |
| FontStyle | GraffitiUIControl.FontStyles | (None) | Font style used for drawing the progress text. |
| IconBackground | ColorGroup | (None) | The color displayed behind the icon in button modes. |
| IconBorder | ColorGroup | (None) | Color applied to the border of the icons. |
| IconColor | ColorGroup | (None) | Color used to draw the background color of the individual icons. |
| ParentView | MobileScreen | (None) | View in which the control is embedded. |
| Style | GraffitiRating.Styles | (None) | The style of the rating icon. |
| TextColor | ColorGroup | (None) | Color applied to text in the button modes. |
| TextFont | String | (None) | Font face applied to text. |
| TextSize | Integer | (None) | Size of font face. |
| Value | Double | (None) | Current rating value. |
| ValueFormat | String | (None) | Format applied to Value for display. %1 will be replaced with the double value. |
| View | GraffitiRating.Views | (None) | Controls the current display mode. |