menu

ASP.NET Web Forms

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

    Show / Hide Table of Contents

    Class SliderPropertiesBuilder

    Represents the Accordion Properties.

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

    Constructors

    SliderPropertiesBuilder()

    Declaration
    public SliderPropertiesBuilder()

    SliderPropertiesBuilder(Slider)

    Declaration
    public SliderPropertiesBuilder(Slider slider)
    Parameters
    Type Name Description
    Slider slider

    Fields

    slider

    Declaration
    public Slider slider
    Field Value
    Type Description
    Slider

    Methods

    AllowMouseWheel()

    Specifies the allowMouseWheel property

    Declaration
    public SliderPropertiesBuilder AllowMouseWheel()
    Returns
    Type Description
    SliderPropertiesBuilder

    AllowMouseWheel(Boolean)

    Specifies the mousewheel property.It is the boolean type

    Declaration
    public SliderPropertiesBuilder AllowMouseWheel(bool allowMouseWheel)
    Parameters
    Type Name Description
    System.Boolean allowMouseWheel
    Returns
    Type Description
    SliderPropertiesBuilder

    AnimationSpeed(Int32)

    Specifies the animationSpeed of the slider.

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

    ClientSideEvents(Action<SliderClientSideEventsBuilder>)

    Declaration
    public SliderPropertiesBuilder ClientSideEvents(Action<SliderClientSideEventsBuilder> clientSideEvents)
    Parameters
    Type Name Description
    System.Action<SliderClientSideEventsBuilder> clientSideEvents
    Returns
    Type Description
    SliderPropertiesBuilder

    CssClass(String)

    Specify the CSS class to slider to achieve custom theme.

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

    EnableAnimation()

    Specifies the animation behavior of the slider.

    Declaration
    public SliderPropertiesBuilder EnableAnimation()
    Returns
    Type Description
    SliderPropertiesBuilder

    EnableAnimation(Boolean)

    Specifies the animation behavior of the slider.A boolean variable enableAnimation is passed as an argument.

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

    Enabled()

    Specifies the state of the slider.

    Declaration
    public SliderPropertiesBuilder Enabled()
    Returns
    Type Description
    SliderPropertiesBuilder

    Enabled(Boolean)

    Specifies the state of the slider.A boolean variable enabled is passed.

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

    EnablePersistence()

    Specify the enablePersistence to slider to save current model value to browser cookies for state maintains.

    Declaration
    public SliderPropertiesBuilder EnablePersistence()
    Returns
    Type Description
    SliderPropertiesBuilder

    EnablePersistence(Boolean)

    Specify the enablePersistence to slider to save current model value to browser cookies for state maintains.A boolean variable enablePersistence is passed as an argument.

    Declaration
    public SliderPropertiesBuilder EnablePersistence(bool enablePersistence)
    Parameters
    Type Name Description
    System.Boolean enablePersistence
    Returns
    Type Description
    SliderPropertiesBuilder

    EnableRTL()

    Specifies the Right to Left Direction of the slider.

    Declaration
    public SliderPropertiesBuilder EnableRTL()
    Returns
    Type Description
    SliderPropertiesBuilder

    EnableRTL(Boolean)

    Specifies the Right to Left Direction of the slider.enableRTL is the boolean variable passed.

    Declaration
    public SliderPropertiesBuilder EnableRTL(bool enableRTL)
    Parameters
    Type Name Description
    System.Boolean enableRTL
    Returns
    Type Description
    SliderPropertiesBuilder

    Height(String)

    Specifies the height of the slider.

    Declaration
    public SliderPropertiesBuilder Height(string height)
    Parameters
    Type Name Description
    System.String height
    Returns
    Type Description
    SliderPropertiesBuilder

    HtmlAttributes(IDictionary<String, Object>)

    Declaration
    public SliderPropertiesBuilder HtmlAttributes(IDictionary<string, object> itemHtmlAttributes)
    Parameters
    Type Name Description
    System.Collections.Generic.IDictionary<System.String, System.Object> itemHtmlAttributes
    Returns
    Type Description
    SliderPropertiesBuilder

    IncrementStep(Int32)

    Specifies the incremental step value of the slider.

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

    LargeStep(Int32)

    Specifies the distance between two major (large) ticks from the scale of the slider.

    Declaration
    public SliderPropertiesBuilder LargeStep(int largeStep)
    Parameters
    Type Name Description
    System.Int32 largeStep
    Returns
    Type Description
    SliderPropertiesBuilder

    MaxValue(Int32)

    Specifies the ending value of the slider.

    Declaration
    public SliderPropertiesBuilder MaxValue(int maxValue)
    Parameters
    Type Name Description
    System.Int32 maxValue
    Returns
    Type Description
    SliderPropertiesBuilder

    MinValue(Int32)

    Specifies the starting value of the slider.

    Declaration
    public SliderPropertiesBuilder MinValue(int minValue)
    Parameters
    Type Name Description
    System.Int32 minValue
    Returns
    Type Description
    SliderPropertiesBuilder

    Orientation(Orientation)

    Specifies the orientation of the slider.

    Declaration
    public SliderPropertiesBuilder Orientation(Orientation orientation)
    Parameters
    Type Name Description
    Orientation orientation
    Returns
    Type Description
    SliderPropertiesBuilder

    ReadOnly()

    Specifies the readOnly of the slider.

    Declaration
    public SliderPropertiesBuilder ReadOnly()
    Returns
    Type Description
    SliderPropertiesBuilder

    ReadOnly(Boolean)

    Specifies the readOnly of the slider.A boolean variable readOnly is passed as an argument.

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

    Render()

    Render the Slider instance.

    Declaration
    public void Render()

    ShowButtons()

    Shows/Hide the buttons of the slider.

    Declaration
    public SliderPropertiesBuilder ShowButtons()
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowButtons(Boolean)

    Shows/Hide the buttons of the slider.showButtons is the passed boolean variable.

    Declaration
    public SliderPropertiesBuilder ShowButtons(bool showButtons)
    Parameters
    Type Name Description
    System.Boolean showButtons
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowRoundedCorner()

    Specifies the rounded corner behavior for slider.

    Declaration
    public SliderPropertiesBuilder ShowRoundedCorner()
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowRoundedCorner(Boolean)

    Specifies the rounded corner behavior for slider.A boolean variable showRoundedCorner is passed as an argument.

    Declaration
    public SliderPropertiesBuilder ShowRoundedCorner(bool showRoundedCorner)
    Parameters
    Type Name Description
    System.Boolean showRoundedCorner
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowScale()

    Shows/Hide the major (large) and minor (small) ticks in the scale of the slider.

    Declaration
    public SliderPropertiesBuilder ShowScale()
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowScale(Boolean)

    Shows/Hide the major (large) and minor (small) ticks in the scale of the slider.showScale is the passed boolean variable.

    Declaration
    public SliderPropertiesBuilder ShowScale(bool showScale)
    Parameters
    Type Name Description
    System.Boolean showScale
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowSmallTicks()

    Specifies the small ticks from the scale of the slider.

    Declaration
    public SliderPropertiesBuilder ShowSmallTicks()
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowSmallTicks(Boolean)

    Specifies the small ticks from the scale of the slider.A boolean variable showSmallTicks is passed as an argument.

    Declaration
    public SliderPropertiesBuilder ShowSmallTicks(bool showSmallTicks)
    Parameters
    Type Name Description
    System.Boolean showSmallTicks
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowTooltip()

    Specifies the showTooltip to shows the current Slider value, while moving the Slider handle or clicking on the slider handle of the slider.

    Declaration
    public SliderPropertiesBuilder ShowTooltip()
    Returns
    Type Description
    SliderPropertiesBuilder

    ShowTooltip(Boolean)

    Specifies the showTooltip to shows the current Slider value, while moving the Slider handle or clicking on the slider handle of the slider.A boolean variable showTooltip is passed as an argument.

    Declaration
    public SliderPropertiesBuilder ShowTooltip(bool showTooltip)
    Parameters
    Type Name Description
    System.Boolean showTooltip
    Returns
    Type Description
    SliderPropertiesBuilder

    SliderType(SlideType)

    Specifies the sliderType of the slider.

    Declaration
    public SliderPropertiesBuilder SliderType(SlideType sliderType)
    Parameters
    Type Name Description
    SlideType sliderType
    Returns
    Type Description
    SliderPropertiesBuilder

    SmallStep(Int32)

    Specifies the distance between two minor (small) ticks from the scale of the slider.

    Declaration
    public SliderPropertiesBuilder SmallStep(int smallStep)
    Parameters
    Type Name Description
    System.Int32 smallStep
    Returns
    Type Description
    SliderPropertiesBuilder

    ToHtmlString()

    Returns an HTML-encoded string.

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

    Value(String)

    Specifies the value of the slider. But it’s not applicable for range slider. To range slider we can use values property.

    Declaration
    public SliderPropertiesBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    SliderPropertiesBuilder

    Values(String)

    Specifies the values of the range slider. But it’s not applicable for default and minRange sliders. we can use value property for default and minRange sliders.

    Declaration
    public SliderPropertiesBuilder Values(string values)
    Parameters
    Type Name Description
    System.String values
    Returns
    Type Description
    SliderPropertiesBuilder

    Width(String)

    Specifies the width of the slider.

    Declaration
    public SliderPropertiesBuilder Width(string width)
    Parameters
    Type Name Description
    System.String width
    Returns
    Type Description
    SliderPropertiesBuilder

    Implements

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