SelectedIndexChanged Event

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Raised when the SelectedIndex is changed.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public event EventHandler SelectedIndexChanged
Visual Basic (Declaration)
Public Event SelectedIndexChanged As EventHandler
Visual C++
public:
virtual  event EventHandler^ SelectedIndexChanged {
	void add (EventHandler^ value);
	void remove (EventHandler^ value);
}

Remarks

Initializing the SelectedIndexChanged event with an empty delegate allows us to skip the "if (SelectedIndexChanged != null) { /* fire the event */ }" test.

See Also