다음을 통해 공유


NavigationWindow.Source 속성

정의

현재 콘텐츠의 URI(Uniform Resource Identifier) 또는 현재 탐색 중인 새 콘텐츠의 URI를 가져오거나 설정합니다.

public:
 property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
public Uri Source { get; set; }
member this.Source : Uri with get, set
Public Property Source As Uri

속성 값

Uri

현재 콘텐츠의 URI 또는 현재 탐색 중인 콘텐츠입니다.

예제

다음 예제에서는 속성을 설정하여 URI(Uniform Resource Identifier)로 이동하는 방법을 보여 줍니다 Source .

// Navigate to URI using the Source property
this.Source = new Uri("HomePage.xaml", UriKind.Relative);
' Navigate to URI using the Source property
Me.Source = New Uri("HomePage.xaml", UriKind.Relative)

설명

NavigationService.Source을(를) 참조하세요.

메모

URI(Uniform Resource Identifier)는 상대 또는 절대적일 수 있습니다. 자세한 내용은 WPF의 Pack URI를 참조하세요.

종속성 속성 정보

Item 가치
식별자 필드 Source
메타데이터 속성이 다음으로 설정됩니다. true Journal

적용 대상