ReportViewer.CurrentPage Property
Gets or sets the current page of the ReportViewer control's active report.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
<BrowsableAttribute(False)> _
Public Property CurrentPage As Integer
'Usage
Dim instance As ReportViewer
Dim value As Integer
value = instance.CurrentPage
instance.CurrentPage = value
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public int CurrentPage { get; set; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)]
[BrowsableAttribute(false)]
public:
property int CurrentPage {
int get ();
void set (int value);
}
/** @property */
public int get_CurrentPage ()
/** @property */
public void set_CurrentPage (int value)
public function get CurrentPage () : int
public function set CurrentPage (value : int)
Property Value
An integer value containing the current page of the report. The default value is 0.
See Also
Reference
ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace