Extended Library for WPF and Silverlight | ComponentOne
CoverFlow (Silverlight Only) / CoverFlow for Silverlight Task-Based Help / Using C1CoverFlow Themes
In This Topic
    Using C1CoverFlow Themes
    In This Topic

    The C1CoverFlow control comes equipped with a light blue default theme, but you can also apply six themes (see CoverFlow Theming) to the control. In this topic, you will change the C1CoverFlow control's theme to C1ThemeRainierOrange.

    In Blend

    Complete the Following steps:

    1. Click the Assets tab.
    2. In the search bar, enter "C1ThemeRainierOrange".

    The C1ThemeRainierOrange icon appears.

    1. Double-click the C1ThemeRainierOrange icon to add it to your project.
    2. In the search bar, enter "C1CoverFlow" to search for the C1CoverFlow control.
    3. Double-click the C1CoverFlow icon to add the C1CoverFlow control to your project.
    4. Under the Objects and Timeline tab, select [C1CoverFlow] and use a drag-and-drop operation to place it under [C1ThemeRainierOrange].
    5. Run the project.

    In Visual Studio

    Complete the following steps:

    1. Open the .xaml page in Visual Studio.
    2. Place your cursor between the <Grid></Grid> tags.
    3. In the Tools panel, double-click the C1ThemeRainierOrange icon to declare the theme. Its tags will appear as follows:

     <my:C1ThemeRainierOrange></my:C1ThemeRainierOrange>

    1. Place your cursor between the <my:C1ThemeRainierOrange> and </my:C1ThemeRainierOrange> tags.
    2. In the Tools panel, double-click the C1CoverFlow icon to add the control to the project. Its tags will appear as children of the <my:C1ThemeRainierOrange> tags, causing the markup to resemble the following:

    XAML
    Copy Code
    <my:C1ThemeRainierOrange>
        <c1ext:C1CoverFlow x:Name="C1CoverFlow1"></c1ext:C1CoverFlow>
    </my:C1ThemeRainierOrange>
    
      

    1. Run your project.

     This Topic Illustrates the Following:

    The following image depicts a C1CoverFlow control with the C1ThemeRainierOrange theme.