Base class for the different Gauge controls (RadLinearGauge, RadRadialGauge).
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Type Parameters:
TOne
The pointer of the child Gauge.
TTwo
The scale of the child Gauge.
Syntax:
[RequiredScript(typeof(Html5DataVizGauge))]
[RequiredScript(typeof(Html5DataVizThemes))]
[ClientScriptResource("Telerik.Web.UI.RadGaugeControl", "Telerik.Web.UI.Gauge.Scripts.RadGaugeControl.js")]
[EmbeddedSkin("Gauge")]
[RequiredCss("Telerik.Web.UI.Skins.HTML5UI.dataviz.css", RenderMode.Classic, typeof(RadGaugeControl<PointerBase, ScaleBase>))]
[RequiredCss("Telerik.Web.UI.Skins.HTML5UI.dataviz.css", RenderMode.Lightweight, typeof(RadGaugeControl<PointerBase, ScaleBase>))]
public abstract class RadGaugeControl<TOne, TTwo> : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl where TOne : PointerBase where TTwo : ScaleBase
Inheritance: objectControlWebControlRadWebControlRadGaugeControl<TOne, TTwo>
Derived Classes:
Implements:
Inherited Members
Constructors
protected RadGaugeControl()
Properties
Defines the appearance settings of the Gauge.
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public Appearance Appearance { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
Gets or sets the value, indicating whether to render the link to the embedded base stylesheet of the control or not.
public override bool EnableEmbeddedBaseStylesheet { get; set; }
Overrides:
If EnableEmbeddedBaseStylesheet is set to false you will have to register the needed control base CSS file by hand.
Gets or sets the value, indicating whether to render links to the embedded skins or not.
public override bool EnableEmbeddedSkins { get; set; }
Overrides:
If EnableEmbeddedSkins is set to false you will have to register the needed CSS files by hand.
[ClientControlProperty]
[ClientPropertyName("height")]
public override Unit Height { get; set; }
Overrides:
Pointer
TOne
Defines the pointer settings of the Gauge control.
public abstract TOne Pointer { get; }
Gets or sets the rendering engine for the gauge. Auto selects the most capable engine supported by the client (prefers SVG, then Canvas, then VML).
public GaugeRenderingEngine RenderAs { get; set; }
Scale
TTwo
Defines the scale settings of the Gauge control.
public abstract TTwo Scale { get; }
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Gets or sets a bool value indicating whether transition animations should be played.
[ClientControlProperty]
public bool Transitions { get; set; }