System.Windows.Forms.TextBoxBase.MouseClick Event

Occurs when the control is clicked by the mouse.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
[System.ComponentModel.Browsable(true)]
public event MouseEventHandler MouseClick

Remarks

The System.Windows.Forms.RichTextBox control does not raise a TextBoxBase.Click event for right clicks. The TextBoxBase.MouseClick event provides the functional equivalent.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0