Jaa


KeyRoutedEventArgs.Handled Property

Definition

Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again.

public:
 property bool Handled { bool get(); void set(bool value); };
bool Handled();

void Handled(bool value);
public bool Handled { get; set; }
var boolean = keyRoutedEventArgs.handled;
keyRoutedEventArgs.handled = boolean;
Public Property Handled As Boolean

Property Value

Boolean

bool

true to mark the routed event handled; false to leave the routed event unhandled, which permits the event to potentially route further. The default is false.

Applies to

See also