Skip to main content
A newer version of this page is available. .

ImageSlider.ScrollButtonVisibility Property

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(DefaultBoolean.Default)]
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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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