Back to Devexpress

RangeControl.VisibleRangeStartPosition Property

windowsforms-devexpress-dot-xtraeditors-dot-rangecontrol-4852f8c8.md

latest2.4 KB
Original Source

RangeControl.VisibleRangeStartPosition Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(0)]
[DXCategory("Behavior")]
public double VisibleRangeStartPosition { get; set; }
vb
<DefaultValue(0)>
<DXCategory("Behavior")>
Public Property VisibleRangeStartPosition As Double

Property Value

TypeDefaultDescription
Double0

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.

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

See Also

VisibleRangeWidth

VisibleRangeScaleFactor

RangeControl Class

RangeControl Members

DevExpress.XtraEditors Namespace