[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.GaugeTagHelper-1

GaugeTagHelper<TControl> Class

ITagHelper implementation for Gauge.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class GaugeTagHelper<TControl> : ControlTagHelper<TControl>, ITagHelper, ITagHelperComponent, ITemplateTagHelper where TControl : Gauge
Type Parameters
Name Description
TControl

Constructors

Name Description
GaugeTagHelper()

Properties

Name Description
Format

Configurates Format. Sets the format string used for displaying the gauge values as text.

GetText

Configurates GetText. Sets a callback that returns customized strings used to display gauge values.

HandleWheel

Configurates HandleWheel. Sets a value that determines whether the user can edit the gauge value using the mouse wheel.

HasShadow

Configurates HasShadow. Sets whether the gauge should display a shadow effect.

IsAnimated

Configurates IsAnimated. Sets whether the gauge should animate value changes.

IsReadOnly

Configurates IsReadOnly. Sets or whether the user can edit the value using the mouse and the keyboard.

Max

Configurates Max. Sets the maximum value that can be displayed on the gauge.

Min

Configurates Min. Sets the minimum value that can be displayed on the gauge.

Origin

Configurates Origin. Sets the starting point used for painting the range.

ShowRanges

Configurates ShowRanges. Sets whether the gauge should display the ranges contained in the ranges property.

ShowText

Configurates ShowText. Sets which values should be displayed as text in the gauge.

ShowTickText

Configurates ShowTickText. Sets a property that determines whether the gauge should display the text value of each tick mark.

ShowTicks

Configurates ShowTicks. Sets a property that determines whether the gauge should display tick marks at each step value.

StackRanges

Configurates StackRanges. Sets a value that determines whether the ranges contained in the collection should be stacked within the gauge.

Step

Configurates Step. Sets the amount to add or subtract to the value property when the user presses the arrow keys.

Thickness

Configurates Thickness. Sets the thickness of the gauge, on a scale between zero and one.

ThumbSize

Configurates ThumbSize. Sets the size of the element that shows the gauge's current value, in pixels.

TickSpacing

Configurates TickSpacing. Sets the spacing between tickmarks.

Value

Configurates Value. Sets the value displayed on the gauge.

ValueChanged

Configurates the OnClientValueChanged client event. Occurs when the value shown on the gauge changes.