Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageSlider.AutoSlide Property

Gets or sets whether the control automatically slides images in the forward or backward direction.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(AutoSlide.None)]
[DXCategory("Behavior")]
public AutoSlide AutoSlide { get; set; }

#Property Value

Type Default Description
DevExpress.XtraEditors.Controls.AutoSlide None

An DevExpress.XtraEditors.Controls.AutoSlide enumeration value, such as None, Forward or Backward, that specifies whether the control automatically slides images in the forward or backward direction.

#Remarks

An end-user can slide images at run-time using the Forward and Backward navigation buttons (see ImageSlider.ScrollButtonVisibility). In code, you can perform forward and backward navigation using the SliderBase.SlideNext, SliderBase.SlidePrev, SliderBase.SlideFirst and SliderBase.SlideLast methods. The ImageSlider control can also automatically slide images with the specified interval. To enable this feature, which is disabled by default, set the AutoSlide property to Forward or Backward. To specify the slide delay, use the ImageSlider.AutoSlideInterval property.

See Also