A C1ProgressBar control has six embedded themes that you can apply with just a few clicks. This topic illustrates how to change the theme in Design view, in Source view, and in code. For more information on themes, see Themes.
Changing the Theme in Design View
Complete the following steps:
The rocket theme is applied to the C1ProgressBar control.
Changing the Theme in Source View
To change the theme of your C1ProgressBar in Source view, add VisualStyle="rocket"
to the <cc1:C1ProgressBar>
tag so that it resembles the following:
<cc1:C1ProgressBar ID="C1ProgressBar1" runat="server" Theme="rocket"/>
Changing the Theme in Code
Complete the following steps:
Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports C1.Web.Wijmo.Controls |
C#
Title Text |
Copy Code
|
---|---|
using C1.Web.Wijmo.Controls; |
Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1ProgressBar1.Theme = "rocket" |
C#
Title Text |
Copy Code
|
---|---|
C1ProgressBar1.Theme = "rocket"; |
This topic illustrates the following:
The following image shows a C1ProgressBar control with the rocket theme: