EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

ICommand.CanExecuteChanged event

Applies to Windows and Windows Phone

Occurs when changes occur that affect whether the command should execute.

Syntax


event EventHandler<object>^ CanExecuteChanged {
   Windows::Foundation::EventRegistrationToken add(EventHandler<object>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

Delegate EventHandler<Object>

Remarks

When building Windows Store apps with the Microsoft .NET Framework, this interface is hidden and developers should use the System.Windows.Input.ICommand interface.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows::UI::Xaml::Input

Metadata

Windows.winmd

See also

ICommand

 

 

Mostrar:
© 2014 Microsoft