Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LostFocusEventManager.RemoveHandler Method

.NET Framework 4.6 and 4.5

Removes the specified event handler from the specified source.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void RemoveHandler(
	DependencyObject source,
	EventHandler<RoutedEventArgs> handler
)

Parameters

source
Type: System.Windows.DependencyObject

The source object that the raises the UIElement.LostFocus or ContentElement.LostFocus event.

handler
Type: System.EventHandler<RoutedEventArgs>

The delegate that handles the UIElement.LostFocus or ContentElement.LostFocus event.

ExceptionCondition
ArgumentNullException

handler is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft