Intersoft ClientUI Documentation
RemovePreviewCanExecuteHandler Method
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > CommandManager Class : RemovePreviewCanExecuteHandler Method






element
The element to remove handler from.
handler
The preview can execute handler.
Detaches the specified CanExecuteRoutedEventHandler from the specified element.

Syntax

Visual Basic (Declaration) 
Public Shared Sub RemovePreviewCanExecuteHandler( _
   ByVal element As DependencyObject, _
   ByVal handler As CanExecuteRoutedEventHandler _
) 
Visual Basic (Usage)Copy Code
Dim element As DependencyObject
Dim handler As CanExecuteRoutedEventHandler
 
CommandManager.RemovePreviewCanExecuteHandler(element, handler)
C# 
public static void RemovePreviewCanExecuteHandler( 
   DependencyObject element,
   CanExecuteRoutedEventHandler handler
)
Delphi 
public procedure RemovePreviewCanExecuteHandler( 
    element: DependencyObject;
    handler: CanExecuteRoutedEventHandler
); static; 
JScript 
public static function RemovePreviewCanExecuteHandler( 
   element : DependencyObject,
   handler : CanExecuteRoutedEventHandler
);
Managed Extensions for C++ 
public: static void RemovePreviewCanExecuteHandler( 
   DependencyObject* element,
   CanExecuteRoutedEventHandler* handler
) 
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.