# 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 disabled state.

**Setting the ButtonVisibility property to Visible**

```XAML
<telerik:RadSlideView ButtonVisibility="Visible"/>
```

> caption RadSlideView with visible buttons

![WPF RadSlideView with visible buttons](https://www.telerik.com/products/wpf/documentation/assets/db75b4de88b4184f87d97417fab87b97/radslideview-getting-started-0.png)

## 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 the ShowButtonsOverContent property**

```XAML
<telerik:RadSlideView ShowButtonsOverContent="False"/>
```

> caption RadSlideView with buttons displayed outside of the content

![WPF RadSlideView buttons displayed outside of the content](https://www.telerik.com/products/wpf/documentation/assets/eb41692b950bb44e0149c4a407c8d9ab/radslideview-getting-started-1.png)

## Customizing the Appearance of the Navigation Buttons

RadSlideView exposes the `PreviousButtonStyle` and `NextButtonStyle` properties that will allow you to set custom styles to the navigation buttons. Both buttons are of the type `RadButton` and the custom styles will have to target this type of element.

**Setting custom styles to the PreviousButtonStyle and NextButtonStyle properties**

```XAML
<Grid>
    <Grid.Resources>
        
        <Style x:Key="CustomSlideViewPreviousButtonStyle" TargetType="telerik:RadButton">
            <Setter Property="Background" Value="Red"/>
        </Style>
        
        <Style x:Key="CustomSlideViewNextButtonStyle" TargetType="telerik:RadButton">
            <Setter Property="Background" Value="Orange"/>
        </Style>
    </Grid.Resources>
    <telerik:RadSlideView PreviousButtonStyle="{StaticResource CustomSlideViewPreviousButtonStyle}"
                      NextButtonStyle="{StaticResource CustomSlideViewNextButtonStyle}"/>
</Grid>
```

> caption RadSlideView with custom styles for the navigation buttons

![WPF RadSlideView with custom styles for the navigation buttons](https://www.telerik.com/products/wpf/documentation/assets/e2fa27e28d7a4b98334a5e049b5f7be2/radslideview-navigation-buttons-0.png)

## Setting an Auto-Hide Interval for the Navigation Buttons

You can specify a time interval, 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. This property has a type of nullable `TimeSpan`. By default, this property will be **null** and the buttons will not become hidden.

**Setting an auto-hide interval for the navigation buttons**

```XAML
<telerik:RadSlideView AutoHideButtonsDelay="00:00:05"/>
```

## See Also

* [Animations](https://www.telerik.com/products/wpf/documentation/controls/radslideview/animations)
