Extended Library for WPF and Silverlight | ComponentOne
CoverFlow (Silverlight Only) / CoverFlow for Silverlight Task-Based Help / Changing the Angle of Coverflow Side Items
In This Topic
    Changing the Angle of Coverflow Side Items
    In This Topic

    You can change the angle of the items that lie on each side of the C1CoverFlow control’s selected item by setting the ItemAngle property to a numeric value (for more information, see the Item Angle topic). In this topic, you will set the ItemAngle property to 15 so that the side items will be turned at a 15-degree angle.

    In Blend

    Complete the following steps:

    1. Select the C1CoverFlow control.
    2. In the Properties panel, set the ItemAngle property to “15”.

    In XAML

    1. Add ItemAngle=”1” to the <c1ext:C1CoverFlow> tag so that the markup resembles the following:

    XAML
    Copy Code
    <c1ext:C1CoverFlow Margin="0,0,87,233" ItemAngle=”15”>
    

     

     In Code

    Complete the following steps:

    1. In XAML view, add “x:Name=”C1CoverFlow” to the <c1ext:C1CoverFlow> tag so that the control will have a unique identifier for you to call in code.
    2. Add the following code beneath the InitializeComponent method:
    Visual Basic
    Copy Code
    C1CoverFlow1.ItemAngle = 15
    
    C#
    Copy Code
    C1CoverFlow1.ItemAngle = 15;
    

     

    1. Run the program.

     This Topic Illustrates the Following:

    The following image demonstrates a C1CoverFlow control with its ItemAngle property set to 15.