EventSetter.HandledEventsToo Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應