menu

ASP.NET Web Forms

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

    Show / Hide Table of Contents

    Class Scroller

    Inheritance
    System.Object
    CommonControl
    Scroller
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonControl.RaisePostBackEvent(String)
    CommonControl.PostBackEventHandler(String, Dictionary<String, Object>)
    CommonControl.OnInit(EventArgs)
    CommonControl.OnLoad(EventArgs)
    CommonControl.UpdateServerModel(Dictionary<String, Object>)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class Scroller : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    Scroller()

    Declaration
    public Scroller()

    Properties

    AutoHide

    Gets or sets a value to show the scrollbar when move the cursor towards content and hide when leave the content area.

    Declaration
    public bool AutoHide { get; set; }
    Property Value
    Type Description
    System.Boolean

    ButtonSize

    Gets or sets the button size of the scrollbar.

    Declaration
    public int ButtonSize { get; set; }
    Property Value
    Type Description
    System.Int32

    ClientSideOnCreate

    Gets or sets a value indicating this event gets fired after scroller control is created.

    Declaration
    public string ClientSideOnCreate { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnDestroy

    Gets or sets a value indicating this event gets fired after scroller control is destroyed.

    Declaration
    public string ClientSideOnDestroy { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnScroll

    Gets or sets a value indicating this event gets fired when scroller gets moved.

    Declaration
    public string ClientSideOnScroll { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnWheelEnd

    Gets or sets a value indicating this event gets fired when stop the trackball in mouse.

    Declaration
    public string ClientSideOnWheelEnd { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnWheelMove

    Gets or sets a value indicating this event gets fired when move the trackball in mouse.

    Declaration
    public string ClientSideOnWheelMove { get; set; }
    Property Value
    Type Description
    System.String

    ClientSideOnWheelStart

    Gets or sets a value indicating this event gets fired immediately when start to scroll the trackball in mouse.

    Declaration
    public string ClientSideOnWheelStart { get; set; }
    Property Value
    Type Description
    System.String

    Enabled

    Gets or sets a value indicating whether the control can respond to user interaction.

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnablePersistence

    Gets or set the value indicating scrollbar model value even after form post back/browser refresh sustains or not.

    Declaration
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableRTL

    Gets or sets a value to align the scroller content in right to left direction.

    Declaration
    public bool EnableRTL { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableTouchScroll

    Gets or sets a value to enable or disable the touch scroll.

    Declaration
    public bool EnableTouchScroll { get; set; }
    Property Value
    Type Description
    System.Boolean

    Height

    Gets or sets the height of the scroll panel.

    Declaration
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    Model

    Gets or sets the scroller model object of the scroller properties.

    Declaration
    [JsonIgnore]
    public ScrollerProperties Model { get; set; }
    Property Value
    Type Description
    ScrollerProperties

    ScrollerContent

    Gets or sets a value indicating the scroll content.

    Declaration
    public HtmlGenericControl ScrollerContent { get; set; }
    Property Value
    Type Description
    System.Web.UI.HtmlControls.HtmlGenericControl

    ScrollerSize

    Gets or sets a value indicating the scrollbar size.

    Declaration
    public int ScrollerSize { get; set; }
    Property Value
    Type Description
    System.Int32

    ScrollLeft

    Gets or sets a value indicating scroller content and scrollbars move to left position with specified value.

    Declaration
    public int ScrollLeft { get; set; }
    Property Value
    Type Description
    System.Int32

    ScrollOneStepBy

    Gets or sets a value indicating the scrollbar position to be moved when the scrollbar button pressed.

    Declaration
    public int ScrollOneStepBy { get; set; }
    Property Value
    Type Description
    System.Int32

    ScrollTop

    Gets or sets a value indicating scroller content and scrollbars move to top position with specified value.

    Declaration
    public int ScrollTop { get; set; }
    Property Value
    Type Description
    System.Int32

    TargetPane

    Gets or sets a value to define the target area in which scrollbar have to appear.

    Declaration
    public string TargetPane { get; set; }
    Property Value
    Type Description
    System.String

    Width

    Gets or sets the width of the scroll panel.

    Declaration
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    CreateChildControls()

    Create the child controls

    Declaration
    protected override void CreateChildControls()

    DependentScripts()

    Specifies the dependent scripts.

    Declaration
    public List<string> DependentScripts()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    GetDependentFiles()

    Specifies the the dependent files.

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonControl.GetDependentFiles()

    LoadViewState(Object)

    Restores view-state information from a previous page request.

    Declaration
    protected override void LoadViewState(object state)
    Parameters
    Type Name Description
    System.Object state
    Overrides
    CommonControl.LoadViewState(Object)

    OnPreRender(EventArgs)

    Modifying server controls before sending them to the client.

    Declaration
    protected override void OnPreRender(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    Render()

    Renders the scroller instance.

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

    Render(HtmlTextWriter)

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    System.Web.UI.HtmlTextWriter writer
    Overrides
    CommonControl.Render(HtmlTextWriter)

    Implements

    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved