Share via


EventBindingService.RemoveHandlesForName Method

Removes the event handlers for the specified element.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Overridable Function RemoveHandlesForName ( _
    elementName As String _
) As Boolean
public virtual bool RemoveHandlesForName(
    string elementName
)
public:
virtual bool RemoveHandlesForName(
    String^ elementName
)
abstract RemoveHandlesForName : 
        elementName:string -> bool 
override RemoveHandlesForName : 
        elementName:string -> bool 
public function RemoveHandlesForName(
    elementName : String
) : boolean

Parameters

  • elementName
    Type: System.String
    The element to remove event handlers from.

Return Value

Type: System.Boolean
true if event handlers were removed; otherwise, false.

.NET Framework Security

See Also

Reference

EventBindingService Class

Microsoft.Windows.Design.Services Namespace

Other Resources

WPF Designer Extensibility Architecture