ProgressCircle
Namespace: Wisej.Web.Ext.ProgressCircle
Assembly: Wisej.Web.Ext.ProgressCircle
The ProgressCircle control is an example on how to create a custom component in Wisej by extending the Canvas control. The new component is entirely drawn on the client side on a HTML5 Canvas element receiving the drawing instructions from the server.
- C#
- VB.NET
public class ProgressCircle : Canvas
Public Class ProgressCircle
Inherits Canvas
Constructors
ProgressCircle()
Properties
AppearanceKey
String: Sets the appearance key for the theme engine. (Default: "progress-circle")
Overridden to change the appearance key without serializing the new default in the designer.
BackColor
Color: Returns or sets the fill color when the property FillCircle is set to true.
FillCircle
Boolean: Returns or sets a value that indicates whether the circle is filled with the background color. (Default: False)
Font
Font: Gets or sets the font of the text displayed by the control.
ForeColor
Color: Returns or sets the foreground color of the control.
LineCap
CanvasLineCap: Sets or returns the style of the end caps for a line. (Default: Butt)
LineWidth
Int32: Returns or sets the line width use to draw the circle.
ShowValue
Boolean: Returns or sets a value that indicates whether the text is displayed in the middle of the circle. (Default: True)
Value
Int32: Returns or sets the progress value between 0 and 100. (Default: 0)