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.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(AutoSlide.None)]
public AutoSlide AutoSlide { get; set; }
<DXCategory("Behavior")>
<DefaultValue(AutoSlide.None)>
Public Property AutoSlide As AutoSlide

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