Name Property
Collapse the table of content
Expand the table of content

JournalEntry.Name Property

 

Gets or sets the name of the journal entry.

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

public string Name { get; set; }

Property Value

Type: System.String

The name of the journal entry.

Content hosted by NavigationWindow, Frame, or Internet Explorer 7, display 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.

<object JournalEntry.Name="String"/>

Identifier field

NameProperty

Metadata properties set to true

None

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>

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft