Adding Looping and Delays

Looping and delay can be enabled in SfRotator control and also we can customize the Text and Navigation direction.

Toggle AutoPlay

The EnableAutoPlay property specifies whether the items should navigate automatically based on NavigationDelay property, when the property value is set to true.

NOTE

By default, the property value is set to false.

rotator.EnableAutoPlay = True;

Set Navigation Delay

The NavigationDelay property specifies the duration to delay the switch to next navigation item, when EnableAutoPlay property is enabled.

NOTE

The property value should be in milliseconds.

rotator.NavigationDelay = 2000;

Looping Items

The EnableLooping property specifies whether the items should navigate to first item once it reaches the last item and vice-versa.

rotator.EnableLooping = True;