Class
RadRatingItem

An item used in a rating control.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Input")]
[Themable]
public class RadRatingItem : ContentControl, IUpdateVisualState

Inheritance: objectRadRatingItem

Implements: IUpdateVisualState

Constructors

RadRatingItem()

Initializes a new instance of the RadRatingItem class.

Declaration

cs-api-definition
public RadRatingItem()

Fields

IsMouseOverItemProperty

Identifies the MouseOverHelper dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMouseOverItemProperty

Field Value

DependencyProperty

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsReadOnlyProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the SelectedHelper dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

RatioVisibleProperty

Identifies the Value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RatioVisibleProperty

Field Value

DependencyProperty

ValueRatioProperty

Identifies the ValueHelper dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueRatioProperty

Field Value

DependencyProperty

Properties

IsMouseOverItem

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

Declaration

cs-api-definition
public bool IsMouseOverItem { get; set; }

Property Value

bool

IsSelected

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

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

RatioVisible

Gets or sets the value.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods")]
public double RatioVisible { get; set; }

Property Value

double

The value.

ValueRatio

Gets or sets a value indicating the value ratio.

Declaration

cs-api-definition
public double ValueRatio { get; set; }

Property Value

double

Methods

OnCreateAutomationPeer()

Creates new ratingAutomationPeer when needed.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()