Uredi

Deli z drugimi prek


JournalEntry.Name Property

Definition

Gets or sets the name of the journal entry.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

The name of the journal entry.

Examples

The following example shows how to set the Name property for a Page from markup, with a XAML attached property usage.

<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    JournalEntry.Name="JournalEntry Name"
    >
  <!--Page Content-->
</Page>

Remarks

Content hosted by NavigationWindow, Frame, or a browser displays navigation UI that allows users to navigate through back and forward navigation history. The text that is displayed for each entry in navigation history depends on which of the following pieces of data are used to automatically construct a navigation history entry name, in order of precedence:

  • The attached Name attribute.
  • Title.
  • WindowTitle and the uniform resource identifier (URI) for the current page.
  • The uniform resource identifier (URI) for the current page.

XAML Attribute Usage

<object JournalEntry.Name="String"/>

Dependency Property Information

Identifier field NameProperty
Metadata properties set to true None

Applies to