ScrollBar.LineRightCommand 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public: static initonly System::Windows::Input::RoutedCommand ^ LineRightCommand;
public static readonly System.Windows.Input.RoutedCommand LineRightCommand;
staticval mutable LineRightCommand : System.Windows.Input.RoutedCommand
Public Shared ReadOnly LineRightCommand As RoutedCommand
欄位值
範例
以下範例展示了如何在自訂ScrollBar樣式範本中指定 。LineRightCommand
<RepeatButton Grid.Column="2"
Style="{DynamicResource Scrollbar_LineButton}"
Command="ScrollBar.LineRightCommand" Content=" >" />
備註
此指令將 的 TrackScrollBar 增加 Value ,使該房產的價值SmallChange增加。
當使用者按下右 RepeatButton鍵時,此指令會發生。
當你將 a ScrollBar 作為控制項的一部分 ScrollViewer 實作時,會 ScrollViewer 執行這個指令。
XAML 文字使用方式
<
物件屬性="ScrollBar.LineRightCommand"/>