VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfVisualTool Class / GetMouseButton Method
The System.Windows.Input.MouseEventArgs instance containing the event data.



In This Topic
    GetMouseButton Method
    In This Topic
    Returns the mouse button that is pressed or released from System.Windows.Input.MouseEventArgs.
    Syntax
    'Declaration
     
    Protected Function GetMouseButton( _
       ByVal e As MouseEventArgs _
    ) As Nullable(Of MouseButton)
    protected Nullable<MouseButton> GetMouseButton( 
       MouseEventArgs e
    )
    protected: Nullable<MouseButton> GetMouseButton( 
       MouseEventArgs* e
    ) 
    protected:
    Nullable<MouseButton> GetMouseButton( 
       MouseEventArgs^ e
    ) 

    Parameters

    e
    The System.Windows.Input.MouseEventArgs instance containing the event data.

    Return Value

    Button that pressed.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also