New to Telerik UI for WPFStart a free 30-day trial

An item used in a rating control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
[TelerikToolboxCategory("Input")]
[Themable]
public class RadRatingItem : ContentControl, IUpdateVisualState

Inheritance: objectRadRatingItem

Implements: IUpdateVisualState

Constructors

Initializes a new instance of the RadRatingItem class.

C#
public RadRatingItem()

Fields

IsMouseOverItemProperty

DependencyProperty

Identifies the MouseOverHelper dependency property.

C#
public static readonly DependencyProperty IsMouseOverItemProperty

IsReadOnlyProperty

DependencyProperty

Identifies the IsReadOnly dependency property.

C#
public static readonly DependencyProperty IsReadOnlyProperty

IsSelectedProperty

DependencyProperty

Identifies the SelectedHelper dependency property.

C#
public static readonly DependencyProperty IsSelectedProperty

RatioVisibleProperty

DependencyProperty

Identifies the Value dependency property.

C#
public static readonly DependencyProperty RatioVisibleProperty

ValueRatioProperty

DependencyProperty

Identifies the ValueHelper dependency property.

C#
public static readonly DependencyProperty ValueRatioProperty

Properties

Gets or sets a value indicating whether the mouse is over this instance.

C#
public bool IsMouseOverItem { get; set; }

Gets or sets a value indicating whether this instance is selected.

C#
public bool IsSelected { get; set; }

Gets or sets the value.

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

The value.

Gets or sets a value indicating the value ratio.

C#
public double ValueRatio { get; set; }

Methods

Creates new ratingAutomationPeer when needed.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()