Class RadRating
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadRating : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadRating()
Initializes a new instance of the RadRating class
Declaration
public RadRating()
Properties
AutoSize
Gets or sets whether the edit control is auto-sized.
Declaration
public override bool AutoSize { get; set; }
Property Value
System.
|
Overrides
Caption
Gets or sets the text of the Caption label.
Declaration
public string Caption { get; set; }
Property Value
System.
|
DefaultSize
Set the default control size.
Declaration
protected override Size DefaultSize { get; }
Property Value
System.
|
Description
Gets or sets the text of the description label.
Declaration
public string Description { get; set; }
Property Value
System.
|
Direction
Gets or sets the direction of rating element paint (Standard, Reversed).
Declaration
public virtual RatingDirection Direction { get; set; }
Property Value
Items
Gets the rating items collection.
Declaration
public RadItemOwnerCollection Items { get; }
Property Value
Rad The items. |
Maximum
Gets or sets the maximum value of rating element.
Declaration
public double Maximum { get; set; }
Property Value
System.
|
Minimum
Gets or sets the minimum value of rating element.
Declaration
public double Minimum { get; set; }
Property Value
System.
|
Orientation
Gets or sets the orientation of the rating control.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.
|
RatingElement
Gets the instance of RadRatingElement wrapped by this control. RadRatingElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadRatingControl.
Declaration
public RadRatingElement RatingElement { get; }
Property Value
ReadOnly
Gets or sets whether the rating is ReadOnly. The Value of the element can still be set in ReadOnly mode, nothing else.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.
|
SelectionMode
Gets or sets the selection mode of the rating control.
Declaration
public RatingSelectionMode SelectionMode { get; set; }
Property Value
Subcaption
Gets or sets the text of the Sub Caption label.
Declaration
public string Subcaption { get; set; }
Property Value
System.
|
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.
|
Overrides
Value
Gets or sets the average value of rating element.
Declaration
public double? Value { get; set; }
Property Value
System.
|
Methods
ControlDefinesThemeForElement(RadElement)
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
Rad
|
Returns
System.
|
Overrides
CreateChildItems(RadElement)
CreateChildItems
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
Rad
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
Overrides
GetRatingElement()
OnValueChanged(EventArgs)
Declaration
protected virtual void OnValueChanged(EventArgs e)
Parameters
System.
|
OnValueChanging(ValueChangingEventArgs)
Declaration
protected virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
UnwireEvents()
Declaration
protected virtual void UnwireEvents()
WireEvents()
Declaration
protected virtual void WireEvents()
Events
ValueChanged
Occurs before the value of the RatingElement is changed.
Declaration
public event EventHandler ValueChanged
Event Type
System.
|
ValueChanging
Occurs when the value is being changed. Cancelable event.
Declaration
public event ValueChangingEventHandler ValueChanging