CanExecuteChangedEventManager.RemoveHandler 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.
Removes the specified event handler from the specified source.
public:
static void RemoveHandler(System::Windows::Input::ICommand ^ source, EventHandler<EventArgs ^> ^ handler);
public static void RemoveHandler (System.Windows.Input.ICommand source, EventHandler<EventArgs> handler);
static member RemoveHandler : System.Windows.Input.ICommand * EventHandler<EventArgs> -> unit
Public Shared Sub RemoveHandler (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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.