ScrollBar.PageUpCommand 필드

정의

ScrollBar 값이 줄어드는 세로 방향으로 Track를 많은 양만큼 스크롤하는 명령입니다.

public: static initonly System::Windows::Input::RoutedCommand ^ PageUpCommand;
public static readonly System.Windows.Input.RoutedCommand PageUpCommand;
 staticval mutable PageUpCommand : System.Windows.Input.RoutedCommand
Public Shared ReadOnly PageUpCommand As RoutedCommand 

필드 값

예제

다음 예제에서는 지정 하는 방법을 보여 줍니다 합니다 PageUpCommand 사용자 지정에서 ScrollBar 스타일 템플릿.

<Style x:Key="ScrollBar_UpTrack" 
       BasedOn="{StaticResource ScrollBar_TrackRepeater}" 
       TargetType="{x:Type RepeatButton}">
  <Setter Property="Command" Value="ScrollBar.PageUpCommand" />
</Style>

설명

이 명령은 감소는 ValueTrackScrollBar 값을 기준으로 LargeChange 속성.

이 명령은 PAGE UP 키를 누를 때 발생 합니다.

구현 하는 경우를 ScrollBar 의 일부로 ScrollViewer 컨트롤을 ScrollViewer 이 명령을 실행 합니다.

XAML 텍스트 사용

<objectproperty="ScrollBar.PageUpCommand"/>

적용 대상

추가 정보