Class MobileRatingPropertiesBuilder
Class for Rating Property Builder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript.Mobile
Assembly: Syncfusion.EJ.dll
Syntax
public class MobileRatingPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileRatingPropertiesBuilder(Rating)
Initializes a new instance of the MobileRatingPropertiesBuilder class.
Declaration
public MobileRatingPropertiesBuilder(Rating mRating)
Parameters
Type | Name | Description |
---|---|---|
Rating | mRating | The m rating. |
Methods
BackgroundColor(String)
Specifies the rating backgroundColor.
Declaration
public MobileRatingPropertiesBuilder BackgroundColor(string backgroundColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | backgroundColor | The background Color. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
BorderColor(String)
Specifies the rating borderColor.
Declaration
public MobileRatingPropertiesBuilder BorderColor(string borderColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | borderColor | The border Color. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
ClientSideEvents(Action<MobileRatingClientSideEventsBuilder>)
Section for client side events.
Declaration
public MobileRatingPropertiesBuilder ClientSideEvents(Action<MobileRatingClientSideEventsBuilder> clientSideEvents)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MobileRatingClientSideEventsBuilder> | clientSideEvents | The client side events. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
Enabled(Boolean)
Specifies whether to enable or disable the control.
Declaration
public MobileRatingPropertiesBuilder Enabled(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enabled | if set to |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
EnablePersistence(Boolean)
Specifies to maintain the current model value to browser cookies for state maintenance. While refresh the page, the model value will get apply to the control from browser cookies.
Declaration
public MobileRatingPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enablePersistence | if set to |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
HoverColor(String)
Specifies the rating hoverColor.
Declaration
public MobileRatingPropertiesBuilder HoverColor(string hoverColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | hoverColor | The hoverColor Color. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
IncrementStep(Double)
Specifies the step value for incrementation.
Declaration
public MobileRatingPropertiesBuilder IncrementStep(double incrementStep)
Parameters
Type | Name | Description |
---|---|---|
System.Double | incrementStep | The increment step. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
MaximumValue(Int32)
Specifies the maxmimum value.
Declaration
public MobileRatingPropertiesBuilder MaximumValue(int maximumValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maximumValue | The maximum value. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
MinimumValue(Int32)
Specifies the minimum value.
Declaration
public MobileRatingPropertiesBuilder MinimumValue(int minimumValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | minimumValue | The minimum value. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
Orientation(Orientation)
Specifies whether the orientation is horizontal or vertical.
Declaration
public MobileRatingPropertiesBuilder Orientation(Orientation orientation)
Parameters
Type | Name | Description |
---|---|---|
Orientation | orientation |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
Precision(Precision)
Specifies the precision value.
Declaration
public MobileRatingPropertiesBuilder Precision(Precision precisison)
Parameters
Type | Name | Description |
---|---|---|
Precision | precisison | The precisison. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
ReadOnly(Boolean)
Specifies whether the control is read only.
Declaration
public MobileRatingPropertiesBuilder ReadOnly(bool readOnly)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | readOnly | if set to |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
Render()
Declaration
public void Render()
RenderMode(RenderMode)
Specifies the rendering mode of the control.
Declaration
public MobileRatingPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type | Name | Description |
---|---|---|
RenderMode | renderMode | The render mode. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
SelectionColor(String)
Specifies the rating selectionColor.
Declaration
public MobileRatingPropertiesBuilder SelectionColor(string selectionColor)
Parameters
Type | Name | Description |
---|---|---|
System.String | selectionColor | The selectionColor Color. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
Shape(Shape)
Specifies the shape.
Declaration
public MobileRatingPropertiesBuilder Shape(Shape shape)
Parameters
Type | Name | Description |
---|---|---|
Shape | shape | The shape. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
ShapeHeight(Int32)
Specifies the shape height.
Declaration
public MobileRatingPropertiesBuilder ShapeHeight(int shapeHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | shapeHeight | Height of the shape. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
ShapeWidth(Int32)
Specifies the shape width.
Declaration
public MobileRatingPropertiesBuilder ShapeWidth(int shapeWidth)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | shapeWidth | Width of the shape. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
SpaceBetweenShapes(Int32)
Specifies the space between shapes.
Declaration
public MobileRatingPropertiesBuilder SpaceBetweenShapes(int spaceBetweenShapes)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | spaceBetweenShapes | The space between shapes. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type | Description |
---|---|
System.String |
Value(Int32)
Specifies the current value.
Declaration
public MobileRatingPropertiesBuilder Value(int Value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Value | The value. |
Returns
Type | Description |
---|---|
MobileRatingPropertiesBuilder |