Skip to main content

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

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