Version

CurrentPage Property

Returns the first page which contains the largest portion of its visible area in view.
Syntax
'Declaration
 
Public Property CurrentPage As Integer
public int CurrentPage {get; set;}
Remarks

This is a read-only property that return an integer indicating the first page that contains the largest portion of its visible area in the control. The value returned is 1-based. If there are no pages in the control (i.e. PageCount returns 0, -1 will be returned.

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