CanExecuteChangedEventManager.RemoveHandler Method (ICommand, EventHandler<EventArgs>)

.NET Framework (current version)
 

Removes the specified event handler from the specified source.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

static member RemoveHandler : 
        source:ICommand *
        handler:EventHandler<EventArgs> -> unit

Parameters

source
Type: System.Windows.Input.ICommand

The source object that the raises the CanExecuteChanged event.

handler
Type: System.EventHandler<EventArgs>

The delegate that handles the CanExecuteChanged event.

Exception Condition
ArgumentNullException

source is null.

--or--

handler is null.

.NET Framework
Available since 4.5
Return to top
Show: