NavigationCommands.Refresh 속성

정의

Refresh 명령을 나타내는 값을 가져옵니다.

public:
 static property System::Windows::Input::RoutedUICommand ^ Refresh { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand Refresh { get; }
static member Refresh : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property Refresh As RoutedUICommand

속성 값

라우트된 UI 명령입니다.

기본값
키 제스처 F5
UI 텍스트 새로 고침

예제

다음 예제에서는 사용 하는 방법을 보여 줍니다 Refresh 와 함께에서 Frame입니다. 합니다 Frame 에 응답 하는 구현을 제공 합니다 Refresh 현재 다시 로드 하 여 명령을 Frame 콘텐츠입니다.

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<!-- NavigationCommands.Refresh -->
<MenuItem
  Command="NavigationCommands.Refresh"
  CommandTarget="{Binding ElementName=frame}" />
<!-- The following Frame is used to process NavigationCommands.Refresh commands -->
<Frame Name="frame" NavigationUIVisibility="Hidden" Source="Page1.xaml" />
</Window>

설명

이 명령은 현재 페이지를 새로 고쳐야 함을 나타냅니다.

FrameNavigationWindow 에 응답 하는 것에 대 한 지원을 구현 합니다 Refresh 명령을 사용 하 여 필요 하지 않지만, 대부분의 구현은 명령에 응답 하는 애플리케이션 개발자의 책임입니다.

XAML 특성 사용

<object property="NavigationCommands.Refresh"/>  

적용 대상

추가 정보