Version

LinearGaugeModel Class Members

The following tables list the members exposed by LinearGaugeModel.

Public Constructors
 NameDescription
Public ConstructorLinearGaugeModel Constructor  
Public Properties
 NameDescription
Public PropertyBackingBrushGets or sets the brush to use to fill the backing of the linear gauge.  
Public PropertyBackingInnerExtentGets or sets the inner extent of the linear gauge backing.  
Public PropertyBackingOuterExtentGets or sets the outer extent of the linear gauge backing.  
Public PropertyBackingOutlineGets or sets the brush to use for the outline of the backing.  
Public PropertyBackingStrokeThicknessGets or sets the stroke thickness of the backing outline.  
Public PropertyClientEventsSet implementations of client events raised by a widget.

Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events.

Examples:

1. Full implementation:

new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } }

2. Content of inline function:

new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } }

3. Name of global function:

new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note:

Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used.

Example:

new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public PropertyFontGets or sets the font.  
Public PropertyFontBrushGets or sets the brush to use for the label font.  
Public PropertyHeightGets or sets the height of the igBulletGraph container.  
Public PropertyHtmlAttributesSets custom attributes of the div on which the linear gauge widget will be created.  
Public PropertyIDGets or sets the ID of the igBulletGraph container.  
Public PropertyIntervalGets or sets the interval to use for the scale.  
Public PropertyIsNeedleDraggingEnabledGets or sets whether needle dragging is enabled or not.  
Public PropertyIsScaleInvertedGets or sets a value indicating whether the scale is inverted. When the scale is inverted the direction in which the scale values increase is right to left.  
Public PropertyLabelExtentGets or sets the position at which to put the labels as a value from 0 to 1, measured from the bottom of the scale. Values further from zero than 1 can be used to hide the labels of the linear gauge.  
Public PropertyLabelIntervalGets or sets the interval to use for rendering labels. This defaults to be the same interval as the tickmarks on the scale.  
Public PropertyLabelsPostInitialA value to start adding labels, added to the scale's MinimumValue.  
Public PropertyLabelsPreTerminalA value to stop adding labels, subtracted from the scale's MaximumValue.  
Public PropertyMaximumValueGets or sets the maximum value of the scale.  
Public PropertyMinimumValueGets or sets the minimum value of the scale.  
Public PropertyMinorTickBrushGets or sets the brush to use for the minor tickmarks.  
Public PropertyMinorTickCountGets or sets the number of minor tickmarks to place between major tickmarks.  
Public PropertyMinorTickEndExtentGets or sets the position at which to stop rendering the minor tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyMinorTickStartExtentGets or sets the position at which to start rendering the minor tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyMinorTickStrokeThicknessGets or sets the stroke thickness to use when rendering minor ticks.  
Public PropertyNeedleBreadthGets or sets the needle breadth.  
Public PropertyNeedleBrushGets or sets the brush to use for needle element.  
Public PropertyNeedleInnerBaseWidthGets or sets the width of the needle's inner base.  
Public PropertyNeedleInnerExtentGets or sets the position at which to start rendering the needle geometry, measured from the front/bottom of the linear gauge as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyNeedleInnerPointExtentGets or sets the extent of the needle's inner point.  
Public PropertyNeedleInnerPointWidthGets or sets the width of the needle's inner point.  
Public PropertyNeedleNameGets or sets the name used for needle.  
Public PropertyNeedleOuterBaseWidthGets or sets the width of the needle's outer base.  
Public PropertyNeedleOuterExtentGets or sets the position at which to stop rendering the needle geometry as a value from 0 to 1 measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyNeedleOuterPointExtentGets or sets the extent of the needle's outer point.  
Public PropertyNeedleOuterPointWidthGets or sets the width of the needle's outer point.  
Public PropertyNeedleOutlineGets or sets the brush to use for the outline of needle element.  
Public PropertyNeedleShapeGets or sets the shape to use when rendering the needle from a number of options.  
Public PropertyNeedleStrokeThicknessGets or sets the stroke thickness to use when rendering single actual value element.  
Public PropertyNeedleToolTipTemplateGets or sets the template to use for the needle tooltip, if using jQuery templating.  
Public PropertyOrientationGets or sets the orientation of the scale.  
Public PropertyPixelScalingRatioGets or sets the scaling value used to affect the pixel density of the control.  
Public PropertyRangeBrushesGets or sets the list of the linear gauge range brushes  
Public PropertyRangeInnerExtentGets or sets the position at which to start rendering the ranges, measured from the front/bottom of the control as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyRangeOuterExtentGets or sets the position at which to stop rendering the range as a value from 0 to 1 measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyRangeOutlinesGets or sets the list of the linear gauge range oulines  
Public PropertyRangesGets or sets the list of the linear gauge ranges  
Public PropertyRangeToolTipTemplateGets or sets the template to use for the ranges tooltip, if using jQuery templating.  
Public PropertyScaleBrushGets or sets the brush to use to fill the scale of the linear gauge.  
Public PropertyScaleEndExtentGets or sets the position at which to stop rendering the scale as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyScaleInnerExtentGets or sets the position at which to start rendering the scale, measured from the bottom/front (when orientation is horizontal/vertical) of the control as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyScaleOuterExtentGets or sets the position at which to stop rendering the scale as a value from 0 to 1 measured from the bottom/front (when orientation is horizontal/vertical) of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyScaleOutlineGets or sets the brush to use for the outline of the scale.  
Public PropertyScaleStartExtentGets or sets the position at which to start rendering the scale, measured from the front/bottom of the linear gauge as a value from 0 to 1. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyScaleStrokeThicknessGets or sets the stroke thickness of the scale outline.  
Public PropertyShowToolTipGets or sets a value indicating whether tooltips are enabled.  
Public PropertyShowToolTipTimeoutGets or sets the time in milliseconds that tooltip appearance is delayed with.  
Public PropertyTickBrushGets or sets the brush to use for the major tickmarks.  
Public PropertyTickEndExtentGets or sets the position at which to stop rendering the major tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyTicksPostInitialA value to start adding tickmarks, added to the scale's MinimumValue.  
Public PropertyTicksPreTerminalA value to stop adding tickmarks, subtracted from the scale's MaximumValue.  
Public PropertyTickStartExtentGets or sets the position at which to start rendering the major tickmarks as a value from 0 to 1, measured from the front/bottom of the linear gauge. Values further from zero than 1 can be used to make this extend further than the normal size of the linear gauge.  
Public PropertyTickStrokeThicknessGets or sets the stroke thickness to use when rendering ticks.  
Public PropertyTransitionDurationGets or sets the number of milliseconds over which changes to the linear gauge should be animated.  
Public PropertyValueGets or sets the value at which the needle is positioned.  
Public PropertyWidthGets or sets the width of the igBulletGraph container.  
Protected Properties
 NameDescription
