Hosts the selected-range interval, its endpoint handles, and the surrounding hover regions.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RangeSelectorTrackingElement : RangeSelectorVisualElementWithOrientation, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRangeSelectorVisualElementRangeSelectorVisualElementWithOrientationRangeSelectorTrackingElement...
Implements:
Inherited Members
Constructors
public RangeSelectorTrackingElement()
Properties
Gets or sets the selected range's end as a percentage of the full range. Values outside MinSelectionLength through 100 are ignored; moving this endpoint may also move the start to preserve the minimum span.
public float EndRange { get; set; }
Gets the hover region before the selected range; pressing it delegates input to the selection preview.
public RangeSelectorHoverElement LeftHover { get; }
Gets the handle that changes the selected range's start endpoint.
public RangeSelectorThumb LeftThumb { get; }
Gets the marker aligned with the selected range's start endpoint.
public RangeSelectorThumbLineElement LeftThumbLine { get; }
Gets or sets the minimum span between StartRange and EndRange, in percentage points. The initial value is 3; explicitly assigned values must be between 4 and 99. Changing it does not resize the current range.
public int MinSelectionLength { get; set; }
The assigned value is less than 4 or greater than 99.
Gets the draggable bar between the range's two endpoint handles.
public RangeSelectorRangeElement Range { get; }
Gets the hover region after the selected range; pressing it delegates input to the selection preview.
public RangeSelectorHoverElement RightHover { get; }
Gets the handle that changes the selected range's end endpoint.
public RangeSelectorThumb RightThumb { get; }
Gets the marker aligned with the selected range's end endpoint.
public RangeSelectorThumbLineElement RightThumbLine { get; }
Gets or sets the selected range's start as a percentage of the full range. Values outside 0 through 100 minus MinSelectionLength are ignored; moving this endpoint may also move the end to preserve the minimum span.
public float StartRange { get; set; }
Gets or sets how long endpoint tooltips remain visible, in milliseconds. The initial duration is 1000.
public int ToolTipDuration { get; set; }
Gets or sets the offset from the pointer used to position endpoint tooltips. The initial offset is 10 units to the right and no vertical offset.
public Point ToolTipOffset { get; set; }
Gets or sets the format string used by endpoint tooltips; arguments are the selected range's start and end percentages. The initial format displays both values to two decimal places.
public string ToolTipThumbFormatString { get; set; }
Methods
Creates the endpoint handles, marker lines, selected-range bar, and hover regions, then binds their pointer states.
protected override void CreateChildElements()
Overrides:
Stretches the tracking element to its host and lets its child elements handle pointer input.
protected override void InitializeFields()
Overrides:
Measures the children, expanding the available width by the total zoom factor when an associated range-selector view is present.
Forwards notification that the start endpoint changed to the owning range-selector element.
Forwards a proposed start-endpoint change to the owning range-selector element.
protected virtual void OnThumbLeftValueChanging(ValueChangingEventArgs e)
The cancelable endpoint-value change data.
Forwards notification that the end endpoint changed to the owning range-selector element.
protected virtual void OnThumbRightValueChanged(EventArgs e)
The event data.
Forwards a proposed end-endpoint change to the owning range-selector element.
protected virtual void OnThumbRightValueChanging(ValueChangingEventArgs e)
The cancelable endpoint-value change data.