ViewInfo.IsSubreportView Property
Gets whether the report is in a subreport view.
Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)
Syntax
'Declaration
Public ReadOnly Property IsSubreportView As Boolean
public bool IsSubreportView {get;}
Example
The following example returns whether the report is in a subreport view.
'Declaration
Private Function GetIsSubreportView(ByVal myCrystalReportViewer As CrystalReportViewer) As Boolean
GetIsSubreportView = myCrystalReportViewer.ViewInfo.IsSubreportView
End Function
private bool GetIsSubreportView(CrystalReportViewer myCrystalReportViewer)
{
return myCrystalReportViewer.ViewInfo.IsSubreportView;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports .NET 10
See Also
Reference
ViewInfo Class
ViewInfo Members
CrystalDecisions.Web Namespace