ButtonBase.CommandCanExecuteChanged Esemény

Definíció

Megjegyzés

Ezen előzetes verziójú API használatához engedélyeznie kell az előzetes verziójú funkciók használatát a projektben az EnablePreviewFeatures tulajdonságot a True értékre állítva a projektfájlban. További információ: https://aka.ms/dotnet-preview-features.

Akkor fordul elő, ha a CanExecute(Object)ICommand tulajdonsághoz Command rendelt állapot megváltozott.

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

Eseménytípus

Attribútumok

A következőre érvényes: