다음을 통해 공유


ScrollBar.PageLeftCommand 필드

정의

가로 방향으로 스크롤하여 값을 Track줄이는 명령 ScrollBar 입니다.

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

필드 값

예제

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

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

설명

이 명령은 속성 값 Track 으로 in ScrollBar 의 값을 줄 Value 입니다LargeChange.

이 명령은 사용자가 왼쪽 Thumb에 있는 페이지 단추를 누를 때 발생합니다. 다음 그림에서는 .의 페이지 단추를 보여 줍니다 ScrollBar.

ScrollBar의 다른 부분

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

XAML 텍스트 사용

< object속성="ScrollBar.PageLeftCommand"/>

적용 대상

추가 정보