Skip to main content

ImageSlider.AllowLooping Property

Gets or sets whether sliding from the last to the first image and vice versa is enabled.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
public bool AllowLooping { get; set; }

Property Value

Type Default Description
Boolean false

true if sliding from the last to the first image and vice versa is enabled; otherwise, false.

Remarks

By default, the end-user can’t slide forward to the first ImageSlider‘s image upon reaching the last image, likewise sliding backward from the first image is unavailable. Use the AllowLooping property to specify whether image sliding should stop upon reaching borderline images or loop endlessly.

See Also