RatingBar.NumStars Property

Definition

Returns the number of stars shown. -or- Sets the number of stars to show.

public virtual int NumStars { [Android.Runtime.Register("getNumStars", "()I", "GetGetNumStarsHandler")] get; [Android.Runtime.Register("setNumStars", "(I)V", "GetSetNumStars_IHandler")] set; }
[<get: Android.Runtime.Register("getNumStars", "()I", "GetGetNumStarsHandler")>]
[<set: Android.Runtime.Register("setNumStars", "(I)V", "GetSetNumStars_IHandler")>]
member this.NumStars : int with get, set

Property Value

Int32

The number of stars shown.

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.RatingBar.getNumStars().

Property setter documentation:

Java documentation for android.widget.RatingBar.setNumStars(int).

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.

Applies to