Rating Number

Easy to use you only need inform number items


As a single tag you have the rating.





About Current Version 5.0.0.2012



Updated.

About Previous Version



- IndexSelected, OnSelect now are [DEPRECATED] and will be removed soon, added field "IndexVoted" and event "Voted".
BackGroundColorSelect and BackGroundColorDeselect are been discontinued use now "ColorUIVoted" and "ColorUIUnVoted" in RatingLetter/RatingNumber.
TextColorSelect and TextColorDeselect are been discontinued use now "TextColorVoted" and "TextColorUnVoted".
- IndexSelected, OnSelect now are [DEPRECATED] and will be removed soon, added field "IndexVoted" and event "Voted".
- Add new Item in VivacitySpeed "LessSlow".
- Add new Item in Depth "Small".
- Add new Properties Vivacity, Depth, VivacityMode, VivacitySpeed.
- AnimationDesign, AnimationSpeed, AnimationEffect are now Deprecate for now as there is no equivalent for all the clicks the two forms work, but if there is vivacity(all fields) the new one prevails.

- Add AnimationEffect "Increase".
- Add new property AnimationEffect with possible values(Standard, Rotation, Jump).
- Add new property AnimationSpeed in RatingNumber that changes animation speed when selecting an item.
- Correction in Value when rating was deselected it was incorrect.
- Adding a new field "IndexSelected".
- Add new property AnimationDesign which animates the numbers when selecting.
- 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");
}


This version in the latest 2019 of Visual Studio, if there is any difficulty put via NugetPackage directly in your project and use the tag.

Xamarin.Forms in version 5.0.0.2012


Download

Documentation



Available in pdf

Documentation download