Class ScrollerPropertiesBuilder
Inheritance
System.Object
ScrollerPropertiesBuilder
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 ScrollerPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
Declaration
public ScrollerPropertiesBuilder()
Declaration
public ScrollerPropertiesBuilder(Scroller scroller)
Parameters
Fields
Specifies the instance of the Scroller class.
Declaration
Field Value
Methods
Specifies to show the scrollbar when move the cursor towards content and hide when leave the content area.
Declaration
public ScrollerPropertiesBuilder AutoHide()
Returns
Specifies to show the scrollbar when move the cursor towards content and hide when leave the content area by the specified argument.
Declaration
public ScrollerPropertiesBuilder AutoHide(bool autoHide)
Parameters
Type |
Name |
Description |
System.Boolean |
autoHide |
|
Returns
Specifies the buttons size of the scrollbar.
Declaration
public ScrollerPropertiesBuilder ButtonSize(int buttonSize)
Parameters
Type |
Name |
Description |
System.Int32 |
buttonSize |
|
Returns
Specifies to trigger the scroller client side events.
Declaration
public ScrollerPropertiesBuilder ClientSideEvents(Action<ScrollerClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
ContentTemplate(Action<Object>)
Specifies the content template for scroller content with web form data.
Declaration
public ScrollerPropertiesBuilder ContentTemplate(Action<object> contentTemplate)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
contentTemplate |
|
Returns
ContentTemplate(Func<Object, Object>)
Specifies the content template for scroller content with razor view.
Declaration
public ScrollerPropertiesBuilder ContentTemplate(Func<object, object> contentTemplate)
Parameters
Type |
Name |
Description |
System.Func<System.Object, System.Object> |
contentTemplate |
|
Returns
Specifies the scroller control can respond to user interaction.
Declaration
public ScrollerPropertiesBuilder Enabled()
Returns
Specifies the scroller control can respond to user interaction with the specified boolean argument.
Declaration
public ScrollerPropertiesBuilder Enabled(bool enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
enabled |
|
Returns
Specifies to persists the scrollbar model value even after form post back/browser refresh.
Declaration
public ScrollerPropertiesBuilder EnablePersistence()
Returns
Specifies to persists the scrollbar model value even after form post back/browser refresh with the specified boolean argument.
Declaration
public ScrollerPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
|
Returns
Declaration
public ScrollerPropertiesBuilder EnableRTL()
Returns
Specifies to align the scroller content in right to left direction.
Declaration
public ScrollerPropertiesBuilder EnableRTL(bool rtl)
Parameters
Type |
Name |
Description |
System.Boolean |
rtl |
|
Returns
Specifies to enable or disable the touch scroll.
Declaration
public ScrollerPropertiesBuilder EnableTouchScroll()
Returns
Specifies to enable or disable the touch scroll with the specified boolean argument.
Declaration
public ScrollerPropertiesBuilder EnableTouchScroll(bool enableTouchScroll)
Parameters
Type |
Name |
Description |
System.Boolean |
enableTouchScroll |
|
Returns
Specifies the height of the scroll panel.
Declaration
public ScrollerPropertiesBuilder Height(object height)
Parameters
Type |
Name |
Description |
System.Object |
height |
|
Returns
Renders the scroller instance.
Declaration
Specifies the scrollbar size.
Declaration
public ScrollerPropertiesBuilder ScrollerSize(int scrollerSize)
Parameters
Type |
Name |
Description |
System.Int32 |
scrollerSize |
|
Returns
specifies the scroller content and scrollbars move to left position with specified value.
Declaration
public ScrollerPropertiesBuilder ScrollLeft(int scrollLeft)
Parameters
Type |
Name |
Description |
System.Int32 |
scrollLeft |
|
Returns
Specifies the value (in pixel) to move the scrollbar position when the scrollbar button pressed.
Declaration
public ScrollerPropertiesBuilder ScrollOneStepBy(int oneStep)
Parameters
Type |
Name |
Description |
System.Int32 |
oneStep |
|
Returns
specifies the scroller content and scrollbars move to top position with specified value.
Declaration
public ScrollerPropertiesBuilder ScrollTop(int scrollTop)
Parameters
Type |
Name |
Description |
System.Int32 |
scrollTop |
|
Returns
Specifies the target area in which scrollbar have to appear.
Declaration
public ScrollerPropertiesBuilder TargetPane(string TargetPane)
Parameters
Type |
Name |
Description |
System.String |
TargetPane |
|
Returns
Represents an HTML-encoded string.
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Specifies the width of the scroll panel.
Declaration
public ScrollerPropertiesBuilder Width(object width)
Parameters
Type |
Name |
Description |
System.Object |
width |
|
Returns
Implements
System.Web.IHtmlString