This control allow to rate. You can customize some properties that we show in Documentation topic. To clear the rating, you can tap on the selected item.
<material3:MaterialRating
LabelText="How do you rate...?"
SelectedIcon="starSelected.png"
UnSelectedIcon="starUnselected.png" />
This property is to set if use the same icon for all items or use a different icon for item.
This property is to set the icons for all items when an item is selected, you can use svgs. (Icon from first item is the first icon in the collection)
This property is to set the icons for all items when an item is selected, You can use image file types like png, jpg, etc. (Icon from first item is the first icon in the collection)
This property is to select the icon that the control will use to selected item. You can use image file types like png, jpg, etc.
This property is to select the icon that the control will use to selected item. You can use svgs.
This property is to select the icon that the control will use to unselected items. You can use image file types like png, jpg, etc.
This property is to select the icon that the control will use to unselected items. You can use svgs.
This property is to set the icons for all items when an item is unselected, you can use svgs. (Icon from first item is the first icon in the collection)
This property is to set the icons for all items when an item is unselected, You can use image file types like png, jpg, etc. (Icon from first item is the first icon in the collection)
This property is to set the quantity of items that you want to use, by default is 5.
This property is to set the quantity of items that you want to use by row, by default is 5.
This property is to set if the control is enabled or not.
This property is to set the value of the control. This can use to get the value of rating.
This property is to set the label.
This property is to set the label color.
This property is to set the disabled label color.
This property is to set the label size.
This property is to set the label font family.
This property is to set the label margin family. By default uses (16,0,16,0).
This property is to set the Label Line Break Mode
- NoWrap,
- WordWrap,
- CharacterWrap,
- HeadTruncation,
- TailTruncation,
- MiddleTruncation
This property is to set the supporting text.
This property is to set the supporting text color.
This property is to set the supporting text size.
This property is to set the supporting text font family.
This property is to set the supporting text margin. By default uses (16,4,16,0).
This property is to set the Supporting LineBreakMode.
- NoWrap,
- WordWrap,
- CharacterWrap,
- HeadTruncation,
- TailTruncation,
- MiddleTruncation
This property is to set the horizontal text alignment.
- Start
- Center
- End
This property is to set if you can show a ShakeAnimation when there is a error with control. If the user doesn't rate.
This property is to set the animation type on touch the item.
This property is to set the parameter of the animation.