Bewerken

Delen via


ToolStripItem.OnSelectedChanged(EventArgs) Method

Definition

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