Properties
Property | Description |
---|---|
RangeEnd | Specifies the gauge's end. |
RangeStart | Specifies the gauge's start. |
Value | Specifies the gauge's value |
Vertical | Set or Get Gauge Orientation |
XmlSerializationInfo | Gets the serialization info for RadRadialGauge used by Save/Load layout methods to persist grid settings to/from XML. By default, or when set to null the ComponentXmlSerializationInfo provided by GetDefaultXmlSerializationInfo() will be used. |
Events
Event | Description |
---|---|
ValueChanged | The ValueChanged event fires when the value is modified. |
OrientationChanged | The OrientationChanged event fires when the orientation of the gauges is changed. |
The ValueChanged event fires when the Value of the control is changed. For example you can use this event to alert the user that the current value is close to the maximum:
ValueChanged Event
void radLinearGauge2_ValueChanged(object sender, EventArgs e)
{
if ( radLinearGauge2.Value > radLinearGauge2.RangeEnd - 10)
{
RadMessageBox.Show("Detected value that is close to the maximum!");
}
}
Private Sub radLinearGauge1_ValueChanged(ByVal sender As Object, ByVal e As EventArgs)
If radLinearGauge2.Value > radLinearGauge2.RangeEnd - 10 Then
RadMessageBox.Show("Detected value that is close to the maximum!")
End If
End Sub