CanExecuteChangedEventManager.AddHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified delegate as an event handler of the specified source.
public:
static void AddHandler(System::Windows::Input::ICommand ^ source, EventHandler<EventArgs ^> ^ handler);
public static void AddHandler (System.Windows.Input.ICommand source, EventHandler<EventArgs> handler);
static member AddHandler : System.Windows.Input.ICommand * EventHandler<EventArgs> -> unit
Public Shared Sub AddHandler (source As ICommand, handler As EventHandler(Of EventArgs))
Parameters
- source
- ICommand
The source object that the raises the CanExecuteChanged event.
- handler
- EventHandler<EventArgs>
The delegate that handles the CanExecuteChanged event.
Exceptions
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.