ComponentOne AppView for ASP.NET WebForms
Task Based Help / Theming / Applying Default Swatches
In This Topic
    Applying Default Swatches
    In This Topic

    You can mix and match the default theme swatches to create a unique application. Follow these steps to apply the default swatches to your C1AppView application

    1. The markup for your C1AppView control should resemble the following:

      To write code in Source View

      <cc1:C1AppView ID="C1AppView1" runat="server" HeaderTitle="Wizard" Height="300px" >
                  <Items>
                      <cc1:C1AppViewItem Text="Wizard Page" AppViewPageUrl="~/Wizard/Index.aspx"></cc1:C1AppViewItem>
                  </Items>
              </cc1:C1AppView>
    2. Open the C1AppView Designer Form by clicking the control's smart tag and selecting Edit AppView Items from the C1AppView Tasks menu.
    3. Select the C1AppView control and locate the Appearance properties in the Properties pane.
    4. Set the ThemeSwatch property to "e," and press OK. The opening <cc1:C1AppView> tag for your application should now resemble the following sample:

      To write code in Source View

      <cc1:C1AppView ID="C1AppView1" runat="server" HeaderTitle="Wizard" Height="300px"  ThemeSwatch="e">
    5. Press F5 or start debugging to run your application. It should resemble the following image: