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.Boolean
|
Overrides
Caption
Gets or sets the text of the Caption label.
Declaration
public string Caption { get; set; }
Property Value
System.String
|
DefaultSize
Set the default control size.
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
Description
Gets or sets the text of the description label.
Declaration
public string Description { get; set; }
Property Value
System.String
|
Direction
Gets or sets the direction of rating element paint (Standard, Reversed).
Declaration
public virtual RatingDirection Direction { get; set; }
Property Value
RatingDirection
|
Items
Gets the rating items collection.
Declaration
public RadItemOwnerCollection Items { get; }
Property Value
RadItemOwnerCollection
The items. |
Maximum
Gets or sets the maximum value of rating element.
Declaration
public double Maximum { get; set; }
Property Value
System.Double
|
Minimum
Gets or sets the minimum value of rating element.
Declaration
public double Minimum { get; set; }
Property Value
System.Double
|
Orientation
Gets or sets the orientation of the rating control.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
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
RadRatingElement
|
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.Boolean
|
SelectionMode
Gets or sets the selection mode of the rating control.
Declaration
public RatingSelectionMode SelectionMode { get; set; }
Property Value
RatingSelectionMode
|
Subcaption
Text
This property is not relevant for this class.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Value
Gets or sets the average value of rating element.
Declaration
public double? Value { get; set; }
Property Value
System.Nullable<System.Double>
|
Methods
ControlDefinesThemeForElement(RadElement)
Declaration
public override bool ControlDefinesThemeForElement(RadElement element)
Parameters
RadElement
element
|
Returns
System.Boolean
|
Overrides
CreateChildItems(RadElement)
CreateChildItems
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Overrides
GetRatingElement()
OnValueChanged(EventArgs)
Declaration
protected virtual void OnValueChanged(EventArgs e)
Parameters
System.EventArgs
e
|
OnValueChanging(ValueChangingEventArgs)
Declaration
protected virtual void OnValueChanging(ValueChangingEventArgs e)
Parameters
ValueChangingEventArgs
e
|
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.EventHandler
|
ValueChanging
Occurs when the value is being changed. Cancelable event.
Declaration
public event ValueChangingEventHandler ValueChanging
Event Type
ValueChangingEventHandler
|