ScrollBar.DeferScrollToVerticalOffsetCommand フィールド

定義

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

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

フィールド値

注釈

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

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

適用対象