Share via


EventBinding Structure

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a binding between an event and an event handler.

Namespace:  Microsoft.Xaml
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Structure EventBinding
'Usage
Dim instance As EventBinding
[SerializableAttribute]
public struct EventBinding
[SerializableAttribute]
public value class EventBinding
JScript supports the use of structures, but not the declaration of new ones.

Remarks

The event is described by the Event property and the event handler is identified by the Handler property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EventBinding Members

Microsoft.Xaml Namespace

Other Resources

WPF Designer Extensibility