Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventSetter.HandledEventsToo Property

 

Gets or sets a value that determines whether the handler assigned to the setter should still be invoked, even if the event is marked handled in its event data.

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

public bool HandledEventsToo { get; set; }

Property Value

Type: System.Boolean

true if the handler should still be invoked; otherwise, false.

System_CAPS_importantImportant

Setting the InvokeHandledEventsToo characteristics of how an event's handlers will be invoked must always be performed in code, in keeping with the general principle that there is no way to specify InvokeHandledEventsToo when assigning defined event handlers for instances directly to named events in XAML attribute syntax. Although setting this value in XAML does not generate any compile-time errors, the resulting XAML will produce a run-time exception when the style is used.

This property should not be used in XAML. See Remarks.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft