ScrollBar.LineDownCommand 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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"/>