Intersoft ClientUI Documentation
RemovePreviewCanExecuteHandler Method



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

Parameters

element
The element to remove handler from.
handler
The preview 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