Skip to main content

RangeControl.VisibleRangeStartPosition Property

Gets or sets the start position of the visible range, in relative coordinates.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(0)]
[DXCategory("Behavior")]
public double VisibleRangeStartPosition { get; set; }

Property Value

Type Default Description
Double 0

A double value that is the start position of the visible range, in relative coordinates.

Remarks

An end-user can scroll data (change the start position of the visible range) by dragging the left Zoom Grip and by dragging the Viewport Scroll Thumb.

A relative position is a value in the range: 0 <= StartPosition < 1. A value of 0 indicates that data is not scrolled from the beginning and the viewport displays data starting at the very first data point.

RangeControl-VisibleRangeStartPosition-0

The value of 0.5 indicates that data is scrolled to show the middle data point at the beginning of the viewport.

RangeControl-VisibleRangeStartPosition-0.5

See Also