DiagramMouseEventArgs.Button Property
Gets which mouse button was pressed.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public ReadOnly Property Button As MouseButtons
public MouseButtons Button { get; }
public:
property MouseButtons Button {
MouseButtons get ();
}
member Button : MouseButtons with get
function get Button () : MouseButtons
Property Value
Type: System.Windows.Forms.MouseButtons
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.