Frame.Source 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 콘텐츠의 URI(Uniform Resource Identifier) 또는 현재 탐색 중인 새 콘텐츠의 URI를 가져오거나 설정합니다.
public:
property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
[System.ComponentModel.Bindable(true)]
public Uri Source { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Source : Uri with get, set
Public Property Source As Uri
속성 값
Uri 현재 콘텐츠에 대한 URI 또는 현재 탐색 중인 콘텐츠가 포함된 A입니다.
- 특성
예제
다음 예제에서는 속성을 설정하여 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 | 가치 |
|---|---|
| 식별자 필드 | SourceProperty |
메타데이터 속성이 다음으로 설정됩니다. true |
Journal |