ClassRadRating
Represents a control that allows for giving a rating by tapping on a RatingItem.
Definition
Namespace:Telerik.UI.Xaml.Controls.Input
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadRating : RadControl, IWeakEventListener
Inheritance: objectRadControlRadRating
Implements:
Inherited Members
Constructors
RadRating()
Initializes a new instance of the RadRating class.
Declaration
public RadRating()
Fields
AutoGeneratedItemsCountProperty
Identifies the AutoGeneratedItemsCount dependency property.
Declaration
public static readonly DependencyProperty AutoGeneratedItemsCountProperty
Field Value
DependencyProperty
CommandParameterProperty
Identifies the CommandParameter dependency property.
Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
DependencyProperty
CommandProperty
Identifies the Command dependency property.
Declaration
public static readonly DependencyProperty CommandProperty
Field Value
DependencyProperty
EmptyIconContentProperty
Identifies the EmptyIconContent dependency property.
Declaration
public static readonly DependencyProperty EmptyIconContentProperty
Field Value
DependencyProperty
EmptyIconContentTemplateProperty
Identifies the EmptyIconContentTemplate dependency property.
Declaration
public static readonly DependencyProperty EmptyIconContentTemplateProperty
Field Value
DependencyProperty
EmptyIconStyleProperty
Identifies the EmptyIconStyle dependency property.
Declaration
public static readonly DependencyProperty EmptyIconStyleProperty
Field Value
DependencyProperty
FilledIconContentProperty
Identifies the FilledIconContent dependency property.
Declaration
public static readonly DependencyProperty FilledIconContentProperty
Field Value
DependencyProperty
FilledIconContentTemplateProperty
Identifies the FilledIconContentTemplate dependency property.
Declaration
public static readonly DependencyProperty FilledIconContentTemplateProperty
Field Value
DependencyProperty
FilledIconStyleProperty
Identifies the FilledIconStyle dependency property.
Declaration
public static readonly DependencyProperty FilledIconStyleProperty
Field Value
DependencyProperty
HighlightedIconStyleProperty
Identifies the HighlightedIconStyle dependency property.
Declaration
public static readonly DependencyProperty HighlightedIconStyleProperty
Field Value
DependencyProperty
IsPanEnabledProperty
Identifies the IsPanEnabled dependency property.
Declaration
public static readonly DependencyProperty IsPanEnabledProperty
Field Value
DependencyProperty
IsReadOnlyProperty
Identifies the IsReadOnly dependency property.
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
DependencyProperty
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
PrecisionProperty
Identifies the Precision dependency property.
Declaration
public static readonly DependencyProperty PrecisionProperty
Field Value
DependencyProperty
SelectionModeProperty
Identifies the SelectionMode dependency property.
Declaration
public static readonly DependencyProperty SelectionModeProperty
Field Value
DependencyProperty
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
DependencyProperty
Properties
AutoGeneratedItemsCount
Gets or sets the count of visual items that are automatically created. Can not be used when rating items are added manually.
CommandParameter
Gets or sets the command parameter for the Command.
EmptyIconContent
Gets or sets the content of the RadRatingItem icon when the item is not selected.
EmptyIconContentTemplate
Gets or sets the content template of the RadRatingItem when the item is not selected.
Declaration
public object EmptyIconContentTemplate { get; set; }
Property Value
EmptyIconStyle
Gets or sets the style of the RadRatingItem icon content when the item is not selected.
Declaration
public Style EmptyIconStyle { get; set; }
Property Value
Style
FilledIconContent
Gets or sets the content of the RadRatingItem icon when the item is selected.
FilledIconContentTemplate
Gets or sets the content template of the RadRatingItem when the item is selected.
Declaration
public object FilledIconContentTemplate { get; set; }
Property Value
FilledIconStyle
Gets or sets the style of the RadRatingItem icon content when the item is selected.
Declaration
public Style FilledIconStyle { get; set; }
Property Value
Style
HighlightedIconStyle
Gets or sets the style of the RadRatingItem icon content in highlighted state.
Declaration
public Style HighlightedIconStyle { get; set; }
Property Value
Style
IsPanEnabled
Gets or sets a value indicating whether the rating control responds to pan gesture.
IsReadOnly
Gets or sets a value indicating whether the rating can be changed or is read only.
Items
Gets the rating items.
Declaration
public ObservableCollection<RadRatingItem> Items { get; }
Property Value
Orientation
Gets or sets the rating orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
Orientation
Precision
Gets or sets the rating precision.
Declaration
public RatingPrecision Precision { get; set; }
Property Value
SelectionMode
Gets or sets the rating selection mode.
Declaration
public RatingSelectionMode SelectionMode { get; set; }
Property Value
Methods
ApplyTemplateCore()
Called when the Framework is called. Inheritors should override this method should they have some custom template-related logic. This is done to ensure that the property is properly initialized.
Finalize()
Finalizes an instance of the RadRating class.
Declaration
protected override void Finalize()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnKeyDown(KeyRoutedEventArgs)
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
e
KeyRoutedEventArgs
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)
Declaration
protected override void OnManipulationCompleted(ManipulationCompletedRoutedEventArgs args)
Parameters
args
ManipulationCompletedRoutedEventArgs
OnManipulationDelta(ManipulationDeltaRoutedEventArgs)
Declaration
protected override void OnManipulationDelta(ManipulationDeltaRoutedEventArgs args)
Parameters
args
ManipulationDeltaRoutedEventArgs
OnManipulationStarted(ManipulationStartedRoutedEventArgs)
Declaration
protected override void OnManipulationStarted(ManipulationStartedRoutedEventArgs args)
Parameters
args
ManipulationStartedRoutedEventArgs
OnValueChanged(ValueChangedEventArgs<object>)
Declaration
protected virtual void OnValueChanged(ValueChangedEventArgs<object> args)
Parameters
args
OnValueChanging(ValueChangingEventArgs<object>)
Declaration
protected virtual void OnValueChanging(ValueChangingEventArgs<object> args)
Parameters
args
Events
ValueChanged
Occurs when the Value property is changed.
Declaration
public event EventHandler<ValueChangedEventArgs<object>> ValueChanged
Event Value
ValueChanging
Occurs when Value property is changing.
Declaration
public event EventHandler<ValueChangingEventArgs<object>> ValueChanging
Event Value