New to Telerik UI for .NET MAUI? Start a free 30-day trial

Encapsulates common RadRating logic.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public abstract class RadRatingBase : RadLayout

Inheritance: objectRadLayoutRadRatingBase

Derived Classes: RadShapeRatingRadTemplatedRating

Inherited Members RadLayout.CreateLayoutManager()

Constructors

Initializes a new instance of the RadRatingBase class.

C#
protected RadRatingBase()

Fields

IsMouseOverProperty

BindableProperty

Identifies the IsMouseOver bindable property.

C#
public static readonly BindableProperty IsMouseOverProperty

IsReadOnlyProperty

BindableProperty

Identifies the IsReadOnly property.

C#
public static readonly BindableProperty IsReadOnlyProperty

ItemsCountProperty

BindableProperty

Identifies theItemsCount property.

C#
public static readonly BindableProperty ItemsCountProperty

ItemsSpacingProperty

BindableProperty

Identifies the ItemsSpacing property.

C#
public static readonly BindableProperty ItemsSpacingProperty

StyleProperty

BindableProperty

Identifies the Style property.

C#
public static readonly BindableProperty StyleProperty

ValueProperty

BindableProperty

Identifies the Value property.

C#
public static readonly BindableProperty ValueProperty

Properties

Gets a value indicating whether the mouse cursor is currently hovering over this rating control. This property is primarily used on desktop platforms to provide visual feedback for mouse interaction.

C#
public bool IsMouseOver { get; }

Gets or sets a boolean value indicating if the control supports user interaction.

C#
public bool IsReadOnly { get; set; }
Property Value:

The value.

Gets or sets the number of the visualized items.

C#
public int ItemsCount { get; set; }
Property Value:

The count.

Gets or sets the space between the separate RadRating items.

C#
public double ItemsSpacing { get; set; }
Property Value:

The space.

Style

Style

Gets or sets the Style of the control.

C#
public Style Style { get; set; }

Gets or sets the RadRating.

C#
public double Value { get; set; }
Property Value:

The RadRating.

Methods

C#
protected override void ChangeVisualState()
C#
protected override void OnHandlerChanged()
C#
protected override void OnHandlerChanging(HandlerChangingEventArgs args)
Parameters:argsHandlerChangingEventArgs
C#
protected override void OnParentSet()
C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Events

ValueChanged

EventHandler<ValueChangedEventArgs>

Occurs when the Value property of the control has changed.

C#
public event EventHandler<ValueChangedEventArgs> ValueChanged