menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfRatingSettings - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfRatingSettings

    SfRatingSettings implements the properties for the color customizations of items.

    Inheritance
    System.Object
    SfRatingSettings
    Namespace: Syncfusion.SfRating.XForms
    Assembly: Syncfusion.SfRating.XForms.dll
    Syntax
    public class SfRatingSettings : View, IThemeElement

    Constructors

    SfRatingSettings()

    Initializes a new instance of the SfRatingSettings class.

    Declaration
    public SfRatingSettings()

    Fields

    RatedFillProperty

    Identifies the RatedFill bindable property. The color to be filled for selected item in SfRatingSettings.

    Declaration
    public static readonly BindableProperty RatedFillProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    RatedStrokeProperty

    The border color width of the unselected items.

    Declaration
    public static readonly BindableProperty RatedStrokeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    RatedStrokeWidthProperty

    Identifies the RatedStrokeWidth bindable property. The border stroke width of the selected items.

    Declaration
    public static readonly BindableProperty RatedStrokeWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    UnRatedFillProperty

    Identifies the UnRatedFill bindable property. The color to be filled for unselected item.

    Declaration
    public static readonly BindableProperty UnRatedFillProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    UnRatedStrokeProperty

    Identifies the UnRatedStroke bindable property. The border color width of unselected items.

    Declaration
    public static readonly BindableProperty UnRatedStrokeProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    UnRatedStrokeWidthProperty

    Identifies the UnRatedStrokeWidth bindable property. The border stroke width of unselected items.

    Declaration
    public static readonly BindableProperty UnRatedStrokeWidthProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    RatedFill

    Gets or sets the value of RatedFill. The color to be filled for selected item in SfRatingSettings.

    Declaration
    public Color RatedFill { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The default color is blue.

    RatedStroke

    Gets or sets the value of RatedStroke. This property can be used to change the color of RatedStroke.

    Declaration
    public Color RatedStroke { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The default value is blue.

    RatedStrokeWidth

    Gets or sets the value of RatedStrokeWidth. This property can be used to change the border stroke width o selected items.

    Declaration
    public int RatedStrokeWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 2.

    UnRatedFill

    Gets or sets the value of UnRatedFill. This property can be used to change the color of unselected item.

    Declaration
    public Color UnRatedFill { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The default value is transparent color.

    UnRatedStroke

    Gets or sets the value of UnRatedStroke. This property can be used to change the border color width of unselected items.

    Declaration
    public Color UnRatedStroke { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The default value is charcoal color.

    UnRatedStrokeWidth

    Gets or sets the value of UnRatedStrokeWidth. This property can be used to change the border stroke width of unselected items.

    Declaration
    public int UnRatedStrokeWidth { get; set; }
    Property Value
    Type Description
    System.Int32

    The default value is 2.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved