menu

UWP

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

    Show / Hide Table of Contents

    Class SfRatingItem

    Represent a selectable item inside the Syncfusion.UI.Xaml.Controls.Input.Rating control.

    Inheritance
    System.Object
    SfRatingItem
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Controls.Input
    Assembly: Syncfusion.SfInput.UWP.dll
    Syntax
    public class SfRatingItem : ContentControl, IDisposable
    Remarks

    The RatingItem is a Windows.UI.Xaml.Controls.ConentControl.

    Constructors

    SfRatingItem()

    Initializes a new instance of the SfRatingItem class.

    Declaration
    public SfRatingItem()

    Fields

    MouseOverTemplateProperty

    Using a DependencyProperty as the backing store for MouseOverTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MouseOverTemplateProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    PointerOverFillProperty

    Using a DependencyProperty as the backing store for PointerOverFill. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty PointerOverFillProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    PointerOverStrokeProperty

    Using a DependencyProperty as the backing store for PointerOverStroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty PointerOverStrokeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    PointerOverStrokeThicknessProperty

    Using a DependencyProperty as the backing store for PointerOverStrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty PointerOverStrokeThicknessProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    RatedFillProperty

    Using a DependencyProperty as the backing store for AccentBrushBrush. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty RatedFillProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    RatedStrokeProperty

    Using a DependencyProperty as the backing store for RatedFillBrush. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty RatedStrokeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    RatedStrokeThicknessProperty

    Using a DependencyProperty as the backing store for RatedStrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty RatedStrokeThicknessProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SelectedTemplateProperty

    Using a DependencyProperty as the backing store for SelectedTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty SelectedTemplateProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UnratedFillProperty

    Using a DependencyProperty as the backing store for UnratedFill. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UnratedFillProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UnratedStrokeProperty

    Using a DependencyProperty as the backing store for UnratedStroke. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UnratedStrokeProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UnratedStrokeThicknessProperty

    Using a DependencyProperty as the backing store for UnratedStrokeThickness. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UnratedStrokeThicknessProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    UnSelectedTemplateProperty

    Using a DependencyProperty as the backing store for UnSelectedTemplate. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty UnSelectedTemplateProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    MouseOverTemplate

    Gets or sets the value of Mouse over template

    Declaration
    public object MouseOverTemplate { get; set; }
    Property Value
    Type
    System.Object

    PointerOverFill

    Gets or sets the value that fills the pointer over area with the specified solid color.

    Declaration
    public Brush PointerOverFill { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The default value is null.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    PointerOverStroke

    Gets or sets the brush that paints the pointer over area outline with a specified solid color.

    Declaration
    public Brush PointerOverStroke { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The default value is Windows.UI.Colors.Gray.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    PointerOverStrokeThickness

    Gets or sets the value that specifies the outline thickness for the pointer over area.

    Declaration
    public double PointerOverStrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    RatedFill

    Gets or sets the value that fills the rated area with the specified solid color.

    Declaration
    public Brush RatedFill { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The default value is null.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    RatedStroke

    Gets or sets the brush that paints the rated area outline with a specified solid color.

    Declaration
    public Brush RatedStroke { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The default value is null.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    RatedStrokeThickness

    Gets or sets the value that specifies the outline thickness for the rated area.

    Declaration
    public double RatedStrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    SelectedTemplate

    Gets or sets the value of Selected template

    Declaration
    public object SelectedTemplate { get; set; }
    Property Value
    Type
    System.Object

    UnratedFill

    Gets or sets the value that fills the unrated area with the specified solid color.

    Declaration
    public Brush UnratedFill { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The default value is Windows.UI.Colors.Transparent.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    UnratedStroke

    Gets or sets the brush that paints the unrated area outline with a specified solid color.

    Declaration
    public Brush UnratedStroke { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    The default value is Windows.UI.Colors.Gray.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    UnratedStrokeThickness

    Gets or sets the value that specifies the outline thickness for the unrated area.

    Declaration
    public double UnratedStrokeThickness { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.Rating

    UnSelectedTemplate

    Gets or sets the value of unselected template

    Declaration
    public object UnSelectedTemplate { get; set; }
    Property Value
    Type
    System.Object

    Methods

    Dispose()

    Dispose Method

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Dispose method

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Boolean type

    OnApplyTemplate()

    Initializes all the child elements of Syncfusion.UI.Xaml.Controls.Input.RatingItem control.

    Declaration
    protected override void OnApplyTemplate()

    OnPointerExited(PointerRoutedEventArgs)

    Occurs when the pointer exited

    Declaration
    protected override void OnPointerExited(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    Pointer Routed Event Args

    OnPointerMoved(PointerRoutedEventArgs)

    Declaration
    protected override void OnPointerMoved(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    OnPointerPressed(PointerRoutedEventArgs)

    Occurs when the pointer is pressed

    Declaration
    protected override void OnPointerPressed(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    Pointer Routed EventArgs

    OnPointerReleased(PointerRoutedEventArgs)

    Occurs when the pointer is released

    Declaration
    protected override void OnPointerReleased(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.PointerRoutedEventArgs e

    Pointer Routed Event Args

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved