ScrollBar.DeferScrollToHorizontalOffsetCommand フィールド

定義

ユーザーが水平方向のScrollViewerThumbScrollBarで指定された値にドラッグしていることをParameterに通知するコマンド。

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

フィールド値

注釈

ユーザーがScrollBarの親指をドラッグすると、ScrollBarDeferScrollToHorizontalOffsetCommandCanExecuteを呼び出します。 CanExecutetrueを返した場合、ScrollBarはそのコマンドを実行します。 CanExecutefalseを返した場合、ScrollBarScrollToHorizontalOffsetCommandを実行します。

ScrollViewerでは、このコマンドを使用して遅延スクロールを有効にします。 ScrollViewer.IsDeferredScrollingEnabledtrueされ、ユーザーがScrollBarThumbをドラッグすると、ユーザーがThumbを解放するまで、ScrollViewerの内容は変更されません。 遅延スクロールが有効になっている場合、ユーザーがThumbをドラッグすると、ScrollBarは水平方向のScrollBarDeferScrollToHorizontalOffsetCommandを実行します。

適用対象