Occurs when the global selection changes.
The following declaration shows the syntax for a method that handles the SelectionChanged event.
[Visual Basic] Private Sub IDesignerEventServiceName_SelectionChanged( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) [C#] private void IDesignerEventServiceName_SelectionChanged( object sender, EventArgs e ); [C++] private: void IDesignerEventServiceName_SelectionChanged( Object* sender, EventArgs* e ); [JScript] private IDesignerEventServiceName_SelectionChanged( sender : Object, e : EventArgs );
Property | Description |
---|---|
|
A global selection change may result from the user changing the selection in the currently active document, or from the user switching to a new document.
IDesignerEventService Interface | IDesignerEventService MembersTopic | System.ComponentModel.Design Namespace