Sliding Direction in Xamarin.Android Rotator Control

13 Jul 20211 minute to read

The NavigationDirection property specifies the direction in which items should be navigated in SfRotator control.

Horizontal

Items can be navigated in horizontal direction.

  • c#
  • SfRotator rotator = new SfRotator(this);
    rotator.NavigationDirection = NavigationDirection.Horizontal;

    Vertical

    Items can be navigated in vertical direction.

  • c#
  • SfRotator rotator = new SfRotator(this);
    rotator.NavigationDirection = NavigationDirection.Vertical;

    LeftToRight

    Items can be navigated from Left to Right Only.

  • c#
  • SfRotator rotator = new SfRotator(this);
    rotator.NavigationDirection = NavigationDirection.LeftToRight;

    RightToLeft

    Items can be navigated from Right to Left Only.

  • c#
  • SfRotator rotator = new SfRotator(this);
    rotator.NavigationDirection = NavigationDirection.RightToLeft;

    TopToBottom

    Items can be navigated from Top to Bottom Only.

  • c#
  • SfRotator rotator = new SfRotator(this);
    rotator.NavigationDirection = NavigationDirection.TopToBottom;

    BottomToTop

    Items can be navigated from Bottom to Top Only.

  • c#
  • SfRotator rotator = new SfRotator(this);
    rotator.NavigationDirection = NavigationDirection.BottomToTop;