[]
        
(Showing Draft Content)

C1.Web.Mvc.Gauge

Gauge Class

Base Gauge control.

Implements
Namespace: C1.Web.Mvc
Assembly: C1.Web.Mvc.dll
Syntax
public abstract class Gauge : Control, IHtmlString, ITemplate

Constructors

Name Description
Gauge(HtmlHelper, string)

Creates one Gauge instance.

Properties

Name Description
Face

Gets the Range used to represent the gauge's overall geometry and appearance.

Format

Gets or sets the format string used for displaying the gauge values as text.

GetText

Gets or sets a callback that returns customized strings used to display gauge values.

HandleWheel

Gets or sets a value that determines whether the user can edit the gauge value using the mouse wheel.

HasShadow

Gets or sets whether the gauge should display a shadow effect.

IsAnimated

Gets or sets whether the gauge should animate value changes.

IsReadOnly

Gets or whether the user can edit the value using the mouse and the keyboard.

Max

Gets or sets the maximum value that can be displayed on the gauge.

Min

Gets or sets the minimum value that can be displayed on the gauge.

OnClientValueChanged

Occurs when the value shown on the gauge changes.

Origin

Gets or sets the starting point used for painting the range.

Pointer

Gets the Range used to represent the gauge's current value.

Ranges

Gets the collection of ranges in this gauge.

ShowRanges

Gets or sets whether the gauge should display the ranges contained in the ranges property.

ShowText

Gets or sets which values should be displayed as text in the gauge.

ShowTickText

Gets or sets a property that determines whether the gauge should display the text value of each tick mark.

ShowTicks

Gets or sets a property that determines whether the gauge should display tick marks at each step value.

StackRanges

Gets or sets a value that determines whether the ranges contained in the collection should be stacked within the gauge.

Step

Gets or sets the amount to add or subtract to the value property when the user presses the arrow keys.

Thickness

Gets or sets the thickness of the gauge, on a scale between zero and one.

ThumbSize

Gets or sets the size of the element that shows the gauge's current value, in pixels.

TickSpacing

Gets or sets the spacing between tickmarks.

Value

Gets or sets the value displayed on the gauge.

Extension Methods