Class Slider
The Slider provides support to select a value from a particular range as well as selects a range value. The Slider has a sliding base on which the handles are moved.
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class Slider : Control, IHtmlString
Constructors
Slider()
Specifes the slider default constructor
Declaration
public Slider()
Slider(String, SliderProperties)
Specifies the slider default constructor with properties as an parameters
Declaration
public Slider(string id, SliderProperties propModel)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | |
| SliderProperties | propModel |
Properties
Model
Instance of control properties class
Declaration
protected override object Model { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Overrides
PluginName
overrides the pluginname of the slider
Declaration
public override string PluginName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
SliderModel
Gets or sets the slidermodel
Declaration
public SliderProperties SliderModel { get; set; }
Property Value
| Type | Description |
|---|---|
| SliderProperties |
TagName
Overrides the slider TagName
Declaration
public override string TagName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Methods
CreateContainer(String)
Specifies the container for the element
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controlId |
Returns
| Type | Description |
|---|---|
| System.Web.HtmlString |
Overrides
RenderControl(String)
Represents an HTML element of the Slider control.
Declaration
public override void RenderControl(string controlId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controlId |
Overrides
Implements
System.Web.IHtmlString