RadRangeBase
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
Initializes a new instance of the RadRangeBase class.
protected RadRangeBase()
Fields
AutoReverseProperty
DependencyProperty
Identifies the AutoReverse dependency property.
public static readonly DependencyProperty AutoReverseProperty
LargeChangeProperty
DependencyProperty
Identifies the LargeChange dependency property.
public static readonly DependencyProperty LargeChangeProperty
MaximumProperty
DependencyProperty
Identifies the Maximum dependency property.
public static readonly DependencyProperty MaximumProperty
MinimumProperty
DependencyProperty
Identifies the Minimum dependency property.
public static readonly DependencyProperty MinimumProperty
SmallChangeProperty
DependencyProperty
Identifies the SmallChange dependency property.
public static readonly DependencyProperty SmallChangeProperty
ValueProperty
DependencyProperty
Identifies the Value dependency property.
public static readonly DependencyProperty ValueProperty
Properties
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.
public bool AutoReverse { get; set; }
Gets or sets a value to be added to or subtracted from the Value of a RadRangeBase control.
public double LargeChange { get; set; }
Gets or sets the highest possible RadRangeBase.Value of the range element.
public double Maximum { get; set; }
Gets or sets the lowest possible RadRangeBase.Value of the range element.
public double Minimum { get; set; }
Gets or sets the value to be added to or subtracted from the RadRangeBase.Value.
public double SmallChange { get; set; }
Methods
Adds the provided delta to the current value.
protected virtual void ChangeValue(double delta)
The amount to add to Value.
Raises the RadRangeBase.ValueChanged routed event.
protected virtual void OnValueChanged(RadRangeBaseValueChangedEventArgs e)
Events
Occurs when the range value changes.
public event EventHandler<RadRangeBaseValueChangedEventArgs> ValueChanged