ListControl.OnSelectedIndexChanged(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.