Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.0
Class Library
System.Windows
EventSetter Class
 HandledEventsToo Property
Collapse All/Expand All Collapse All
This page is specific to
.NET Framework 3.0

Other versions are also available for the following:
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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

Visual Basic (Declaration)
Public Property HandledEventsToo As Boolean
Visual Basic (Usage)
Dim instance As EventSetter
Dim value As Boolean

value = instance.HandledEventsToo

instance.HandledEventsToo = value
C#
public bool HandledEventsToo { get; set; }
C++
public:
property bool HandledEventsToo {
    bool get ();
    void set (bool value);
}
J#
/** @property */
public boolean get_HandledEventsToo ()

/** @property */
public void set_HandledEventsToo (boolean value)
JScript
public function get HandledEventsToo () : boolean

public function set HandledEventsToo (value : boolean)
XAML
 <p>This property should not be used in XAML. See Remarks.</p> 

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker