Class RadRangeBase
Represents an element that has a value within a specific range.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public abstract class RadRangeBase : Control
Constructors
RadRangeBase()
Fields
AutoReverseProperty
Identifies the AutoReverse dependency property.
Declaration
public static readonly DependencyProperty AutoReverseProperty
Field Value
System.Windows.DependencyProperty
|
LargeChangeProperty
Identifies the LargeChange dependency property.
Declaration
public static readonly DependencyProperty LargeChangeProperty
Field Value
System.Windows.DependencyProperty
|
MaximumProperty
Identifies the Maximum dependency property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
System.Windows.DependencyProperty
|
MinimumProperty
Identifies the Minimum dependency property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
System.Windows.DependencyProperty
|
SmallChangeProperty
Identifies the SmallChange dependency property.
Declaration
public static readonly DependencyProperty SmallChangeProperty
Field Value
System.Windows.DependencyProperty
|
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AutoReverse
Gets or sets the value that specifies whether the control will change its value to its minimum when it reaches its maximum, or vice versa.
Declaration
public bool AutoReverse { get; set; }
Property Value
System.Boolean
|
LargeChange
Gets or sets a value to be added to or subtracted from the Value of a RadRangeBase control.
Declaration
public double LargeChange { get; set; }
Property Value
System.Double
|
Maximum
Gets or sets the highest possible RadRangeBase.Value of the range element.
Declaration
public double Maximum { get; set; }
Property Value
System.Double
|
Minimum
Gets or sets the lowest possible RadRangeBase.Value of the range element.
Declaration
public double Minimum { get; set; }
Property Value
System.Double
|
SmallChange
Gets or sets the value to be added to or subtracted from the RadRangeBase.Value.
Declaration
public double SmallChange { get; set; }
Property Value
System.Double
|
Value
Gets or sets the current setting of the range control, which may be coerced.
Declaration
public Nullable<double> Value { get; set; }
Property Value
System.Nullable<System.Double>
|
Methods
ChangeValue(Double)
Adds the provided delta to the current value.
Declaration
protected virtual void ChangeValue(double delta)
Parameters
System.Double
delta
The amount to add to Value. |
OnMaximumChanged(Double, Double)
Called when the RadRangeBase.Maximum property changes.
Declaration
protected virtual void OnMaximumChanged(double oldMaximum, double newMaximum)
Parameters
System.Double
oldMaximum
Old value of the RadRangeBase.Maximum property. |
System.Double
newMaximum
New value of the RadRangeBase.Maximum property. |
OnMinimumChanged(Double, Double)
Called when the RadRangeBase.Minimum property changes.
Declaration
protected virtual void OnMinimumChanged(double oldMinimum, double newMinimum)
Parameters
System.Double
oldMinimum
Old value of the RadRangeBase.Minimum property. |
System.Double
newMinimum
New value of the RadRangeBase.Minimum property. |
OnValueChanged(RadRangeBaseValueChangedEventArgs)
Raises the RadRangeBase.ValueChanged routed event.
Declaration
protected virtual void OnValueChanged(RadRangeBaseValueChangedEventArgs e)
Parameters
RadRangeBaseValueChangedEventArgs
e
|
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents this instance. |
Events
ValueChanged
Occurs when the range value changes.
Declaration
public event EventHandler<RadRangeBaseValueChangedEventArgs> ValueChanged
Event Type
System.EventHandler<RadRangeBaseValueChangedEventArgs>
|