RatingBar.Rating Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current rating (number of stars filled). -or- Sets the rating (the number of stars filled).
public virtual float Rating { [Android.Runtime.Register("getRating", "()F", "GetGetRatingHandler")] get; [Android.Runtime.Register("setRating", "(F)V", "GetSetRating_FHandler")] set; }
[<get: Android.Runtime.Register("getRating", "()F", "GetGetRatingHandler")>]
[<set: Android.Runtime.Register("setRating", "(F)V", "GetSetRating_FHandler")>]
member this.Rating : single with get, set
Property Value
The current rating.
- Attributes
Remarks
Property getter documentation:
Gets the current rating (number of stars filled).
Java documentation for android.widget.RatingBar.getRating()
.
Property setter documentation:
Sets the rating (the number of stars filled).
Java documentation for android.widget.RatingBar.setRating(float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.