ComponentOne Carousel for ASP.NET Web Forms
Task-Based Help / Previewing Carousel Items
In This Topic
    Previewing Carousel Items
    In This Topic

    C1Carousel supports previewing items in the carousel so that a portion of the next image is displayed with the current image. In the examples below you'll enable previewing by setting the Preview property to True.

    In Source View

    In Source view add Preview="True" to the <cc1:C1Carousel> tag so it appears similar to the following:

    To write code in Source View

    <cc1:C1Carousel ID="C1Carousel1" runat="server" Preview="True">

    At Design Time

    In Design view, select the C1Carousel control and in the Properties window set the Preview property to True.

    In Code

    Add the following code to the Page_Load event:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.C1Carousel1.Preview = True
    

    To write code in C#

    C#
    Copy Code
    this.C1Carousel1.Preview = true;