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.ScrollButtonVisibility Property

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.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