System.Windows.Forms.RichTextBox.SelectionChanged Event

Occurs when the selection of text within the control has changed.

Syntax

public event EventHandler SelectionChanged

Remarks

You can create an event handler for this event to determine when the user has changed text selection within the control. An event handler for this event can be used to keep text selected until the user has completed a task within the application.

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: 1.0.5000.0, 2.0.0.0