Share via


KeyEventArgs.Handled Property

Definition

Gets or sets whether the associated key up and key down event has been handled.

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

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

Property Value

Boolean

bool

True, if the event has been handled by the appropriate delegate. False if it has not been handled.

Applies to

See also