Back to Devexpress

ImageSlider.AllowLooping Property

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-imageslider-aa849685.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool AllowLooping { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Property AllowLooping As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

ImageSlider Class

ImageSlider Members

DevExpress.XtraEditors.Controls Namespace