Skip to main content

ImageSlider.ScrollButtonVisibility Property

Gets or sets whether the buttons that slide images back and forward are displayed.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean ScrollButtonVisibility { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

Default or True if the buttons that slide images back and forward are displayed; otherwise, False.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

By default, the ImageSlider control displays the Backward and Forward navigation buttons that allow an end-user to slide images. The buttons are hidden and automatically appear when the control is hovered over with the mouse pointer. You can prevent the navigation buttons from being displayed by setting the ScrollButtonVisibility property to False.

To slide images in code, use the SliderBase.SlideNext, SliderBase.SlidePrev, SliderBase.SlideFirst and SliderBase.SlideLast methods. You can also enable automatic image sliding with the ImageSlider.AutoSlide property.

See Also