Intersoft ClientUI Documentation
RemoveHandler Method
See Also  Send Feedback
Intersoft.Client.Framework Namespace > DependencyObjectExtensions Class : RemoveHandler Method






element
routedEvent
handler
Remove an event handler from the previously attached routed event.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Shared Sub RemoveHandler( _
   ByVal element As DependencyObject, _
   ByVal routedEvent As RoutedEvent, _
   ByVal handler As Delegate _
) 
Visual Basic (Usage)Copy Code
Dim element As DependencyObject
Dim routedEvent As RoutedEvent
Dim handler As Delegate
 
DependencyObjectExtensions.RemoveHandler(element, routedEvent, handler)
C# 
[ExtensionAttribute()]
public static void RemoveHandler( 
   DependencyObject element,
   RoutedEvent routedEvent,
   Delegate handler
)
Delphi 
public procedure RemoveHandler( 
    element: DependencyObject;
    routedEvent: RoutedEvent;
    handler: Delegate
); static; 
JScript 
ExtensionAttribute()
public static function RemoveHandler( 
   element : DependencyObject,
   routedEvent : RoutedEvent,
   handler : Delegate
);
Managed Extensions for C++ 
[ExtensionAttribute()]
public: static void RemoveHandler( 
   DependencyObject* element,
   RoutedEvent* routedEvent,
   Delegate* handler
) 
C++/CLI 
[ExtensionAttribute()]
public:
static void RemoveHandler( 
   DependencyObject^ element,
   RoutedEvent^ routedEvent,
   Delegate^ handler
) 

Parameters

element
routedEvent
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.