Propriété AutoGenerateTitle
Gets or sets a Boolean value that indicates whether the Web part title should be automatically generated from the report that is displayed.
Espace de noms : Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly : Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Syntaxe
'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
Public Property AutoGenerateTitle As Boolean
Get
Set
'Utilisation
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)
Valeur de propriété
Type : System. . :: . .Boolean
true if the Web part title should be automatically generated; otherwise, false. The default is true.
Notes
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.