ReportViewer.ReportAreaContentType Property

Gets a ReportAreaContent object that indicates the current content type of the report area.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> _
Public ReadOnly Property ReportAreaContentType As ReportAreaContent
'Usage
Dim instance As ReportViewer
Dim value As ReportAreaContent

value = instance.ReportAreaContentType
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] 
public ReportAreaContent ReportAreaContentType { get; }
[BrowsableAttribute(false)] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)] 
public:
property ReportAreaContent ReportAreaContentType {
    ReportAreaContent get ();
}
/** @property */
public ReportAreaContent get_ReportAreaContentType ()
public function get ReportAreaContentType () : ReportAreaContent

Property Value

A ReportAreaContent object.

Remarks

You can use this property to check whether the report area contains a report.

The ReportViewer control changes the value of this property during the life cycle of the ASP.NET page. Before the ReportViewer.PreRender event has completed, this property may be set to Unknown. Its value is finalized after the ReportViewer.PreRender event.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace