Redigeeri

Jagamisviis:


EventSetter.HandledEventsToo Property

Definition

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.

public:
 property bool HandledEventsToo { bool get(); void set(bool value); };
public bool HandledEventsToo { get; set; }
member this.HandledEventsToo : bool with get, set
Public Property HandledEventsToo As Boolean

Property Value

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

Remarks

Important

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.

XAML Text Usage

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

Applies to

See also