Rating Number

Easy to use you only need inform number items


As a single tag you have the rating.





About Current Version 2.3.0



- Add new property AnimationDesign which animates the numbers when selecting.

About Previous Version



- Add new properties FontType and FontFamily.
- It is necessary to change the import tag in xaml to "clr-namespace:LaavorRatingSwap;assembly=RatingAndSwap" and Using Laavor; to Using LaavorRatingSwap; in .cs file, making it possible to integrate with other Laavor packages.

- Event OnSelect can now be added with '+=' in Code Behind.

Example



It's possible set Step to create numeric spacing
Tag:
<lv:RatingNumber ItemsNumber="4" NumberFontSize="25" Step="0.25" InitialNumber="0.3" SpaceBetween="1" OnSelect="RatingNumber_OnSelect" />

File .cs event:
private void RatingNumber_OnSelect(object sender, EventArgs e)
{
   RatingNumber ratingNumber = (RatingNumber)sender;
   DisplayAlert("Value", ratingNumber.Value.ToString(), "Ok");
}


Download

Documentation



Available in pdf

Documentation download