ToolStripItem.OnSelectedChanged(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 SelectedChanged event.
protected:
virtual void OnSelectedChanged(EventArgs ^ e);
protected virtual void OnSelectedChanged (EventArgs e);
abstract member OnSelectedChanged : EventArgs -> unit
override this.OnSelectedChanged : EventArgs -> unit
Protected Overridable Sub OnSelectedChanged (e As EventArgs)
Parameters
Remarks
This method will be called when the selected ToolStripItem changes.
Call base.OnSelectedChanged
to send this event to any registered event listeners.
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.