IScrollInfo.MouseWheelRight 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用者點擊滑鼠滾輪後,會直接捲入內容內。
public:
void MouseWheelRight();
public void MouseWheelRight();
abstract member MouseWheelRight : unit -> unit
Public Sub MouseWheelRight ()
範例
以下範例展示了如何在程序式程式碼中使用此 MouseWheelRight 方法。
private void spMouseWheelRight(object sender, RoutedEventArgs e)
{
((IScrollInfo)sp1).MouseWheelRight();
}
Private Sub spMouseWheelRight(ByVal sender As Object, ByVal args As RoutedEventArgs)
CType(sp1, IScrollInfo).MouseWheelRight()
End Sub