Partilhar via


DiagramMouseEventArgs.Button Property

Gets which mouse button was pressed.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
Public ReadOnly Property Button As MouseButtons
    Get
public MouseButtons Button { get; }
public:
property MouseButtons Button {
    MouseButtons get ();
}
member Button : MouseButtons
function get Button () : MouseButtons

Property Value

Type: System.Windows.Forms.MouseButtons

.NET Framework Security

See Also

Reference

DiagramMouseEventArgs Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace