Прочетете на английски Редактиране

Споделяне чрез


ButtonBase.OnCommandCanExecuteChanged(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 CommandCanExecuteChanged event.

C#
protected virtual void OnCommandCanExecuteChanged(EventArgs e);
C#
[System.Runtime.Versioning.RequiresPreviewFeatures]
protected virtual void OnCommandCanExecuteChanged(EventArgs e);

Parameters

e
EventArgs

An empty EventArgs instance.

Attributes

Applies to

Продукт Версии
Windows Desktop 7, 8, 9, 10