共用方式為


ScrollBar.LineDownCommand 欄位

定義

指令會向其值Track逐漸增加的垂直方向向 ScrollBar a 微小滾動。

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

欄位值

範例

以下範例展示了如何在自訂ScrollBar樣式範本中指定 。LineDownCommand

<RepeatButton Grid.Row="2" 
              Style="{DynamicResource Scrollbar_LineButton}" 
              Command="ScrollBar.LineDownCommand" Content=" v" />

備註

此指令將 的 TrackScrollBar 增加 Value ,使該房產的價值SmallChange增加。

當使用者按下向下鍵時,就會發生此命令。

當你將 a ScrollBar 作為控制項的一部分 ScrollViewer 實作時,會 ScrollViewer 執行這個指令。

XAML 文字使用方式

< 物件屬性="ScrollBar.LineDownCommand"/>

適用於

另請參閱