GettingFocusEventArgs.Handled Property


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.

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

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

Property Value



true to mark the routed event handled. false to leave the routed event unhandled, which permits the event to potentially route further and be acted on by other handlers. The default is false.

Applies to

See also