Edit

Share via


ToolStripItem.OnCommandChanged(EventArgs) Method

Definition

Note

To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures property to True in your project file. For more information, see https://aka.ms/dotnet-preview-features.

Raises the CommandChanged event.

protected:
 virtual void OnCommandChanged(EventArgs ^ e);
[System.Runtime.Versioning.RequiresPreviewFeatures]
protected virtual void OnCommandChanged (EventArgs e);
protected virtual void OnCommandChanged (EventArgs e);
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
abstract member OnCommandChanged : EventArgs -> unit
override this.OnCommandChanged : EventArgs -> unit
abstract member OnCommandChanged : EventArgs -> unit
override this.OnCommandChanged : EventArgs -> unit
Protected Overridable Sub OnCommandChanged (e As EventArgs)

Parameters

e
EventArgs

An empty EventArgs instance.

Attributes

Applies to