Class Scroller
The Scroller control has a sliding document whose position corresponds to a value. The document has text, HTML content or images. You can also customize the Scroller control by resizing the scrolling bar and changing the theme.
Inheritance
System.Object
Scroller
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()
Assembly: Syncfusion.EJ.dll
public class Scroller : Control, IHtmlString
Constructors
Initializes a new instance of the Scroller class.
Declaration
Initializes a new instance of the Scroller class by the specified id and the scroller properties.
Declaration
public Scroller(string id, ScrollerProperties propModel)
Parameters
Properties
Instance of the control properties class
Declaration
protected override object Model { get; }
Property Value
Type |
Description |
System.Object |
|
Overrides
Gets the plugin name of the scroller as 'ejScroller'.
Declaration
public override string PluginName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Gets or sets the scroller model object of the scroller properties.
Declaration
public ScrollerProperties ScrollerModel { get; set; }
Property Value
Gets the tag name of the scroller content as 'div'.
Declaration
public override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Methods
Represents an HTML-encoded string of the scroller control that should not be encoded again.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type |
Name |
Description |
System.String |
controlId |
|
Returns
Type |
Description |
System.Web.HtmlString |
|
Overrides
Represents an HTML-encoded string of the scroller control with directives.
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type |
Name |
Description |
System.String |
controlId |
|
Returns
Type |
Description |
System.Web.HtmlString |
|
Overrides
Represents an HTML element of the scroller control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type |
Name |
Description |
System.String |
controlId |
|
Overrides
Declaration
protected HtmlTag RenderElement(string controlId)
Parameters
Type |
Name |
Description |
System.String |
controlId |
|
Returns
RenderPaneContent(ScrollerProperties, HtmlTag)
Declaration
protected HtmlTag RenderPaneContent(ScrollerProperties pane, HtmlTag PaneDiv)
Parameters
Returns
Implements
System.Web.IHtmlString