Intersoft ClientUI Documentation
RemoveCanExecuteHandler Method



The element to remove handler from.
The can execute handler.
Detaches the specified CanExecuteRoutedEventHandler from the specified element.
Syntax
Public Shared Sub RemoveCanExecuteHandler( _
   ByVal element As DependencyObject, _
   ByVal handler As CanExecuteRoutedEventHandler _
) 
Dim element As DependencyObject
Dim handler As CanExecuteRoutedEventHandler
 
CommandManager.RemoveCanExecuteHandler(element, handler)
public static void RemoveCanExecuteHandler( 
   DependencyObject element,
   CanExecuteRoutedEventHandler handler
)
public:
static void RemoveCanExecuteHandler( 
   DependencyObject^ element,
   CanExecuteRoutedEventHandler^ handler
) 

Parameters

element
The element to remove handler from.
handler
The can execute handler.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandManager Class
CommandManager Members

Send Feedback