共用方式為


Page.Title Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the name for the page.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)

Syntax

'Declaration
Public Property Title As String
public string Title { get; set; }
<sdk:Page Title="string"/>

Property Value

Type: System.String
The name for the page.

Remarks

You use the Title property to create a name for the page that is different from the uniform resource identifier for the page.

The value of the Title property is displayed in the browser window and the browser navigation history if the page is hosted in a browser-integrated frame. A frame is integrated with the browser if it is a top-level frame and its JournalOwnership property is not set to OwnsJournal.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.