Class MobileRotatorPropertiesBuilder
Inheritance
System.Object
MobileRotatorPropertiesBuilder
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
Syntax
public class MobileRotatorPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
MobileRotatorPropertiesBuilder(Rotator)
Declaration
public MobileRotatorPropertiesBuilder(Rotator mobileRotator)
Parameters
Type |
Name |
Description |
Rotator |
mobileRotator |
|
Methods
ClientSideEvents(Action<MobileRotatorClientSideEventsBuilder>)
Section for client side events.
Declaration
public MobileRotatorPropertiesBuilder ClientSideEvents(Action<MobileRotatorClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
CssClass(String)
Specifies custom theme for the control.
Declaration
public MobileRotatorPropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
The cssClass.
|
Returns
CurrentItemIndex(Int32)
Specifies the currentItemIndex for select the particular item based on the specified index.
Declaration
public MobileRotatorPropertiesBuilder CurrentItemIndex(int currentItemIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
currentItemIndex |
currentItemIndex.
|
Returns
DataSource(Object)
Specifies the dataSource for items.
Declaration
public MobileRotatorPropertiesBuilder DataSource(object dataSource)
Parameters
Type |
Name |
Description |
System.Object |
dataSource |
dataSource.
|
Returns
EnablePersistence(Boolean)
Current model value to browser cookies for state maintains. While refresh the Rotator control page retains the model value apply from browser cookies.
Declaration
public MobileRotatorPropertiesBuilder EnablePersistence(bool enablePersistence)
Parameters
Type |
Name |
Description |
System.Boolean |
enablePersistence |
if set to true [enable persistence].
|
Returns
Items(String)
Declaration
public MobileRotatorPropertiesBuilder Items(string items)
Parameters
Type |
Name |
Description |
System.String |
items |
|
Returns
Orientation(Orientation)
Specifies the Rotator Orientation.
Declaration
public MobileRotatorPropertiesBuilder Orientation(Orientation orientation)
Parameters
Type |
Name |
Description |
Orientation |
orientation |
Orientation.
|
Returns
Specifies the Rotator PagerPosition.
Declaration
public MobileRotatorPropertiesBuilder PagerPosition(MobilePagerPosition pagerPosition)
Parameters
Returns
Render()
Section for Pager Position specific functionalities.
Declaration
RenderMode(RenderMode)
Changes the rendering mode for rotator.
Declaration
public MobileRotatorPropertiesBuilder RenderMode(RenderMode renderMode)
Parameters
Type |
Name |
Description |
RenderMode |
renderMode |
The render mode.
|
Returns
Specifies whether to show the Pager on initialization.
Declaration
public MobileRotatorPropertiesBuilder ShowPager(bool showPager)
Parameters
Type |
Name |
Description |
System.Boolean |
showPager |
if set to true [show pager].
|
Returns
TargetHeight(String)
Specifies the targetHeight on initialization.
Declaration
public MobileRotatorPropertiesBuilder TargetHeight(string targetHeight)
Parameters
Type |
Name |
Description |
System.String |
targetHeight |
if set to [targetHeight].
|
Returns
TargetId(String)
Specifies the targetId to the content.
Declaration
public MobileRotatorPropertiesBuilder TargetId(string targetId)
Parameters
Type |
Name |
Description |
System.String |
targetId |
targetId.
|
Returns
TargetWidth(String)
Specifies the targetWidth on initialization.
Declaration
public MobileRotatorPropertiesBuilder TargetWidth(string targetWidth)
Parameters
Type |
Name |
Description |
System.String |
targetWidth |
targetWidth.
|
Returns
ToHtmlString()
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Implements
System.Web.IHtmlString