Compartilhar via


Propriedade do RDL AutoGenerateTitle

Gets or sets a Boolean value that indicates whether the Web part title should be automatically generated from the report that is displayed.

Namespace:  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly:  Microsoft.ReportingServices.SharePoint.UI.WebParts (em Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintaxe

'Declaração
<WebPartStorageAttribute(Storage.Shared)> _
Public Property AutoGenerateTitle As Boolean
    Get
    Set
'Uso
Dim instance As ReportViewerWebPart
Dim value As Boolean

value = instance.AutoGenerateTitle

instance.AutoGenerateTitle = value
[WebPartStorageAttribute(Storage.Shared)]
public bool AutoGenerateTitle { get; set; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property bool AutoGenerateTitle {
    bool get ();
    void set (bool value);
}
[<WebPartStorageAttribute(Storage.Shared)>]
member AutoGenerateTitle : bool with get, set
function get AutoGenerateTitle () : boolean
function set AutoGenerateTitle (value : boolean)

Valor da propriedade

Tipo: System. . :: . .Boolean
true if the Web part title should be automatically generated; otherwise, false. The default is true.

Comentários

The generated title includes the name of the Report Viewer Web Part plus the name of the report, separated by a dash. If the report does not have a title, the report file name is used. The title is visible when you add a Web Part to a page. If this check box is selected, the title will be generated each time the page is refreshed.

This property can be configured using the Auto-Generate Web Part Title check box in the tool pane of the Web-based Web Part design user interface.