Share via


IScrollInfo.MouseWheelRight 方法

定義

在使用者按一下滑鼠的滾輪按鈕之後,向右捲動內容。

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

適用於