Bewerken

Delen via


ListControl.OnSelectedValueChanged(EventArgs) Method

Definition

Raises the SelectedValueChanged event.

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

Parameters

e
EventArgs

An EventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

Notes to Inheritors

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

Applies to