[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.GaugeBuilder-2

GaugeBuilder<TControl, TBuilder> Class

Defines a builder to configurate Gauge.

Inheritance
HideObjectMembers
BaseBuilder<TControl, TBuilder>
ComponentBuilder<TControl, TBuilder>
ControlBuilder<TControl, TBuilder>
GaugeBuilder<TControl, TBuilder>
Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class GaugeBuilder<TControl, TBuilder> : ControlBuilder<TControl, TBuilder>, IHtmlContent where TControl : Gauge where TBuilder : GaugeBuilder<TControl, TBuilder>
Type Parameters
Name Description
TControl
TBuilder

Constructors

Name Description
GaugeBuilder(TControl)

Creates one GaugeBuilder<TControl, TBuilder> instance to configurate component.

Methods

Name Description
Face(Action<RangeBuilder>)

Configurates Face. Sets the Range used to represent the gauge's overall geometry and appearance.

Format(string)

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

GetText(string)

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

HandleWheel(bool)

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

HasShadow(bool)

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

IsAnimated(bool)

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

IsReadOnly(bool)

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

Max(double)

Sets the Max property.

Min(double)

Sets the Min property.

OnClientValueChanged(string)

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

Origin(double?)

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

Pointer(Action<RangeBuilder>)

Configurates Pointer. Sets the Range used to represent the gauge's current value.

Ranges(Action<ListItemFactory<Range, RangeBuilder>>)

Sets the Ranges.

ShowRanges(bool)

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

ShowText(ShowText)

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

ShowTickText(bool)

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

ShowTicks(bool)

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

StackRanges(bool)

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

Step(double)

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

Thickness(double)

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

ThumbSize(double)

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

TickSpacing(double?)

Configurates TickSpacing. Sets the spacing between tickmarks.

Value(double)

Sets the Value property.