RichTextBoxArray.SelectionChanged Event

Definition

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

public:
 event EventHandler ^ SelectionChanged;
public event EventHandler SelectionChanged;
member this.SelectionChanged : EventHandler 
Public Event SelectionChanged As EventHandler 

Remarks

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

For more information about how to handle events, see Handling and Raising Events.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to