共用方式為


ITextSelection.SelectionChanged Event

Definition

Occurs when Select or Clear start to be called. The sender of the event will be this ITextSelection.

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

Event Type

Remarks

This event is not raised if the selection shrinks or grows as a result of its associated span expanding or shrinking.

Applies to