menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfRatingItem - API Reference

    Show / Hide Table of Contents

    Class SfRatingItem

    SfRatingItem represents the rating item that is filled when rated.

    Inheritance
    System.Object
    SfRatingItem
    Namespace: Syncfusion.SfRating.XForms
    Assembly: Syncfusion.SfRating.XForms.dll
    Syntax
    public class SfRatingItem : View

    Constructors

    SfRatingItem()

    Initializes a new instance of the SfRatingItem class. Implements the properties used to get or set the custom views for the control for rendering.

    Declaration
    public SfRatingItem()

    Fields

    SelectedViewProperty

    Identifies the SelectedView bindable property. The custom view that renders on selected rating item.

    Declaration
    public static readonly BindableProperty SelectedViewProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    UnSelectedViewProperty

    Identifies the UnSelectedView bindable property. The custom view that renders on unselected rating item.

    Declaration
    public static readonly BindableProperty UnSelectedViewProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    SelectedView

    Gets or sets the value of SelectedView. Custom view that renders on selected rating item.

    Declaration
    public View SelectedView { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.View

    The default value is null.

    UnSelectedView

    Gets or sets the value of UnSelectedView. Custom view that renders on unselected rating item.

    Declaration
    public View UnSelectedView { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.View

    TThe default value is null.

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