Class RadLinearGauge
The RadLinearGauge control is designed to display a simple value within a definite range.
Inherited Members
Namespace: Telerik.WinControls.UI.Gauges
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadLinearGauge : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadLinearGauge()
Declaration
public RadLinearGauge()
Properties
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
ForeColor
Gets or sets the ForeColor of the control. This is actually the ForeColor property of the root element.
Declaration
public override Color ForeColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
GaugeElement
Items
Declaration
[RadEditItemsAction]
public virtual RadItemOwnerCollection Items { get; }
Property Value
RadItemOwnerCollection
|
RadLinearGaugeName
Declaration
protected virtual string RadLinearGaugeName { get; }
Property Value
System.String
|
RangeEnd
Specifies the gauge's end.
Declaration
public float RangeEnd { get; set; }
Property Value
System.Single
|
RangeStart
Specifies the gauge's start.
Declaration
public float RangeStart { get; set; }
Property Value
System.Single
|
Value
Specifies the gauge's value
Declaration
public float Value { get; set; }
Property Value
System.Single
|
Vertical
Set or Get Gauge Orientation
Declaration
public bool Vertical { get; set; }
Property Value
System.Boolean
|
XmlSerializationInfo
Gets the serialization info for RadRadialGauge used by Save/Load loyout methods to persist grid settings to/from XML. By default, or when set to null the ComponentXmlSerializationInfo provided by GetDefaultXmlSerializationInfo() will be used.
Declaration
public virtual ComponentXmlSerializationInfo XmlSerializationInfo { get; set; }
Property Value
ComponentXmlSerializationInfo
|
Methods
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
GetDefaultXmlSerializationInfo()
Declaration
public virtual ComponentXmlSerializationInfo GetDefaultXmlSerializationInfo()
Returns
ComponentXmlSerializationInfo
|
GetRootElementDesiredSize(Int32, Int32, Int32, Int32)
Declaration
protected override Size GetRootElementDesiredSize(int x, int y, int width, int height)
Parameters
System.Int32
x
|
System.Int32
y
|
System.Int32
width
|
System.Int32
height
|
Returns
System.Drawing.Size
|
Overrides
LoadLayout(String)
Loads RadRadialGauge properties, sub-objects and their properties from XML file, using the serialization information provided by the XmlSerializationInfo property
Declaration
public virtual void LoadLayout(string fileName)
Parameters
System.String
fileName
|
LoadLayout(String, DesignTimeInstanceFactory)
Loads RadRadialGauge properties, sub-objects and their properties from XML file, using the serialization information provided by the XmlSerializationInfo property
Declaration
public virtual void LoadLayout(string fileName, DesignTimeInstanceFactory factory)
Parameters
System.String
fileName
|
DesignTimeInstanceFactory
factory
|
LoadLayout(XmlReader)
Loads RadRadialGauge properties, sub-objects and their properties from XML reader, using the serialization information provided by the XmlSerializationInfo property
Declaration
public virtual void LoadLayout(XmlReader xmlReader)
Parameters
System.Xml.XmlReader
xmlReader
|
LoadLayout(XmlReader, InstanceFactory)
Declaration
public virtual void LoadLayout(XmlReader xmlReader, InstanceFactory factory)
Parameters
System.Xml.XmlReader
xmlReader
|
InstanceFactory
factory
|
ResetFields()
Declaration
protected virtual void ResetFields()
SaveLayout(Stream)
Stores to a stream RadRadialGauge properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
Declaration
public virtual void SaveLayout(Stream stream)
Parameters
System.IO.Stream
stream
|
SaveLayout(String)
Stores to a file RadRadialGauge properties, sub-objects and their properties in XML format, using the serialization information provided by the XmlSerializationInfo property
Declaration
public virtual void SaveLayout(string fileName)
Parameters
System.String
fileName
|
SaveLayout(XmlWriter)
Declaration
public virtual void SaveLayout(XmlWriter xmlWriter)
Parameters
System.Xml.XmlWriter
xmlWriter
XmlWriter to use by the built-in serializer |
ScaleControl(SizeF, BoundsSpecified)
Declaration
protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
Parameters
System.Drawing.SizeF
factor
|
System.Windows.Forms.BoundsSpecified
specified
|
Overrides
Events
OrientationChanged
The OrientationChanged event fires when the orientation of the gauges is changed.
Declaration
public event EventHandler OrientationChanged
Event Type
System.EventHandler
|
ValueChanged
The ValueChanged event fires when the value is modified.
Declaration
public event EventHandler ValueChanged
Event Type
System.EventHandler
|