menu

ASP.NET Core

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MobileSliderPropertiesBuilder

    Show / Hide Table of Contents

    Class MobileSliderPropertiesBuilder

    Class for Slider Property Builder

    Inheritance
    System.Object
    MobileSliderPropertiesBuilder
    Implements
    IPropertiesBuilder
    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.Mobile
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class MobileSliderPropertiesBuilder : IPropertiesBuilder, IHtmlString

    Constructors

    MobileSliderPropertiesBuilder(Slider)

    Initializes a new instance of the MobileSliderPropertiesBuilder class.

    Declaration
    public MobileSliderPropertiesBuilder(Slider mSlider)
    Parameters
    Type Name Description
    Slider mSlider

    The m slider.

    Methods

    AnimationSpeed(Int32)

    Specifies the animation speed when animation is enabled.

    Declaration
    public MobileSliderPropertiesBuilder AnimationSpeed(int animationSpeed)
    Parameters
    Type Name Description
    System.Int32 animationSpeed

    The animation speed.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    ClientSideEvents(Action<MobileSliderClientSideEventsBuilder>)

    Section for client side events.

    Declaration
    public MobileSliderPropertiesBuilder ClientSideEvents(Action<MobileSliderClientSideEventsBuilder> clientSideEvents)
    Parameters
    Type Name Description
    System.Action<MobileSliderClientSideEventsBuilder> clientSideEvents

    The client side events.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    CssClass(String)

    Specifies custom theme for the control.

    Declaration
    public MobileSliderPropertiesBuilder CssClass(string cssClass)
    Parameters
    Type Name Description
    System.String cssClass

    The cssClass.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    EnableAnimation(Boolean)

    Specifies whether to enable animation.

    Declaration
    public MobileSliderPropertiesBuilder EnableAnimation(bool enableAnimation)
    Parameters
    Type Name Description
    System.Boolean enableAnimation

    if set to true [enableAnimation].

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    Enabled(Boolean)

    Specifies whether to enable or disable the control.

    Declaration
    public MobileSliderPropertiesBuilder Enabled(bool enabled)
    Parameters
    Type Name Description
    System.Boolean enabled

    if set to true [enable].

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    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 MobileSliderPropertiesBuilder EnablePersistence(bool enablePersistence)
    Parameters
    Type Name Description
    System.Boolean enablePersistence

    if set to true [enable persistence].

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    EnableRange(Boolean)

    Specifies whether to enable range slider.

    Declaration
    public MobileSliderPropertiesBuilder EnableRange(bool enableRange)
    Parameters
    Type Name Description
    System.Boolean enableRange

    if set to true [enableRange].

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    IncrementStep(Int32)

    Specifies the step value for incrementation.

    Declaration
    public MobileSliderPropertiesBuilder IncrementStep(int incrementStep)
    Parameters
    Type Name Description
    System.Int32 incrementStep

    The incrementStep.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    IOS7(Action<MobileSliderIOS7PropertiesBuilder>)

    Section for ios7 mode specific functionalities.

    Declaration
    public MobileSliderPropertiesBuilder IOS7(Action<MobileSliderIOS7PropertiesBuilder> ios7Model)
    Parameters
    Type Name Description
    System.Action<MobileSliderIOS7PropertiesBuilder> ios7Model

    The ios7 model.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    MaximumValue(Int32)

    Specifies the maximum value.

    Declaration
    public MobileSliderPropertiesBuilder MaximumValue(int maximumValue)
    Parameters
    Type Name Description
    System.Int32 maximumValue

    The end value.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    MinimumValue(Int32)

    Specifies the minimum value.

    Declaration
    public MobileSliderPropertiesBuilder MinimumValue(int minimumValue)
    Parameters
    Type Name Description
    System.Int32 minimumValue

    The start value.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    Orientation(Orientation)

    Specifies whether the orientation is horizontal or vertical.

    Declaration
    public MobileSliderPropertiesBuilder Orientation(Orientation orientation)
    Parameters
    Type Name Description
    Orientation orientation

    The orientation.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    ReadOnly(Boolean)

    Specifies whether the control is read only.

    Declaration
    public MobileSliderPropertiesBuilder ReadOnly(bool readOnly)
    Parameters
    Type Name Description
    System.Boolean readOnly

    if set to true [read only].

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    Render()

    Declaration
    public void Render()

    RenderMode(RenderMode)

    Specifies the rendering mode of the control.

    Declaration
    public MobileSliderPropertiesBuilder RenderMode(RenderMode renderMode)
    Parameters
    Type Name Description
    RenderMode renderMode

    The render mode.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    Theme(Theme)

    Specifies the theme.

    Declaration
    public MobileSliderPropertiesBuilder Theme(Theme theme)
    Parameters
    Type Name Description
    Theme theme

    The theme.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    ToHtmlString()

    Declaration
    public string ToHtmlString()
    Returns
    Type Description
    System.String

    Value(Int32)

    Specifies the current value.

    Declaration
    public MobileSliderPropertiesBuilder Value(int value)
    Parameters
    Type Name Description
    System.Int32 value

    The value.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    Values(Int32[])

    Specifies the values when range slider is enabled.

    Declaration
    public MobileSliderPropertiesBuilder Values(int[] values)
    Parameters
    Type Name Description
    System.Int32[] values

    The values.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    Windows(Action<MobileSliderWindowsPropertiesBuilder>)

    Section for Windows mode specific functionalities.

    Declaration
    public MobileSliderPropertiesBuilder Windows(Action<MobileSliderWindowsPropertiesBuilder> windowsModel)
    Parameters
    Type Name Description
    System.Action<MobileSliderWindowsPropertiesBuilder> windowsModel

    The windows model.

    Returns
    Type Description
    MobileSliderPropertiesBuilder

    Implements

    IPropertiesBuilder
    System.Web.IHtmlString
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved