Version

Range Property

Returns a scroll bar's maximum, or rightmost, position in a colscrollregion. This property is read-only at run-time. This property is not available at design-time.
Syntax
'Declaration
 
Public ReadOnly Property Range As Integer
public int Range {get;}
Remarks

This property indicates the value of a scroll bar's Position property when the scroll box is in its rightmost position.

The value of this property, itself, is the width of the area not in view in the colscrollregion, expressed in terms of the coordinate system set by the scale mode of the control's container.

When the total area is viewable in the colscrollregion, this value of this property is 0.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also