Provides the percentage-based scroll and zoom strip for the range selector, including endpoint handles and range selection.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RangeSelectorScrollElement : RangeSelectorVisualElementWithOrientation, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRangeSelectorVisualElementRangeSelectorVisualElementWithOrientationRangeSelectorScrollElement...
Implements:
Inherited Members
Constructors
public RangeSelectorScrollElement()
Properties
Gets the button that shifts the visible viewport toward the end of the content.
public RangeSelectorArrowButton BottomRightButton { get; }
Gets the handle that changes the end of the visible viewport.
public RangeSelectorScrollThumb BottomRightThumb { get; }
Gets or sets the end of the visible viewport as a percentage of the full range. Values are ignored unless they preserve MinScrollLength and remain within the 0-to-100 range. When fast scrolling is disabled, accepted changes update the associated view zoom end immediately.
public float End { get; set; }
Gets the button that shifts the visible viewport toward the beginning of the content.
public RangeSelectorArrowButton LeftTopButton { get; }
Gets the handle that changes the start of the visible viewport.
public RangeSelectorScrollThumb LeftTopThumb { get; }
Gets the draggable track segment representing the visible viewport.
public RangeSelectorScrollRange Range { get; }
Gets or sets the stored docking position. The current scroll-strip layout does not use this value.
public ViewPosition ScrollDockPostion { get; set; }
Gets the element that represents the selected interval within the range selector.
public RangeSelectorScrollSelectionRange SellectionRange { get; }
Gets or sets the scroll-button visibility flag. The current scroll-strip layout does not consult this property.
public bool ShowButtons { get; set; }
Gets or sets the start of the visible viewport as a percentage of the full range. Values are ignored unless they preserve MinScrollLength and remain within the 0-to-100 range. When fast scrolling is disabled, accepted changes update the associated view zoom start immediately.
public float Start { get; set; }
Gets the tooltip shared with the range selector's input behavior after the scroll strip first needs it.
public ToolTip ToolTip { get; }
Gets or sets how long range-selector tooltips remain visible, in milliseconds.
public int ToolTipDuration { get; set; }
Gets or sets the pointer-relative offset used to position range-selector tooltips.
public Point ToolTipOffset { get; set; }
Gets or sets the format string used for viewport and selection-range tooltips. The format arguments are the relevant interval's start and end percentages.
public string ToolTipSelectionFormatString { get; set; }
Gets or sets the format string used for endpoint-handle tooltips; format arguments are the viewport start and end.
public string ToolTipThumbFormatString { get; set; }
Methods
Positions the buttons, viewport handles, viewport range, and selected interval for horizontal orientation. Vertical orientation currently has no child-arrangement implementation.
Creates the endpoint buttons and handles, movable viewport range, and selection-range element.
protected override void CreateChildElements()
Overrides:
Detaches the endpoint-button click handlers before releasing managed resources.
protected override void DisposeManagedResources()
Overrides:
Enables stretching in both dimensions so the scroll strip can fill its allocated layout area.
protected override void InitializeFields()
Overrides:
Measures the children and fills the available track length, using the largest child cross-axis size.