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
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. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
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.