ASP.NET Core

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MobileRotatorPropertiesBuilder - ASP.NETCore API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MobileRotatorPropertiesBuilder

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

    Constructors

    MobileRotatorPropertiesBuilder(Rotator)

    Initializes a new instance of the MobileRotatorPropertiesBuilder class.

    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
    Type Name Description
    System.Action<MobileRotatorClientSideEventsBuilder> clientSideEvents

    The client side events.

    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    CssClass(String)

    Specifies custom theme for the control.

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

    The cssClass.

    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    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
    Type Description
    MobileRotatorPropertiesBuilder

    DataSource(Object)

    Specifies the dataSource for items.

    Declaration
    public MobileRotatorPropertiesBuilder DataSource(object dataSource)
    Parameters
    Type Name Description
    System.Object dataSource

    dataSource.

    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    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
    Type Description
    MobileRotatorPropertiesBuilder

    Items(String)

    Declaration
    public MobileRotatorPropertiesBuilder Items(string items)
    Parameters
    Type Name Description
    System.String items
    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    Orientation(Orientation)

    Specifies the Rotator Orientation.

    Declaration
    public MobileRotatorPropertiesBuilder Orientation(Orientation orientation)
    Parameters
    Type Name Description
    Orientation orientation

    Orientation.

    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    PagerPosition(MobilePagerPosition)

    Specifies the Rotator PagerPosition.

    Declaration
    public MobileRotatorPropertiesBuilder PagerPosition(MobilePagerPosition pagerPosition)
    Parameters
    Type Name Description
    MobilePagerPosition pagerPosition
    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    Render()

    Section for Pager Position specific functionalities.

    Declaration
    public void Render()

    RenderMode(RenderMode)

    Changes the rendering mode for rotator.

    Declaration
    public MobileRotatorPropertiesBuilder RenderMode(RenderMode renderMode)
    Parameters
    Type Name Description
    RenderMode renderMode

    The render mode.

    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    ShowPager(Boolean)

    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
    Type Description
    MobileRotatorPropertiesBuilder

    MobileRotatorPropertiesBuilder.

    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
    Type Description
    MobileRotatorPropertiesBuilder

    TargetId(String)

    Specifies the targetId to the content.

    Declaration
    public MobileRotatorPropertiesBuilder TargetId(string targetId)
    Parameters
    Type Name Description
    System.String targetId

    targetId.

    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    TargetWidth(String)

    Specifies the targetWidth on initialization.

    Declaration
    public MobileRotatorPropertiesBuilder TargetWidth(string targetWidth)
    Parameters
    Type Name Description
    System.String targetWidth

    targetWidth.

    Returns
    Type Description
    MobileRotatorPropertiesBuilder

    ToHtmlString()

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

    Implements

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