Protected PropertyStoreReturn the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase)
Public Methods
 NameDescription
Public MethodAddClientEventAdds javascript function to process client event of widget. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Public MethodToJsonSerializes the object to JSON. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected Methods
 NameDescription
Protected MethodCamelizeConverts the provided string to camel case. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodEnsureClientEventsAdds client events to Serializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Protected MethodGetBoolGets the value of a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetCharSets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDateTimeGets the value of a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetDoubleGets the value of a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIEnumerable<T>Gets the value of an IEnumerable property of the model. If the value is null a new IEnumerable of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetIntGets the value of an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetJSLiteralSets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetLongGets the value of a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetModel<T>Gets the value of an IModel property of the model. If the value is null a new model of type T will be created. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringGets the value of a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetStringEnum<T>Gets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValue<T>Gets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodGetValueModel<T>Gets the value of an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromBoolSerializes a bool object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDateTimeSerializes a DateTime object into json Date object. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromDoubleSerializes a double object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromFloatSerializes a float object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIDictionarySerializes an IDictionary of objects into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIEnumerableSerializes an IEnumerable object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromIntSerializes an int object into json. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromModelStoreSerializes the internal model store into json. (Inherited from Infragistics.Web.Mvc.ModelWidgetBase)
Protected MethodJsonFromObjectSerializes an arbitrary object in json using the typed serialization methods. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodJsonFromStringSerializes a string object into json string, escaping all single quotes. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBoolSets a value to a bool property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetBrush (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCamelizedStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetCharGets the value of a char property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDateTimeSets a value to a DateTime property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetDoubleSets a value to a double property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIEnumerable<T>Sets a value to an IEnumerable property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetIntSets a value to an int property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetJSLiteralGets the value of a literal property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetLongSets a value to a long property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetModel<T>Sets a value to an IModel property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringSets a value to a string property of the model. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetStringEnum<T>Sets the value of a string property whose values are the lowercase values of an Enum. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodSetValue<T>Sets a property value of arbitrary type. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodTransformDataTransforms the data. (Inherited from Infragistics.Web.Mvc.ModelBase)
Protected MethodValidValueType<T>Checks type for value of existing property. Returns false as well if non existing property. (Inherited from Infragistics.Web.Mvc.ModelBase)
See Also

View on GitHub