Propriedade ReportViewer.ReportAreaContentType
Obtém um objeto ReportAreaContent que indica o tipo de conteúdo atual da área de relatório.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)
Sintaxe
'Declaração
<BrowsableAttribute(False)> _
Public ReadOnly Property ReportAreaContentType As ReportAreaContent
[BrowsableAttribute(false)]
public ReportAreaContent ReportAreaContentType { get; }
[BrowsableAttribute(false)]
public:
property ReportAreaContent ReportAreaContentType {
ReportAreaContent get ();
}
[<BrowsableAttribute(false)>]
member ReportAreaContentType : ReportAreaContent with get
function get ReportAreaContentType () : ReportAreaContent
Valor de propriedade
Tipo: Microsoft.Reporting.WebForms.ReportAreaContent
Um objeto ReportAreaContent.
Comentários
Você pode usar essa propriedade para verificar se a área de relatório contém um relatório.
O controle ReportViewer altera o valor dessa propriedade durante o ciclo de vida da página do ASP.NET.Antes de o evento ReportViewer.PreRender ser concluído, essa propriedade pode ser definida como Unknown.Seu valor é finalizado após o evento ReportViewer.PreRender.