New to Telerik UI for WinForms? Start a free 30-day trial

Carries previous and proposed endpoint percentages for a selection-changing notification. In thumb-driven updates, the opposite endpoint may be adjusted after the notification to satisfy MinSelectionLength. Depending on the update path, the notification may occur before or after an endpoint is applied. The endpoint values use shared static storage rather than per-instance snapshots, and not all update paths honor the inherited cancellation flag.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RangeSelectorSelectionChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsRangeSelectorSelectionChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Sets the proposed endpoint values and copies the previously stored values to the old-value properties.

C#
public RangeSelectorSelectionChangingEventArgs(float startValue, float endValue)
Parameters:startValuefloat

The proposed start endpoint as a percentage.

endValuefloat

The proposed end endpoint as a percentage.

Properties

Gets or sets the proposed end endpoint as a percentage; the value is shared across event-argument instances.

C#
public float NewEndValue { get; set; }

Gets or sets the proposed start endpoint as a percentage; the value is shared across event-argument instances.

C#
public float NewStartValue { get; set; }

Gets or sets the previously stored end endpoint percentage; this is not an immutable per-instance snapshot.

C#
public float OldEndValue { get; set; }

Gets or sets the previously stored start endpoint percentage; this is not an immutable per-instance snapshot.

C#
public float OldStartValue { get; set; }