Piccolo.NET

PInputEventArgs.Button Property

Gets which mouse button was pressed.

public virtual System.Windows.Forms.MouseButtons Button {get;}

Property Value

One of the MouseButtons values.

Exceptions

Exception TypeCondition
InvalidOperationException Thrown if the event is not a mouse event.

See Also

PInputEventArgs Class | UMD.HCIL.Piccolo.Event Namespace