Back to Devexpress

ImageSlider.AutoSlide Property

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

latest3.0 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.XtraEditors.Controls.AutoSlideNone

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

AutoSlideInterval

SlideNext()

SlidePrev()

SlideFirst()

SlideLast()

ScrollButtonVisibility

ImageSlider Class

ImageSlider Members

DevExpress.XtraEditors.Controls Namespace