# Using the ScrollViewer

## Content



You can allow users to scroll through [C1CarouselPanel](/componentone/api/wpf/online-carousel/dotnet-framework-api/C1.WPF.Carousel.4.6.2/C1.WPF.Carousel.C1CarouselPanel.html) content either by clicking or by using the **ScrollViewer**. This topic will walk you through setting the **ScrollViewer** property to visible and setting some of its properties.

This Help topic assumes that you have completed one of the previous [Adding and Moving Content](/componentone/docs/wpf/online-carousel/C1CarouselPanel_Task_Based_Help/Adding_and_Moving_Content_in_C1Carousel) topics and are using that project for this Help.

Follow these steps to set the **ScrollViewer**:

1.  Select the [C1CarouselPanel](/componentone/api/wpf/online-carousel/dotnet-framework-api/C1.WPF.Carousel.4.6.2/C1.WPF.Carousel.C1CarouselPanel.html) control in your application to open the Properties window.
2.  Locate the [CanHorizontallyScroll](/componentone/api/wpf/online-carousel/dotnet-framework-api/C1.WPF.Carousel.4.6.2/C1.WPF.Carousel.C1CarouselPanel.CanHorizontallyScroll.html) property in the list and make sure it is checked.
3.  Locate the [ScrollOwner](/componentone/api/wpf/online-carousel/dotnet-framework-api/C1.WPF.Carousel.4.6.2/C1.WPF.Carousel.C1CarouselPanel.ScrollOwner.html) property in the list and use the drop-down list to select **ScrollViewer**. This will open the **ScrollOwner** sub-properties.
4.  Locate the **HorizontalScrollBar** property and use the drop-down list to set it to **Visible**. Scroll down to the **VerticalScrollBar** property and set that to **Disabled**.
5.  Press **F5** to run your application. It should appear as in the following image:
    
    ![](https://cdn.mescius.io/document-site-files/images/1ab516e2-7915-4fdc-9087-4cac39f2754f/graphics/scrollviewertbh.png)
    

You will be able to scroll through the content using the scrollbar at the bottom of the page.

## See Also

[Limiting the Number of Visible Elements](/componentone/docs/wpf/online-carousel/C1CarouselPanel_Task_Based_Help/Limiting_the_Number_of_Visible_Elements)