Class RatingProperties
Represents the Rating UI element.
Inherited Members
Namespace: Syncfusion.JavaScript.Models
Assembly: Syncfusion.EJ.dll
Syntax
public class RatingProperties : EJTagHelper
Constructors
RatingProperties()
Initializes a new instance the RatingProperties class.
Declaration
public RatingProperties()
Properties
AllowReset
Gets or sets the allow reset.
Declaration
[JsonProperty("allowReset")]
public bool AllowReset { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Change
Occurs when Rating value changes.
Declaration
[JsonProperty("change")]
public string Change { get; set; }
Property Value
Type | Description |
---|---|
System.String | The change. |
Click
Occurs when Rating control is clicked successfully.
Declaration
[JsonProperty("click")]
public string Click { get; set; }
Property Value
Type | Description |
---|---|
System.String | The click. |
Create
Occurs when Rating control is created.
Declaration
[JsonProperty("create")]
public string Create { get; set; }
Property Value
Type | Description |
---|---|
System.String | The create. |
CssClass
Gets or sets the CSS class to achieve custom theme.
Declaration
[JsonProperty("cssClass")]
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The css class. |
Destroy
Occurs when Rating control is destroyed successfully.
Declaration
[JsonProperty("destroy")]
public string Destroy { get; set; }
Property Value
Type | Description |
---|---|
System.String | The destroy. |
Enabled
Gets or sets the enabled.
Declaration
[JsonProperty("enabled")]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnablePersistence
Gets or sets the enable persistence.
Declaration
[JsonProperty("enablePersistence")]
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The enable persistence. |
Height
Gets or sets the height of the Rating control wrapper.
Declaration
[JsonProperty("height")]
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The height. |
HtmlAttributes
Gets or sets the html attributes.
Declaration
[JsonProperty("htmlAttributes")]
public IDictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | The HTML attributes. |
IncrementStep
Gets or sets the value to be increased while navigating between shapes(stars) in Rating control.
Declaration
[JsonProperty("incrementStep")]
public int IncrementStep { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The increment step. |
MaxValue
Gets or sets the maximum number of Rating shape(star).
Declaration
[JsonProperty("maxValue")]
public double MaxValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The max value. |
MinValue
Gets or sets the minimum number of Rating shape(star).
Declaration
[JsonProperty("minValue")]
public double MinValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The min value. |
Mousemove
Occurs when mouse hover is moved from Rating control.
Declaration
[JsonProperty("mousemove")]
public string Mousemove { get; set; }
Property Value
Type | Description |
---|---|
System.String | The mouse move. |
Mouseout
Occurs when mouse hover is removed from Rating control.
Declaration
[JsonProperty("mouseout")]
public string Mouseout { get; set; }
Property Value
Type | Description |
---|---|
System.String | The mouse out. |
Mouseover
Occurs when mouse hovered over the Rating control.
Declaration
[JsonProperty("mouseover")]
public string Mouseover { get; set; }
Property Value
Type | Description |
---|---|
System.String | The mouse over. |
Orientation
Specifies the orientation of Rating control.
Declaration
[JsonProperty("orientation")]
[JsonConverter(typeof(StringEnumConverter))]
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
Precision
Gets or sets the precision.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("precision")]
public Precision Precision { get; set; }
Property Value
Type | Description |
---|---|
Precision | The precision. |
ReadOnly
Gets or sets the interaction with Rating control can be prevented by enabling this API.
Declaration
[JsonProperty("readOnly")]
public bool ReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ShapeHeight
Gets or sets the height of the Rating control wrapper.
Declaration
[JsonProperty("shapeHeight")]
public int ShapeHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The shape height. |
ShapeWidth
Gets or sets the width of each shape in Rating control.
Declaration
[JsonProperty("shapeWidth")]
public int ShapeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The shape width. |
ShowTooltip
Gets or sets the show tool tip.
Declaration
[JsonProperty("showTooltip")]
public bool ShowTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Value
Gets or sets the number of stars to be selected while rendering.
Declaration
[JsonProperty("value")]
public double Value { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The value. |
Width
Gets or sets the width of the Rating control wrapper.
Declaration
[JsonProperty("width")]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The width. |
Methods
GetControlDetails()
Declaration
protected override object GetControlDetails()
Returns
Type | Description |
---|---|
System.Object |