By default, the C1ProgressBar control's label is aligned in the center of the control. In this topic, you will learn how to change the alignment of the label in Design view, in Source view, and in code.
Aligning the Label in Design View
Complete the following steps:
Aligning the Label in Source View
Complete the following steps:
<cc1:C1ProgressBar>
tag so that the markup resembles the following:<cc1:C1ProgressBar ID="C1ProgressBar1" runat="server" LabelAlign="East" />
Aligning the Label in Code
Complete the following steps:
Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports C1.Web.Wijmo.Controls.C1ProgressBar |
C#
CS |
Copy Code
|
---|---|
using C1.Web.Wijmo.Controls.C1ProgressBar; |
Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1ProgressBar1.LabelAlign = LabelAlign.East |
C#
C# |
Copy Code
|
---|---|
C1ProgressBar1.LabelAlign = LabelAlign.East; |
This Topic Illustrates the Following:
In this topic, you aligned the C1ProgressBar control's label to the right side of the control. The result of this topic resembles the following: