ClassRadRangeBase
Represents an abstract base class for controls that define a range of values, supporting properties such as Minimum, Maximum, SmallChange, LargeChange, and current Value. This class enables functionality for manipulating the value within defined limits and supports automatic reverse behavior when the value reaches either endpoint. It provides robust event handling for value changes, enabling easy data binding and client-side control of the range's behavior in UI applications.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public abstract class RadRangeBase : Control
Inheritance: objectRadRangeBase
Derived Classes:
Constructors
RadRangeBase()
Initializes a new instance of the RadRangeBase class.
Declaration
protected RadRangeBase()
Fields
AutoReverseProperty
Identifies the AutoReverse dependency property.
Declaration
public static readonly DependencyProperty AutoReverseProperty
Field Value
DependencyProperty
LargeChangeProperty
Identifies the LargeChange dependency property.
Declaration
public static readonly DependencyProperty LargeChangeProperty
Field Value
DependencyProperty
MaximumProperty
Identifies the Maximum dependency property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
DependencyProperty
MinimumProperty
Identifies the Minimum dependency property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
DependencyProperty
SmallChangeProperty
Identifies the SmallChange dependency property.
Declaration
public static readonly DependencyProperty SmallChangeProperty
Field Value
DependencyProperty
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
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.
LargeChange
Gets or sets a value to be added to or subtracted from the Value of a RadRangeBase control.
Maximum
Gets or sets the highest possible RadRangeBase.Value of the range element.
Minimum
Gets or sets the lowest possible RadRangeBase.Value of the range element.
SmallChange
Gets or sets the value to be added to or subtracted from the RadRangeBase.Value.
Methods
ChangeValue(double)
Adds the provided delta to the current value.
Declaration
protected virtual void ChangeValue(double delta)
Parameters
delta
The amount to add to Value.
OnMaximumChanged(double, double)
Called when the RadRangeBase.Maximum property changes.
OnMinimumChanged(double, double)
Called when the RadRangeBase.Minimum property changes.
OnValueChanged(RadRangeBaseValueChangedEventArgs)
Raises the RadRangeBase.ValueChanged routed event.
Declaration
protected virtual void OnValueChanged(RadRangeBaseValueChangedEventArgs e)
Parameters
e
ToString()
Returns a string that represents this instance.
Events
ValueChanged
Occurs when the range value changes.
Declaration
public event EventHandler<RadRangeBaseValueChangedEventArgs> ValueChanged
Event Value