Partilhar via


Handled

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that indicates whether a routed event has been handled, which can be used to prevent the event from being routed to additional objects along the event route.

value = eventargs.Handled
eventargs.Handled = value

Property Value

Type: Boolean

true to mark the event as handled; false to leave the event unhandled, which lets the event be routed to the next object.

This property is read/write. The default is false.