Edit

Share via


ListControl.OnSelectedIndexChanged(EventArgs) Method

Definition

Raises the SelectedValueChanged event.

protected:
 virtual void OnSelectedIndexChanged(EventArgs ^ e);
protected virtual void OnSelectedIndexChanged (EventArgs e);
abstract member OnSelectedIndexChanged : EventArgs -> unit
override this.OnSelectedIndexChanged : EventArgs -> unit
Protected Overridable Sub OnSelectedIndexChanged (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Remarks

For more information about handling events, see Handling and Raising Events.

Notes to Inheritors

When overriding OnSelectedIndexChanged(EventArgs) in a derived class, be sure to call the base class's OnSelectedIndexChanged(EventArgs) method so that registered delegates receive the event.

Applies to