Cimbalino Toolkit
Cimbalino Toolkit
API Reference
Cimbalino.Toolkit.Extensions
ObjectExtensions Class
ObjectExtensions Methods
AddEventHandler Method
GetPropertyValue Method
InvokeMethod Method
RemoveEventHandler Method
SetPropertyValue(TObject) Method
ObjectExtensions
RemoveEventHandler Method
Removes an event handler from an event source.
Namespace:
Cimbalino.Toolkit.Extensions
Assembly:
Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
Copy
public
static
void
RemoveEventHandler
(
this
Object
obj
,
string
target
,
Delegate
handler
)
Parameters
obj
Type:
System
Object
The object.
target
Type:
System
String
The event source.
handler
Type:
System
Delegate
The delegate to be unhooked from the event source.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
Version Information
Windows Phone Silverlight
Supported in: 8.1, 8.0
See Also
Reference
ObjectExtensions Class
Cimbalino.Toolkit.Extensions Namespace