Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the index of the active view in the CrystalReportViewer control.
Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)
Syntax
'Declaration
Public NotInheritable Property ActiveViewIndex As Integer
public sealed int ActiveViewIndex {get; set;}
Example
The following example returns the index of the active view.
'Declaration
Private Function GetActiveViewIndex() As Integer
GetActiveViewIndex = CrystalReportViewer.ActiveViewIndex
End Function
private int GetActiveViewIndex()
{
return crystalReportViewer.ActiveViewIndex;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002
See Also
Reference
CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace