Επεξεργασία

Κοινή χρήση μέσω


ToolStripItem.CommandChanged Event

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.

Occurs when the assigned ICommand of the Command property has changed.

public:
 virtual event EventHandler ^ CommandChanged;
[System.Runtime.Versioning.RequiresPreviewFeatures]
public event EventHandler CommandChanged;
public event EventHandler? CommandChanged;
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
member this.CommandChanged : EventHandler 
member this.CommandChanged : EventHandler 
Public Custom Event CommandChanged As EventHandler 

Event Type

Attributes

Applies to