New to Telerik UI for WinForms? Download free 30-day trial

Navigation Buttons

The navigation buttons allow you to navigate through the data. RadSlideView provides the ability to control their visibility, position, and style. Furthermore, you can also specify an auto-hide period, after which the buttons will be automatically hidden, as well as enable or disable infinite scrolling.

Controlling the Visibility of the Buttons

The visibility of the navigation buttons is controlled via the ButtonVisibility property of RadSlideView. This property is of the type ButtonVisibility and it exposes the following options:

  • Collapsed: This option will prevent the buttons from showing.

  • Visible: With this option, the buttons will be visible.

  • VisibleOnMouseOver: This option is the default one. With it, the buttons will be visible when the mouse is over the RadSlideView control.

  • HiddenWhenDisabled: When this option is chosen, each button will be hidden when it is in a disabled state.


WinForms SlideView VisibleOnMouseOver

Controlling the Position of the Navigation Buttons

RadSlideView allows you to control the navigation buttons' position. They can be displayed either over the content or next to it. This behavior is controlled via the ShowButtonsOverContent property. The default value is true, with which the buttons will be displayed over the content.

Setting an Auto-Hide Interval for the Navigation Buttons

You can specify a time interval (in milliseconds), after which the navigation buttons will become hidden. This interval will begin after the mouse is out of the control or it stops moving when it's over it. To apply such a time interval, you can set the AutoHideButtonsDelay property of RadSlideView. By default, this property will be 0 and the buttons will not become hidden.

Customize the Navigation Buttons

this.radSlideView1.ButtonsVisibility = ButtonsVisibility.VisibleOnMouseOver;
this.radSlideView1.ShowButtonsOverContent = false;
this.radSlideView1.AutoHideButtonsDelay = 1000;

Me.radSlideView1.ButtonsVisibility = ButtonsVisibility.VisibleOnMouseOver
Me.radSlideView1.ShowButtonsOverContent = False
Me.radSlideView1.AutoHideButtonsDelay = 1000

WinForms SlideView Customize Navigation Buttons

See Also

In this article