Class SfRatingSettings
Implements the properties for the color customizations of the items.
Inheritance
Implements
Namespace: Com.Syncfusion.Rating
Assembly: Syncfusion.SfRating.Android.dll
Syntax
public class SfRatingSettings : Object, INotifyPropertyChanged
Constructors
SfRatingSettings()
Initializes a new instance of the SfRatingSettings class.
Declaration
public SfRatingSettings()
Properties
RatedFill
Gets or sets the color to be filled for selected item.
Declaration
public Color RatedFill { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The rated fill. |
RatedStroke
Gets or sets the border color width of the selected items.
Declaration
public Color RatedStroke { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The rated stroke. |
RatedStrokeWidth
Gets or sets the border stroke width of the selected items.
Declaration
public int RatedStrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The width of the rated stroke. |
UnRatedFill
Gets or sets the color to be filled for unselected item.
Declaration
public Color UnRatedFill { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The un rated fill. |
UnRatedStroke
Gets or sets the border color width of the unselected items.
Declaration
public Color UnRatedStroke { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | The un rated stroke. |
UnRatedStrokeWidth
Gets or sets the border stroke width of the unselected items.
Declaration
public int UnRatedStrokeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The width of the un rated stroke. |
Methods
RaiseOnPropertyChanged(String)
This method is called by the Set accessor of each property. The CallerMemberName attribute that is applied to the optional propertyName parameter causes the property name of the caller to be substituted as an argument.
Declaration
protected virtual void RaiseOnPropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | String type |
Events
PropertyChanged
Occurs when property changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |