Share via


Switcher.SelectedViewChanged Event

Occurs when the current viewing selection is changed.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Event SelectedViewChanged As EventHandler(Of ViewChangedEventArgs)
'Usage
Dim instance As Switcher
Dim handler As EventHandler(Of ViewChangedEventArgs)

AddHandler instance.SelectedViewChanged, handler
public event EventHandler<ViewChangedEventArgs> SelectedViewChanged
public:
 event EventHandler<ViewChangedEventArgs^>^ SelectedViewChanged {
    void add (EventHandler<ViewChangedEventArgs^>^ value);
    void remove (EventHandler<ViewChangedEventArgs^>^ value);
}
member SelectedViewChanged : IEvent<EventHandler<ViewChangedEventArgs>,
    ViewChangedEventArgs>
JScript supports the use of events, but not the declaration of new ones.